Commit: c590b2a4b388c55b54b70a367b4e961ad36f8ef7
Author: Jens Verwiebe
Date:   Mon Jun 2 14:19:56 2014 +0200
https://developer.blender.org/rBc590b2a4b388c55b54b70a367b4e961ad36f8ef7

OSX: Set Blender.app and Blenderplayer.app creation and modification date to 
compiletime, else we would always have the time from checkout here

===================================================================

M       build_files/scons/tools/Blender.py

===================================================================

diff --git a/build_files/scons/tools/Blender.py 
b/build_files/scons/tools/Blender.py
index 496f90d..621a85a 100644
--- a/build_files/scons/tools/Blender.py
+++ b/build_files/scons/tools/Blender.py
@@ -768,6 +768,8 @@ def AppIt(target=None, source=None, env=None):
     commands.getoutput(cmd)
     cmd = 'find %s/%s.app -name __MACOSX -exec rm -rf {} \;'%(installdir, 
binary)
     commands.getoutput(cmd)
+    cmd = 'SetFile -d "%s)" -m "%s)" %s/%s.app'%(time.strftime("%m/%d/%Y 
%H:%M"),time.strftime("%m/%d/%Y %H:%M"),installdir,binary) # give the bundles 
actual creation/modification date
+    commands.getoutput(cmd)
     if env['WITH_BF_OPENMP']:
         if env['C_COMPILER_ID'] == 'gcc' and env['CCVERSION'] >= '4.6.1': # 
for correct errorhandling with gcc >= 4.6.1 we need the gcc.dylib and 
gomp.dylib to link, thus distribute in app-bundle
             print "Bundling libgcc and libgomp"

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to