From 9e54fe21c88187bc2c92a7b612994085f5be2f52 Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Fri, 10 Dec 2004 21:46:14 +0000 Subject: [PATCH] -Fix the pkg-plist. [1] -Enable and correct the mimetype stuff for GNOME 2.8. Reported by: pointyhat [1] --- graphics/gimp-app-devel/Makefile | 6 +++++- graphics/gimp-app-devel/pkg-plist | 8 +++++--- graphics/gimp-devel/Makefile | 6 +++++- graphics/gimp-devel/pkg-plist | 8 +++++--- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/graphics/gimp-app-devel/Makefile b/graphics/gimp-app-devel/Makefile index 79e5af05ddde..f6917d4b1bae 100644 --- a/graphics/gimp-app-devel/Makefile +++ b/graphics/gimp-app-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= gimp DISTVERSION= 2.2-pre2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics gnome MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \ @@ -83,7 +84,7 @@ CONFIGURE_ARGS+= --enable-mp .include .if ${HAVE_GNOME:Mgnomepanel}!="" -USE_GNOME+= gnomepanel +USE_GNOME+= gnomepanel desktopfileutils CONFIGURE_ARGS+= --with-desktop-dir=${X11BASE}/share/gnome PKGNAMESUFFIX= -gnome PLIST_SUB+= GNOMEPANEL:="" @@ -109,4 +110,7 @@ pre-everything:: @${ECHO_MSG} " WITH_MP=yes Turns on multiple-processor support" @${ECHO_MSG} "" +post-install: + @${X11BASE}/bin/update-desktop-database + .include diff --git a/graphics/gimp-app-devel/pkg-plist b/graphics/gimp-app-devel/pkg-plist index ea81518c0eb9..ce561d242071 100644 --- a/graphics/gimp-app-devel/pkg-plist +++ b/graphics/gimp-app-devel/pkg-plist @@ -1168,11 +1168,12 @@ share/gimp/menus/tool-options-menu.xml share/gimp/menus/toolbox-menu.xml share/gimp/menus/tools-menu.xml share/gimp/menus/vectors-menu.xml -%%GNOMEPANEL:%%share/gimp/misc/gimp.applications -%%GNOMEPANEL:%%share/gimp/misc/gimp.desktop -%%GNOMEPANEL:%%share/gimp/misc/gimp.keys +share/gimp/misc/gimp.applications +share/gimp/misc/gimp.desktop +share/gimp/misc/gimp.keys %%GNOMEPANEL:%%share/gnome/application-registry/gimp-2.2.applications %%GNOMEPANEL:%%share/gnome/applications/gimp-2.2.desktop +%%GNOMEPANEL:%%@exec update-desktop-database > /dev/null || /usr/bin/true %%GNOMEPANEL:%%share/gnome/mime-info/gimp-2.2.keys %%GNOMEPANEL:%%share/gnome/pixmaps/gnome-gimp.png share/gimp/palettes/Bears.gpl @@ -1894,3 +1895,4 @@ share/locale/zh_TW/LC_MESSAGES/gimp20.mo @dirrm include/gimp-2.0 @dirrm etc/gimp/2.2 @dirrm etc/gimp +%%GNOMEPANEL:%%@unexec update-desktop-database > /dev/null || /usr/bin/true diff --git a/graphics/gimp-devel/Makefile b/graphics/gimp-devel/Makefile index 79e5af05ddde..f6917d4b1bae 100644 --- a/graphics/gimp-devel/Makefile +++ b/graphics/gimp-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= gimp DISTVERSION= 2.2-pre2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics gnome MASTER_SITES= ftp://ftp.gimp.org/pub/%SUBDIR%/ \ @@ -83,7 +84,7 @@ CONFIGURE_ARGS+= --enable-mp .include .if ${HAVE_GNOME:Mgnomepanel}!="" -USE_GNOME+= gnomepanel +USE_GNOME+= gnomepanel desktopfileutils CONFIGURE_ARGS+= --with-desktop-dir=${X11BASE}/share/gnome PKGNAMESUFFIX= -gnome PLIST_SUB+= GNOMEPANEL:="" @@ -109,4 +110,7 @@ pre-everything:: @${ECHO_MSG} " WITH_MP=yes Turns on multiple-processor support" @${ECHO_MSG} "" +post-install: + @${X11BASE}/bin/update-desktop-database + .include diff --git a/graphics/gimp-devel/pkg-plist b/graphics/gimp-devel/pkg-plist index ea81518c0eb9..ce561d242071 100644 --- a/graphics/gimp-devel/pkg-plist +++ b/graphics/gimp-devel/pkg-plist @@ -1168,11 +1168,12 @@ share/gimp/menus/tool-options-menu.xml share/gimp/menus/toolbox-menu.xml share/gimp/menus/tools-menu.xml share/gimp/menus/vectors-menu.xml -%%GNOMEPANEL:%%share/gimp/misc/gimp.applications -%%GNOMEPANEL:%%share/gimp/misc/gimp.desktop -%%GNOMEPANEL:%%share/gimp/misc/gimp.keys +share/gimp/misc/gimp.applications +share/gimp/misc/gimp.desktop +share/gimp/misc/gimp.keys %%GNOMEPANEL:%%share/gnome/application-registry/gimp-2.2.applications %%GNOMEPANEL:%%share/gnome/applications/gimp-2.2.desktop +%%GNOMEPANEL:%%@exec update-desktop-database > /dev/null || /usr/bin/true %%GNOMEPANEL:%%share/gnome/mime-info/gimp-2.2.keys %%GNOMEPANEL:%%share/gnome/pixmaps/gnome-gimp.png share/gimp/palettes/Bears.gpl @@ -1894,3 +1895,4 @@ share/locale/zh_TW/LC_MESSAGES/gimp20.mo @dirrm include/gimp-2.0 @dirrm etc/gimp/2.2 @dirrm etc/gimp +%%GNOMEPANEL:%%@unexec update-desktop-database > /dev/null || /usr/bin/true