diff options
author | marcus <marcus@FreeBSD.org> | 2008-02-22 09:07:39 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2008-02-22 09:07:39 +0800 |
commit | c1a1c3f22035f148db2b04deb0f8e3b5282b10f5 (patch) | |
tree | b06403d67b3f12b8df7cc055daa3018cd0ccc63b /x11-toolkits/gtk30 | |
parent | c0178157a5e54f1878b69c94f2e9123fe9a5b523 (diff) | |
download | freebsd-ports-gnome-c1a1c3f22035f148db2b04deb0f8e3b5282b10f5.tar.gz freebsd-ports-gnome-c1a1c3f22035f148db2b04deb0f8e3b5282b10f5.tar.zst freebsd-ports-gnome-c1a1c3f22035f148db2b04deb0f8e3b5282b10f5.zip |
Run gtk-query-immodules-2.0 and gdk-pixbuf-query-loaders upon package
installation to make sure the loaders and immodules files are consistent
with what is installed on the system. This will typically only be an issue
for custom-built packages.
Requested by: Hiroto Kagotani <hiroto.kagotani@gmail.com>
Diffstat (limited to 'x11-toolkits/gtk30')
-rw-r--r-- | x11-toolkits/gtk30/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/gtk30/pkg-plist | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index bcec8b63415f..fef4c4fa0814 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -8,7 +8,7 @@ PORTNAME= gtk PORTVERSION= 2.12.8 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \ diff --git a/x11-toolkits/gtk30/pkg-plist b/x11-toolkits/gtk30/pkg-plist index ad3118946c30..953d7c0cbe61 100644 --- a/x11-toolkits/gtk30/pkg-plist +++ b/x11-toolkits/gtk30/pkg-plist @@ -685,3 +685,5 @@ share/themes/Raleigh/gtk-2.0/gtkrc @dirrmtry share/locale/as @dirrmtry share/locale/ang/LC_MESSAGES @dirrmtry share/locale/ang +@exec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true +@exec %D/bin/gtk-query-immodules-2.0 > /dev/null 2>&1 && %D/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules 2>/dev/null || /usr/bin/true |