diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2005-01-22 10:46:20 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2005-01-22 10:46:20 +0000 |
commit | 8016984095608a2fdfaf2d779f8a8bca6b14b54b (patch) | |
tree | 87cf033d4381027160c44063cc6fb5cd09c1d58c /emulators | |
parent | 7157913d146db1648052cdb30fd0b269738371bd (diff) | |
download | pkgsrc-8016984095608a2fdfaf2d779f8a8bca6b14b54b.tar.gz |
the gtk/pango stuff doesn't appear to be necessary and causes unclean
package deinstall
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/suse91_gtk2/DEINSTALL | 24 | ||||
-rw-r--r-- | emulators/suse91_gtk2/INSTALL | 23 | ||||
-rw-r--r-- | emulators/suse91_gtk2/Makefile | 7 | ||||
-rwxr-xr-x | emulators/suse91_gtk2/POSTINSTALL | 77 |
4 files changed, 1 insertions, 130 deletions
diff --git a/emulators/suse91_gtk2/DEINSTALL b/emulators/suse91_gtk2/DEINSTALL deleted file mode 100644 index 874b63b2b8f..00000000000 --- a/emulators/suse91_gtk2/DEINSTALL +++ /dev/null @@ -1,24 +0,0 @@ -# $NetBSD: DEINSTALL,v 1.1.1.1 2004/09/02 20:34:08 recht Exp $ -# -# Remove gtk/pango module configuration. -# - -case ${STAGE} in - POST-DEINSTALL) - if [ -f @EMULDIR@/etc/opt/gnome/gtk-2.0/gtk.immodules ] ; then - ${RM} -f @EMULDIR@/etc/opt/gnome/gtk-2.0/gtk.immodules - fi - - if [ -f @EMULDIR@/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders ] ; then - ${RM} -f @EMULDIR@/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders - fi - - if [ -f @EMULDIR@/etc/opt/gnome/pango/pango.modules ] ; then - ${RM} -f @EMULDIR@/etc/opt/gnome/pango/pango.modules - fi - - test -d @EMULDIR@/etc/opt/gnome/gtk-2.0 && ${RMDIR} @EMULDIR@/etc/opt/gnome/gtk-2.0 - ;; - *) - ;; -esac diff --git a/emulators/suse91_gtk2/INSTALL b/emulators/suse91_gtk2/INSTALL deleted file mode 100644 index 3beb5549d16..00000000000 --- a/emulators/suse91_gtk2/INSTALL +++ /dev/null @@ -1,23 +0,0 @@ -# $NetBSD: INSTALL,v 1.1.1.1 2004/09/02 20:34:08 recht Exp $ -# -# Initialize gtk/pango module configuration. -# -case ${STAGE} in - POST-INSTALL) - test -d @EMULDIR@/etc/opt/gnome/gtk-2.0 || ${MKDIR} @EMULDIR@/etc/opt/gnome/gtk-2.0 - - if [ -x @EMULDIR@/opt/gnome/bin/gtk-query-immodules-2.0 ] ; then - @EMULDIR@/opt/gnome/bin/gtk-query-immodules-2.0 > @EMULDIR@/etc/opt/gnome/gtk-2.0/gtk.immodules - fi - - if [ -x @EMULDIR@/opt/gnome/bin/gdk-pixbuf-query-loaders ] ; then - @EMULDIR@/opt/gnome/bin/gdk-pixbuf-query-loaders > @EMULDIR@/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders - fi - - if [ -x @EMULDIR@/opt/gnome/bin/pango-querymodules ] ; then - @EMULDIR@/opt/gnome/bin/pango-querymodules > @EMULDIR@/etc/opt/gnome/pango/pango.modules - fi - ;; - *) - ;; -esac diff --git a/emulators/suse91_gtk2/Makefile b/emulators/suse91_gtk2/Makefile index 47803cb12cc..caf363f14a0 100644 --- a/emulators/suse91_gtk2/Makefile +++ b/emulators/suse91_gtk2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2004/12/18 13:59:00 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2005/01/22 10:46:20 jdolecek Exp $ DISTNAME= suse_gtk2-${SUSE_VERSION} PKGREVISION= 2 @@ -30,10 +30,5 @@ RPMFILES= atk-1.4.1-124.${SUSE_ARCH}.rpm \ gtk2-2.2.4-121.${SUSE_ARCH}.rpm \ pango-1.2.5-170.${SUSE_ARCH}.rpm -# Initialize gtk/pango modules. -FILES_SUBST+= EMULDIR=${EMULDIR} -INSTALL_EXTRA_TMPL+= ${PKGDIR}/INSTALL -DEINSTALL_EXTRA_TMPL+= ${PKGDIR}/DEINSTALL - .include "../../emulators/suse91_linux/Makefile.common" .include "../../mk/bsd.pkg.mk" diff --git a/emulators/suse91_gtk2/POSTINSTALL b/emulators/suse91_gtk2/POSTINSTALL deleted file mode 100755 index f12afc8cdb2..00000000000 --- a/emulators/suse91_gtk2/POSTINSTALL +++ /dev/null @@ -1,77 +0,0 @@ -#! /bin/sh -# Copyright (c) 2002 SuSE Gmbh Nuernberg, Germany. All rights reserved. -# -# Author: Holger Hetterich <hhetter@suse.de>, 2002 -# -# SuSEconfig.gtk: this script will generate a /etc/opt/gnome/gtk-2.0/gtk.immodules file -# based on the gtk-2.0 modules installed on the system -# -# -# check if we are started as root -# only one of UID and USER must be set correctly - -if test "$UID" != 0 -a "$USER" != root; then - echo "You must be root to start $0." - exit 1 -fi - -test -n "$ROOT" && exit 0 - -# do we need to run at all? only on RPM Update or new installation -test ! -f /var/adm/SuSEconfig/run-gtk && exit 0 - -test -d /etc/opt/gnome/gtk-2.0 || mkdir /etc/opt/gnome/gtk-2.0 - -if [ -x $r/opt/gnome/bin/gtk-query-immodules-2.0 ] ; then - /opt/gnome/bin/gtk-query-immodules-2.0 > /etc/opt/gnome/gtk-2.0/gtk.immodules -fi - -if [ -x $r/opt/gnome/bin/gdk-pixbuf-query-loaders ] ; then - /opt/gnome/bin/gdk-pixbuf-query-loaders > /etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders -fi - -if [ -x $r/opt/gnome/bin/gtk-query-immodules-2.0-64 ] ; then - /opt/gnome/bin/gtk-query-immodules-2.0-64 > /etc/opt/gnome/gtk-2.0/gtk64.immodules -fi - -if [ -x $r/opt/gnome/bin/gdk-pixbuf-query-loaders-64 ] ; then - /opt/gnome/bin/gdk-pixbuf-query-loaders-64 > /etc/opt/gnome/gtk-2.0/gdk-pixbuf64.loaders -fi - -rm /var/adm/SuSEconfig/run-gtk - -exit 0 -#! /bin/sh -# Copyright (c) 2002 SuSE Gmbh Nuernberg, Germany. All rights reserved. -# -# Author: Holger Hetterich <hhetter@suse.de>, 2002 -# -# SuSEconfig.pango: this script will generate a /etc/pango/pango.modules file -# based on the pango modules installed on the system -# -# -# check if we are started as root -# only one of UID and USER must be set correctly - -if test "$UID" != 0 -a "$USER" != root; then - echo "You must be root to start $0." - exit 1 -fi - -test -n "$ROOT" && exit 0 - -# do we need to run at all? only on RPM Update or new installation -test ! -f /var/adm/SuSEconfig/run-pango && exit 0 - -if [ -x $r/opt/gnome/bin/pango-querymodules ] ; then - /opt/gnome/bin/pango-querymodules \ - > /etc/opt/gnome/pango/pango.modules -fi - -if [ -x $r/opt/gnome/bin/pango-querymodules-64 ] ; then - /opt/gnome/bin/pango-querymodules-64 \ - > /etc/opt/gnome/pango/pango64.modules -fi - -rm /var/adm/SuSEconfig/run-pango -exit 0 |