pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/suse91_gtk2 the gtk/pango stuff doesn't appe...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f886a39446b
branches: trunk
changeset: 487937:4f886a39446b
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Sat Jan 22 10:46:20 2005 +0000
description:
the gtk/pango stuff doesn't appear to be necessary and causes unclean
package deinstall
diffstat:
emulators/suse91_gtk2/DEINSTALL | 24 ------------
emulators/suse91_gtk2/INSTALL | 23 -----------
emulators/suse91_gtk2/Makefile | 7 +---
emulators/suse91_gtk2/POSTINSTALL | 77 ---------------------------------------
4 files changed, 1 insertions(+), 130 deletions(-)
diffs (156 lines):
diff -r 786160acbe73 -r 4f886a39446b emulators/suse91_gtk2/DEINSTALL
--- a/emulators/suse91_gtk2/DEINSTALL Sat Jan 22 10:23:22 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 786160acbe73 -r 4f886a39446b emulators/suse91_gtk2/INSTALL
--- a/emulators/suse91_gtk2/INSTALL Sat Jan 22 10:23:22 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 786160acbe73 -r 4f886a39446b emulators/suse91_gtk2/Makefile
--- a/emulators/suse91_gtk2/Makefile Sat Jan 22 10:23:22 2005 +0000
+++ b/emulators/suse91_gtk2/Makefile Sat Jan 22 10:46:20 2005 +0000
@@ -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 @@
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 -r 786160acbe73 -r 4f886a39446b emulators/suse91_gtk2/POSTINSTALL
--- a/emulators/suse91_gtk2/POSTINSTALL Sat Jan 22 10:23:22 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-#! /bin/sh
-# Copyright (c) 2002 SuSE Gmbh Nuernberg, Germany. All rights reserved.
-#
-# Author: Holger Hetterich <hhetter%suse.de@localhost>, 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@localhost>, 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
Home |
Main Index |
Thread Index |
Old Index