update os x building tools
authorDiane Trout <diane@caltech.edu>
Tue, 11 Jul 2006 07:05:15 +0000 (07:05 +0000)
committerDiane Trout <diane@caltech.edu>
Tue, 11 Jul 2006 07:05:15 +0000 (07:05 +0000)
to include network for qtassistant, and more space for the disk image.

makelib/osxdist.py

index 4ebbb2cf2b3225843c985e06a62a74735dc2e9f6..4e715cebc3667958e5d22e6a3992f7c23c7728e2 100644 (file)
@@ -43,7 +43,7 @@ def makedmg(dirlist, volname):
     os.unlink(mussarw_dmg)
   if os.path.exists(mussa_dmg):
     os.unlink(mussa_dmg)
-  system('hdiutil create -size 64m -fs HFS+ -volname "%s" %s'%(volname, mussarw_dmg))
+  system('hdiutil create -size 256m -fs HFS+ -volname "%s" %s'%(volname, mussarw_dmg))
   system('hdiutil attach '+mussarw_dmg)
   # copy files
   for d in dirlist:
@@ -62,7 +62,7 @@ def prelinkqt(app_name, bundle_dir, qt_lib_dir):
   properly prelink all the annoying qt components.
   """
   framework_subpath = os.path.join("%(framework)s.framework", "Versions", "4.0", "%(framework)s")
-  frameworks = ['QtCore', 'QtGui', 'QtOpenGL']
+  frameworks = ['QtCore', 'QtGui', 'QtOpenGL', 'QtNetwork']
 
   qt_framework=os.path.join(qt_lib_dir, framework_subpath)
   app_binary=bundle_dir+"/Contents/MacOS/"+app_name
@@ -88,7 +88,7 @@ def prelinkqt(app_name, bundle_dir, qt_lib_dir):
              appframe)
 
 def main(args):
-  qtroot = "/usr/local/qt/4.1.2"
+  qtroot = "/usr/local/qt/4.1.3"
   bundle_dir = None
   app_name = None