Revision: 60949
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60949
Author: jensverwiebe
Date: 2013-10-26 17:45:39 +0000 (Sat, 26 Oct 2013)
Log Message:
-----------
OSX/scons: codesigning requirements for OSX 10.9/Xcode5
Modified Paths:
--------------
trunk/blender/build_files/scons/tools/Blender.py
Modified: trunk/blender/build_files/scons/tools/Blender.py
===================================================================
--- trunk/blender/build_files/scons/tools/Blender.py 2013-10-26 13:22:38 UTC
(rev 60948)
+++ trunk/blender/build_files/scons/tools/Blender.py 2013-10-26 17:45:39 UTC
(rev 60949)
@@ -675,6 +675,15 @@
cmd = 'unzip -q %s/release/%s -d
%s/%s.app/Contents/MacOS/%s/python/'%(libdir,python_zip,installdir,binary,VERSION)
commands.getoutput(cmd)
+ if env['XCODE_CUR_VER'] >= 5:
+ # For OSX 10.9/Xcode5 subcomponents also must be codesigned. To make
this work we need a plist in the versioned libdir
+ # We copy for now the plist from main bundle, note: Blender must be
run once before codesigning to have the py caches generated and taken into
account
+ # After this we can run: codesign -s IDENTITY blender.app --deep
+ cmd = 'mkdir
%s/%s.app/Contents/MacOS/%s/Resources/'%(installdir,binary, VERSION)
+ commands.getoutput(cmd)
+ cmd = 'cp %s/%s.app/Contents/Info.plist
%s/%s.app/Contents/MacOS/%s/Resources'%(installdir,binary,installdir,binary,
VERSION)
+ commands.getoutput(cmd)
+
cmd = 'chmod +x %s/%s.app/Contents/MacOS/%s'%(installdir,binary, binary)
commands.getoutput(cmd)
cmd = 'find %s/%s.app -name .svn -prune -exec rm -rf {} \;'%(installdir,
binary)
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs