pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/suse91_gtk2 initial import of suse91_gtk2
details: https://anonhg.NetBSD.org/pkgsrc/rev/7a041b82dadb
branches: trunk
changeset: 480251:7a041b82dadb
user: recht <recht%pkgsrc.org@localhost>
date: Thu Sep 02 20:34:08 2004 +0000
description:
initial import of suse91_gtk2
Linux compatibility package based on the SuSE Linux distribution, take a
look at "http://www.suse.com/" for more information about it.
This package supports running ELF binaries linked with glibc2 which require
GTK2 shared libraries.
diffstat:
emulators/suse91_gtk2/DEINSTALL | 24 ++++++++++++
emulators/suse91_gtk2/DESCR | 5 ++
emulators/suse91_gtk2/INSTALL | 23 +++++++++++
emulators/suse91_gtk2/Makefile | 36 ++++++++++++++++++
emulators/suse91_gtk2/POSTINSTALL | 77 +++++++++++++++++++++++++++++++++++++++
emulators/suse91_gtk2/distinfo | 10 +++++
6 files changed, 175 insertions(+), 0 deletions(-)
diffs (199 lines):
diff -r 398914bb2774 -r 7a041b82dadb emulators/suse91_gtk2/DEINSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/suse91_gtk2/DEINSTALL Thu Sep 02 20:34:08 2004 +0000
@@ -0,0 +1,24 @@
+# $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 398914bb2774 -r 7a041b82dadb emulators/suse91_gtk2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/suse91_gtk2/DESCR Thu Sep 02 20:34:08 2004 +0000
@@ -0,0 +1,5 @@
+Linux compatibility package based on the SuSE Linux distribution, take a
+look at "http://www.suse.com/" for more information about it.
+
+This package supports running ELF binaries linked with glibc2 which require
+GTK2 shared libraries.
diff -r 398914bb2774 -r 7a041b82dadb emulators/suse91_gtk2/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/suse91_gtk2/INSTALL Thu Sep 02 20:34:08 2004 +0000
@@ -0,0 +1,23 @@
+# $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 398914bb2774 -r 7a041b82dadb emulators/suse91_gtk2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/suse91_gtk2/Makefile Thu Sep 02 20:34:08 2004 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/09/02 20:34:08 recht Exp $
+
+DISTNAME= suse_gtk2-${SUSE_VERSION}
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SUSE91}
+DISTFILES= ${RPMFILES}
+
+MAINTAINER= tech-pkg%NetBSD.org@localhost
+HOMEPAGE= http://www.suse.com/
+COMMENT= Linux compatibility package for GTK2 binaries
+
+DEPENDS+= suse_fontconfig>=${SUSE_VERSION}:../../emulators/suse91_fontconfig
+DEPENDS+= suse_freetype2>=${SUSE_VERSION}:../../emulators/suse91_freetype2
+DEPENDS+= suse_libtiff>=${SUSE_VERSION}:../../emulators/suse91_libtiff
+DEPENDS+= suse_x11>=${SUSE_VERSION}:../../emulators/suse91_x11
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386
+
+EXTRACT_ONLY= # empty
+USE_PKGINSTALL= YES
+NO_BUILD= YES
+NO_BUILDLINK= YES
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+
+RPMFILES= atk-1.4.1-124.${SUSE_ARCH}.rpm \
+ glib2-2.2.3-117.${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 -r 398914bb2774 -r 7a041b82dadb emulators/suse91_gtk2/POSTINSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/suse91_gtk2/POSTINSTALL Thu Sep 02 20:34:08 2004 +0000
@@ -0,0 +1,77 @@
+#! /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
diff -r 398914bb2774 -r 7a041b82dadb emulators/suse91_gtk2/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/suse91_gtk2/distinfo Thu Sep 02 20:34:08 2004 +0000
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/09/02 20:34:08 recht Exp $
+
+SHA1 (suse91/i586/atk-1.4.1-124.i586.rpm) = 4c0ccbd8a54960c792de95b85f1d006d289aa8c6
+Size (suse91/i586/atk-1.4.1-124.i586.rpm) = 130678 bytes
+SHA1 (suse91/i586/glib2-2.2.3-117.i586.rpm) = 72f7472c7cd95bc4e183dc81fce409cce03593e9
+Size (suse91/i586/glib2-2.2.3-117.i586.rpm) = 434726 bytes
+SHA1 (suse91/i586/gtk2-2.2.4-121.i586.rpm) = 9dc34296eec5bf7aa79a03e13e39147eff03872d
+Size (suse91/i586/gtk2-2.2.4-121.i586.rpm) = 2403412 bytes
+SHA1 (suse91/i586/pango-1.2.5-170.i586.rpm) = 085b6640bf649cd905b69799485e421a7d7fc995
+Size (suse91/i586/pango-1.2.5-170.i586.rpm) = 327533 bytes
Home |
Main Index |
Thread Index |
Old Index