pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/suse91_gtk2 put back INSTALL (in slighly sim...
details: https://anonhg.NetBSD.org/pkgsrc/rev/feac3cfab803
branches: trunk
changeset: 487942:feac3cfab803
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Sat Jan 22 12:35:26 2005 +0000
description:
put back INSTALL (in slighly simplified form) - it _is_ necessary
to setup the etc files for gtk & pango; add the files into PLIST, so that
they are properly removed when package is deinstalled
diffstat:
emulators/suse91_gtk2/INSTALL | 15 +++++++++++++++
emulators/suse91_gtk2/Makefile | 7 ++++++-
emulators/suse91_gtk2/PLIST | 4 ++++
3 files changed, 25 insertions(+), 1 deletions(-)
diffs (47 lines):
diff -r 080f7a802b5f -r feac3cfab803 emulators/suse91_gtk2/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/suse91_gtk2/INSTALL Sat Jan 22 12:35:26 2005 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: INSTALL,v 1.3 2005/01/22 12:35:26 jdolecek Exp $
+#
+# Initialize gtk/pango module configuration.
+#
+case ${STAGE} in
+ POST-INSTALL)
+ @EMULDIR@/opt/gnome/bin/gtk-query-immodules-2.0 > @EMULDIR@/etc/opt/gnome/gtk-2.0/gtk.immodules
+
+ @EMULDIR@/opt/gnome/bin/gdk-pixbuf-query-loaders > @EMULDIR@/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders
+
+ @EMULDIR@/opt/gnome/bin/pango-querymodules > @EMULDIR@/etc/opt/gnome/pango/pango.modules
+ ;;
+ *)
+ ;;
+esac
diff -r 080f7a802b5f -r feac3cfab803 emulators/suse91_gtk2/Makefile
--- a/emulators/suse91_gtk2/Makefile Sat Jan 22 11:37:19 2005 +0000
+++ b/emulators/suse91_gtk2/Makefile Sat Jan 22 12:35:26 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/01/22 10:53:49 jdolecek Exp $
+# $NetBSD: Makefile,v 1.7 2005/01/22 12:35:26 jdolecek Exp $
DISTNAME= suse_gtk2-${SUSE_VERSION}
PKGREVISION= 3
@@ -30,5 +30,10 @@
gtk2-2.2.4-125.4.${SUSE_ARCH}.rpm \
pango-1.2.5-170.${SUSE_ARCH}.rpm
+# Initialize gtk/pango modules.
+FILES_SUBST+= EMULDIR=${EMULDIR}
+PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR}
+INSTALL_EXTRA_TMPL+= ${PKGDIR}/INSTALL
+
.include "../../emulators/suse91_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff -r 080f7a802b5f -r feac3cfab803 emulators/suse91_gtk2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/suse91_gtk2/PLIST Sat Jan 22 12:35:26 2005 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2005/01/22 12:35:26 jdolecek Exp $
+${EMULSUBDIR}/etc/opt/gnome/gtk-2.0/gtk.immodules
+${EMULSUBDIR}/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders
+${EMULSUBDIR}/etc/opt/gnome/pango/pango.modules
Home |
Main Index |
Thread Index |
Old Index