Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2013-10-28 21:08:07 +0400
committerJens Verwiebe <info@jensverwiebe.de>2013-10-28 21:08:07 +0400
commit4ef6f82a10c918dfa69ee3eabe5ab2fca11cf10f (patch)
tree5eb9bf7bccc742013aedf4a9e35f9c3125ec9e6b
parentecf2f556678ab5dab73a371262aadbf36a5095b3 (diff)
OSX/codesigning: add the signing rules used for releases
-rw-r--r--build_files/scons/tools/Blender.py9
-rw-r--r--release/darwin/codesigning_rules_blender.plist14
-rw-r--r--release/darwin/codesigning_rules_player.plist15
3 files changed, 29 insertions, 9 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py
index 9bce91ba9a5..f181f290104 100644
--- a/build_files/scons/tools/Blender.py
+++ b/build_files/scons/tools/Blender.py
@@ -675,15 +675,6 @@ def AppIt(target=None, source=None, env=None):
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)
diff --git a/release/darwin/codesigning_rules_blender.plist b/release/darwin/codesigning_rules_blender.plist
new file mode 100644
index 00000000000..b3baba80bbb
--- /dev/null
+++ b/release/darwin/codesigning_rules_blender.plist
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>rules</key>
+ <dict>
+ <!-- Exclude datafiles, python and scripts -->
+ <key>^MacOS/2.69</key>
+ <false/>
+ <key>^Resources/</key>
+ <true/>
+ </dict>
+</dict>
+</plist>
diff --git a/release/darwin/codesigning_rules_player.plist b/release/darwin/codesigning_rules_player.plist
new file mode 100644
index 00000000000..2a85041f307
--- /dev/null
+++ b/release/darwin/codesigning_rules_player.plist
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>rules</key>
+ <dict>
+ <!-- Exclude datafiles, python and scripts -->
+ <key>^MacOS/2.69</key>
+ <false/>
+ <!-- Exclude Resources for placing game.blend and own icons -->
+ <key>^Resources/</key>
+ <false/>
+ </dict>
+</dict>
+</plist>