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>2011-10-14 21:54:37 +0400
committerJens Verwiebe <info@jensverwiebe.de>2011-10-14 21:54:37 +0400
commite7095450e7e47a5b05238a70bd75ca836f4332ba (patch)
tree20b5f389ed626e3a8040b519c1844cac7239d2f2
parentafcf581fb06920c415ca9d1c23cdfb235274d323 (diff)
OSX: commit the omp_set_simulation_threads applescript and copy-routines
-rw-r--r--build_files/scons/tools/Blender.py2
-rw-r--r--source/darwin/set_simulation_threads.app/Contents/Info.plist44
-rwxr-xr-xsource/darwin/set_simulation_threads.app/Contents/MacOS/appletbin0 -> 34480 bytes
-rw-r--r--source/darwin/set_simulation_threads.app/Contents/PkgInfo1
-rw-r--r--source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scptbin0 -> 2936 bytes
-rw-r--r--source/darwin/set_simulation_threads.app/Contents/Resources/applet.icnsbin0 -> 40291 bytes
-rw-r--r--source/darwin/set_simulation_threads.app/Contents/Resources/applet.rsrcbin0 -> 362 bytes
-rw-r--r--source/darwin/set_simulation_threads.app/Contents/Resources/description.rtfd/TXT.rtf4
8 files changed, 51 insertions, 0 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py
index 2be464fc6fe..f54ab102415 100644
--- a/build_files/scons/tools/Blender.py
+++ b/build_files/scons/tools/Blender.py
@@ -592,6 +592,8 @@ def AppIt(target=None, source=None, env=None):
commands.getoutput(cmd)
cmd = 'install_name_tool -change %s/lib/libgcc_s.1.dylib @executable_path/lib/libgcc_s.1.dylib %s/%s.app/Contents/MacOS/%s'%(instname, installdir, binary, binary)
commands.getoutput(cmd)
+ cmd = 'cp -R %s/source/darwin/set_simulation_threads.app %s/'%(bldroot, installdir) # the omp_num_threads applescript
+ commands.getoutput(cmd)
# extract copy system python, be sure to update other build systems
# when making changes to the files that are copied.
diff --git a/source/darwin/set_simulation_threads.app/Contents/Info.plist b/source/darwin/set_simulation_threads.app/Contents/Info.plist
new file mode 100644
index 00000000000..e7a5b09b079
--- /dev/null
+++ b/source/darwin/set_simulation_threads.app/Contents/Info.plist
@@ -0,0 +1,44 @@
+<?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>CFBundleAllowMixedLocalizations</key>
+ <true/>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>applet</string>
+ <key>CFBundleIconFile</key>
+ <string>applet</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>set_simulation_threads</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleSignature</key>
+ <string>aplt</string>
+ <key>LSMinimumSystemVersionByArchitecture</key>
+ <dict>
+ <key>x86_64</key>
+ <string>10.6</string>
+ </dict>
+ <key>LSRequiresCarbon</key>
+ <true/>
+ <key>WindowState</key>
+ <dict>
+ <key>dividerCollapsed</key>
+ <false/>
+ <key>eventLogLevel</key>
+ <integer>-1</integer>
+ <key>name</key>
+ <string>ScriptWindowState</string>
+ <key>positionOfDivider</key>
+ <real>467</real>
+ <key>savedFrame</key>
+ <string>943 372 886 806 0 0 1920 1178 </string>
+ <key>selectedTabView</key>
+ <string>result</string>
+ </dict>
+</dict>
+</plist>
diff --git a/source/darwin/set_simulation_threads.app/Contents/MacOS/applet b/source/darwin/set_simulation_threads.app/Contents/MacOS/applet
new file mode 100755
index 00000000000..0079f4b19d4
--- /dev/null
+++ b/source/darwin/set_simulation_threads.app/Contents/MacOS/applet
Binary files differ
diff --git a/source/darwin/set_simulation_threads.app/Contents/PkgInfo b/source/darwin/set_simulation_threads.app/Contents/PkgInfo
new file mode 100644
index 00000000000..3253614c402
--- /dev/null
+++ b/source/darwin/set_simulation_threads.app/Contents/PkgInfo
@@ -0,0 +1 @@
+APPLaplt \ No newline at end of file
diff --git a/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt b/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt
new file mode 100644
index 00000000000..4e4ba192bb5
--- /dev/null
+++ b/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt
Binary files differ
diff --git a/source/darwin/set_simulation_threads.app/Contents/Resources/applet.icns b/source/darwin/set_simulation_threads.app/Contents/Resources/applet.icns
new file mode 100644
index 00000000000..fcc1f09273d
--- /dev/null
+++ b/source/darwin/set_simulation_threads.app/Contents/Resources/applet.icns
Binary files differ
diff --git a/source/darwin/set_simulation_threads.app/Contents/Resources/applet.rsrc b/source/darwin/set_simulation_threads.app/Contents/Resources/applet.rsrc
new file mode 100644
index 00000000000..283acbcdf65
--- /dev/null
+++ b/source/darwin/set_simulation_threads.app/Contents/Resources/applet.rsrc
Binary files differ
diff --git a/source/darwin/set_simulation_threads.app/Contents/Resources/description.rtfd/TXT.rtf b/source/darwin/set_simulation_threads.app/Contents/Resources/description.rtfd/TXT.rtf
new file mode 100644
index 00000000000..0d0a60c08b5
--- /dev/null
+++ b/source/darwin/set_simulation_threads.app/Contents/Resources/description.rtfd/TXT.rtf
@@ -0,0 +1,4 @@
+{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
+{\fonttbl}
+{\colortbl;\red255\green255\blue255;}
+} \ No newline at end of file