Author: wade
Date: 2008-02-06 16:16:03 -0500 (Wed, 06 Feb 2008)
New Revision: 95077

Modified:
   trunk/release/packaging/defs/gtk-sharp210
   trunk/release/packaging/dep_defs/macosx
   trunk/release/packaging/do-install-zip-pkgs
Log:
gtk-sharp210:
-these are referenced somewhere else...

macosx:
-add share/pkgconfig to look for .pc files

do-install-zip-pkgs:
-set write bit so stuff can be relocated on mac (XML-Parser..., others?)



Modified: trunk/release/packaging/defs/gtk-sharp210
===================================================================
--- trunk/release/packaging/defs/gtk-sharp210   2008-02-06 21:03:24 UTC (rev 
95076)
+++ trunk/release/packaging/defs/gtk-sharp210   2008-02-06 21:16:03 UTC (rev 
95077)
@@ -70,9 +70,6 @@
         
http://primates.ximian.com/~wberrier/macos/deps/x86/atk-1.20.0-0.macos10.novell.x86.zip
         
http://primates.ximian.com/~wberrier/macos/deps/x86/gtk+-2.15.0-0.macos10.novell.x86.zip
         
http://primates.ximian.com/~wberrier/macos/deps/x86/libglade-2.6.2-0.macos10.novell.x86.zip
-
-        # Probably not needed
-        
#http://primates.ximian.com/~wberrier/macos/deps/x86/XML-Parser-2.36-0.macos10.novell.x86.zip
 )
 
 macos_10_x86_ZIP_RUNTIME_DEPS=(
@@ -104,9 +101,6 @@
         
http://primates.ximian.com/~wberrier/macos/deps/ppc/atk-1.20.0-0.macos10.novell.ppc.zip
         
http://primates.ximian.com/~wberrier/macos/deps/ppc/gtk+-2.15.0-0.macos10.novell.ppc.zip
         
http://primates.ximian.com/~wberrier/macos/deps/ppc/libglade-2.6.2-0.macos10.novell.ppc.zip
-
-        # Probably not needed
-        
#http://primates.ximian.com/~wberrier/macos/deps/x86/XML-Parser-2.36-0.macos10.novell.ppc.zip
 )
 
 macos_10_ppc_ZIP_RUNTIME_DEPS=(

Modified: trunk/release/packaging/dep_defs/macosx
===================================================================
--- trunk/release/packaging/dep_defs/macosx     2008-02-06 21:03:24 UTC (rev 
95076)
+++ trunk/release/packaging/dep_defs/macosx     2008-02-06 21:16:03 UTC (rev 
95077)
@@ -22,7 +22,7 @@
                        mv pkg-config pkg-config.bin
                        cat <<EOF > pkg-config
 #!/bin/sh
-PKG_CONFIG_PATH=/tmp/install/lib/pkgconfig:\$PKG_CONFIG_PATH 
/tmp/install/bin/pkg-config.bin "\$@"
+PKG_CONFIG_PATH=/tmp/install/lib/pkgconfig:/tmp/install/share/pkgconfig:\$PKG_CONFIG_PATH
 /tmp/install/bin/pkg-config.bin "\$@"
 EOF
                        chmod 755 pkg-config
                        """

Modified: trunk/release/packaging/do-install-zip-pkgs
===================================================================
--- trunk/release/packaging/do-install-zip-pkgs 2008-02-06 21:03:24 UTC (rev 
95076)
+++ trunk/release/packaging/do-install-zip-pkgs 2008-02-06 21:16:03 UTC (rev 
95077)
@@ -12,6 +12,7 @@
 import glob
 import re
 import getopt
+import stat
 
 import utils
 
@@ -206,6 +207,12 @@
        old_filename = os.path.abspath('/tmp/install/%s' % (path_on_disk) )
        new_filename = os.path.abspath( re.sub('/tmp/install', reloc, 
old_filename) )
 
+       #  This is needed because some files (XML-Parser) weren't writable for 
relocation
+       # add owner write support
+       #os.system("chmod +w " + path_on_disk)
+       # Do it the python way (wow, kinda uuuugly)
+       os.chmod(path_on_disk, stat.S_IMODE(os.stat(path_on_disk)[0]) | 
stat.S_IWUSR)
+
        print 'Relocating %s' % path_on_disk
        utils.launch_process('install_name_tool -id %s %s' % (new_filename, 
path_on_disk ) )
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to