summaryrefslogtreecommitdiff
path: root/x11/gtk2/files
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-06-20 20:12:20 +0000
committerjmmv <jmmv@pkgsrc.org>2004-06-20 20:12:20 +0000
commit8ceaed1f17afd13534d23880173eb059cebc4e2e (patch)
treee5dd8aaa41c4554f66ca58e619d104845d862a81 /x11/gtk2/files
parente4babd21bd4b2a4e677f590a9d87f27eb1e68072 (diff)
downloadpkgsrc-8ceaed1f17afd13534d23880173eb059cebc4e2e.tar.gz
Update to 2.4.3. While here, rework the way the libdata/ files are handled
by creating/deleting them from the (de)install scripts (and not registered in the PLIST). This allows pkg_tarup to work properly and also avoids some warnings during 'make replace'. Changes since 2.4.2: * GtkButton - Give extra space to children of !CAN_FOCUS buttons [Matthias Clasen] * GtkFileChooser - Make DND work when the dialog is modal [Federico Mena Quintero] * GtkToolbar - Don't show empty overflow menu [Soeren Sandmann] - Don't show initial separator in overflow menu [Soeren] - Handle dynamic changes to overflow menu [Soeren] * Documentation improvements [Bastien Nocera, Matthias] * Other bug fixes [Matthias, Soeren, Sven Neumann] * Updated translations (hu,ne)
Diffstat (limited to 'x11/gtk2/files')
-rw-r--r--x11/gtk2/files/immodules.tmpl11
-rw-r--r--x11/gtk2/files/loaders.tmpl11
2 files changed, 18 insertions, 4 deletions
diff --git a/x11/gtk2/files/immodules.tmpl b/x11/gtk2/files/immodules.tmpl
index 9b0781c81ce..e31f9d0f107 100644
--- a/x11/gtk2/files/immodules.tmpl
+++ b/x11/gtk2/files/immodules.tmpl
@@ -1,4 +1,4 @@
-# $NetBSD: immodules.tmpl,v 1.1 2004/01/22 12:38:47 jmmv Exp $
+# $NetBSD: immodules.tmpl,v 1.2 2004/06/20 20:12:20 jmmv Exp $
#
# Rebuild the GTK2 immodules database.
#
@@ -7,9 +7,16 @@ GTK_IMMODULES_DB="@GTK_IMMODULES_DB@"
GTK_QUERY_IMMODULES="@GTK_QUERY_IMMODULES@"
case ${STAGE} in
-POST-INSTALL|POST-DEINSTALL)
+POST-INSTALL)
${GTK_QUERY_IMMODULES} > ${GTK_IMMODULES_DB}
;;
+DEINSTALL)
+ [ "${PKGBASE}" = "gtk2+" ] && ${RM} -f ${GTK_IMMODULES_DB}
+ ;;
+POST-DEINSTALL)
+ [ "${PKGBASE}" != "gtk2+" ] && \
+ ${GTK_QUERY_IMMODULES} > ${GTK_IMMODULES_DB}
+ ;;
*)
;;
esac
diff --git a/x11/gtk2/files/loaders.tmpl b/x11/gtk2/files/loaders.tmpl
index 51e93ba1570..e82e8a86eb8 100644
--- a/x11/gtk2/files/loaders.tmpl
+++ b/x11/gtk2/files/loaders.tmpl
@@ -1,4 +1,4 @@
-# $NetBSD: loaders.tmpl,v 1.1 2004/01/22 12:38:47 jmmv Exp $
+# $NetBSD: loaders.tmpl,v 1.2 2004/06/20 20:12:20 jmmv Exp $
#
# Rebuild the GTK2 gdk-pixbuf database.
#
@@ -7,9 +7,16 @@ GDK_PIXBUF_LOADERS_DB="@GDK_PIXBUF_LOADERS_DB@"
GDK_PIXBUF_QUERY_LOADERS="@GDK_PIXBUF_QUERY_LOADERS@"
case ${STAGE} in
-POST-INSTALL|POST-DEINSTALL)
+POST-INSTALL)
${GDK_PIXBUF_QUERY_LOADERS} > ${GDK_PIXBUF_LOADERS_DB}
;;
+DEINSTALL)
+ [ "${PKGBASE}" = "gtk2+" ] && ${RM} -f ${GDK_PIXBUF_LOADERS_DB}
+ ;;
+POST-DEINSTALL)
+ [ "${PKGBASE}" != "gtk2+" ] && \
+ ${GDK_PIXBUF_QUERY_LOADERS} > ${GDK_PIXBUF_LOADERS_DB}
+ ;;
*)
;;
esac