[csw-devel] SF.net SVN: gar:[16491] csw/mgar/pkg/gtk2/branches/2.24-raos/files/ CSWgtk2-immodules.postinstall

guengel at users.sourceforge.net guengel at users.sourceforge.net
Tue Dec 13 23:28:55 CET 2011


Revision: 16491
          http://gar.svn.sourceforge.net/gar/?rev=16491&view=rev
Author:   guengel
Date:     2011-12-13 22:28:54 +0000 (Tue, 13 Dec 2011)
Log Message:
-----------
gtk2/branches/2.24-raos: Makes use of the command line option provided by the patch for gtk-query-immodules-2.0

Modified Paths:
--------------
    csw/mgar/pkg/gtk2/branches/2.24-raos/files/CSWgtk2-immodules.postinstall

Modified: csw/mgar/pkg/gtk2/branches/2.24-raos/files/CSWgtk2-immodules.postinstall
===================================================================
--- csw/mgar/pkg/gtk2/branches/2.24-raos/files/CSWgtk2-immodules.postinstall	2011-12-13 22:25:36 UTC (rev 16490)
+++ csw/mgar/pkg/gtk2/branches/2.24-raos/files/CSWgtk2-immodules.postinstall	2011-12-13 22:28:54 UTC (rev 16491)
@@ -1,11 +1,16 @@
 #!/bin/sh
 #
 # We will call gtk-query-immodules-2.0 for all ISAs
+#
+# Attention: the OpenCSW gtk-query-immodules-2.0 has been patched to
+# support a command line option `--update-modules' to create the
+# gtk.immodules (32bit executable) and gtk.immodules-64 (64bit
+# executable) file.
 
 umask 0022
 
 BIN=gtk-query-immodules-2.0
-BIN_OPTS="--update-cache"
+BIN_OPTS="--update-modules"
 
 echo "** Querying IM Modules"
 
@@ -22,11 +27,11 @@
 # Now, do all other
 for i in @BUILD_ISAS@
 do
-    queryloader=@prefix@/bin/$i/${BIN}
-    if [ -x "${queryloader}" ]
+    ISABIN=@prefix@/bin/$i/${BIN}
+    if [ -x "${ISABIN}" ]
     then
 	/usr/bin/printf "- $i ISA... "
-	"${queryloader}" ${BIN_OPTS} >/dev/null 2>&1
+	"${ISABIN}" ${BIN_OPTS} >/dev/null 2>&1
 	if [ $? -ne 0 ]
 	then
 	    echo "Error"

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