[csw-devel] SF.net SVN: gar:[5672] csw/mgar/pkg/gtk2/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Jul 27 18:51:10 CEST 2009


Revision: 5672
          http://gar.svn.sourceforge.net/gar/?rev=5672&view=rev
Author:   dmichelsen
Date:     2009-07-27 16:51:10 +0000 (Mon, 27 Jul 2009)

Log Message:
-----------
gtk2: Add postinstall for gdk-pixbuf.loaders fixing #3775

Modified Paths:
--------------
    csw/mgar/pkg/gtk2/trunk/Makefile
    csw/mgar/pkg/gtk2/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/gtk2/trunk/files/CSWgtk2.postinstall

Modified: csw/mgar/pkg/gtk2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gtk2/trunk/Makefile	2009-07-27 15:46:48 UTC (rev 5671)
+++ csw/mgar/pkg/gtk2/trunk/Makefile	2009-07-27 16:51:10 UTC (rev 5672)
@@ -19,6 +19,7 @@
 MASTER_SITES = http://ftp.gnome.org/pub/gnome/sources/gtk+/2.16/
 
 DISTFILES = gtk+-$(GARVERSION).tar.bz2
+DISTFILES += CSWgtk2.postinstall
 DISTFILES += fixme.sh
 
 WORKSRC = $(WORKDIR)/gtk+-$(GARVERSION)

Modified: csw/mgar/pkg/gtk2/trunk/checksums
===================================================================
--- csw/mgar/pkg/gtk2/trunk/checksums	2009-07-27 15:46:48 UTC (rev 5671)
+++ csw/mgar/pkg/gtk2/trunk/checksums	2009-07-27 16:51:10 UTC (rev 5672)
@@ -1,2 +1,3 @@
+92d3c2924806a0d03b4a5c4ee36f03fe  download/CSWgtk2.postinstall
 34f5b20f6caf282b2533784fbb1b4395  download/fixme.sh
 8d1ea0b9b0400224d25b0cc2750b438d  download/gtk+-2.16.5.tar.bz2

Copied: csw/mgar/pkg/gtk2/trunk/files/CSWgtk2.postinstall (from rev 5603, csw/mgar/pkg/pango/trunk/files/CSWpango.postinstall)
===================================================================
--- csw/mgar/pkg/gtk2/trunk/files/CSWgtk2.postinstall	                        (rev 0)
+++ csw/mgar/pkg/gtk2/trunk/files/CSWgtk2.postinstall	2009-07-27 16:51:10 UTC (rev 5672)
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+umask 0022
+
+if [ "$PKG_ROOT_DIR" = "" ] ; then PKG_ROOT_DIR=/ ; fi
+
+echo 'Updating gdk-pixbuf.loaders...'
+test -x ${PKG_ROOT_DIR}/opt/csw/bin/gdk-pixbuf-query-loaders && \
+	chroot "${PKG_ROOT_DIR}" /opt/csw/bin/gdk-pixbuf-query-loaders >"${PKG_ROOT_DIR}"/opt/csw/etc/gtk-2.0/gdk-pixbuf.loaders &&
+	chroot "${PKG_ROOT_DIR}" /usr/sbin/installf CSWgtk2 /opt/csw/etc/gtk-2.0/gdk-pixbuf.loaders f 0644 root bin
+test -x ${PKG_ROOT_DIR}/opt/csw/bin/sparcv9/gdk-pixbuf-query-loaders && \
+	chroot "${PKG_ROOT_DIR}" /opt/csw/bin/sparcv9/gdk-pixbuf-query-loaders >"${PKG_ROOT_DIR}"/opt/csw/etc/64/gtk-2.0/gdk-pixbuf.loaders &&
+	chroot "${PKG_ROOT_DIR}" /usr/sbin/installf CSWgtk2 /opt/csw/etc/64/gtk-2.0/gdk-pixbuf.loaders f 0644 root bin
+test -x ${PKG_ROOT_DIR}/opt/csw/bin/amd64/gdk-pixbuf-query-loaders && \
+	chroot "${PKG_ROOT_DIR}" /opt/csw/bin/amd64/gdk-pixbuf-query-loaders >"${PKG_ROOT_DIR}"/opt/csw/etc/64/gtk-2.0/gdk-pixbuf.loaders &&
+	chroot "${PKG_ROOT_DIR}" /usr/sbin/installf CSWgtk2 /opt/csw/etc/64/gtk-2.0/gdk-pixbuf.loaders f 0644 root bin
+
+chroot "${PKG_ROOT_DIR}" /usr/sbin/installf -f CSWgtk2
+/bin/true


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list