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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Aug 5 16:29:08 CEST 2009


Revision: 5859
          http://gar.svn.sourceforge.net/gar/?rev=5859&view=rev
Author:   dmichelsen
Date:     2009-08-05 14:29:07 +0000 (Wed, 05 Aug 2009)

Log Message:
-----------
gtk2: Fix postinstall to only execute 32 bit binaries on 32 bit kernels

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

Modified: csw/mgar/pkg/gtk2/trunk/checksums
===================================================================
--- csw/mgar/pkg/gtk2/trunk/checksums	2009-08-05 14:19:58 UTC (rev 5858)
+++ csw/mgar/pkg/gtk2/trunk/checksums	2009-08-05 14:29:07 UTC (rev 5859)
@@ -1,3 +1,3 @@
-44b74e3b782135f33cc8a1c5e8f97614  download/CSWgtk2.postinstall
+7ff4fdcaa073afc764af7106c0ba441c  download/CSWgtk2.postinstall
 34f5b20f6caf282b2533784fbb1b4395  download/fixme.sh
 8d1ea0b9b0400224d25b0cc2750b438d  download/gtk+-2.16.5.tar.bz2

Modified: csw/mgar/pkg/gtk2/trunk/files/CSWgtk2.postinstall
===================================================================
--- csw/mgar/pkg/gtk2/trunk/files/CSWgtk2.postinstall	2009-08-05 14:19:58 UTC (rev 5858)
+++ csw/mgar/pkg/gtk2/trunk/files/CSWgtk2.postinstall	2009-08-05 14:29:07 UTC (rev 5859)
@@ -10,11 +10,13 @@
 	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 && \
+test -x /usr/bin/isainfo && [ "`/usr/bin/isainfo -b`" = 64 ] &&
 	mkdir -p "${PKG_ROOT_DIR}"/opt/csw/etc/64/gtk-2.0 &&
 	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 d 0755 root bin &&
 	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 && \
+test -x /usr/bin/isainfo && [ "`/usr/bin/isainfo -b`" = 64 ] &&
 	mkdir -p "${PKG_ROOT_DIR}"/opt/csw/etc/64/gtk-2.0 &&
 	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 d 0755 root bin &&


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