diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2011-10-14 21:54:37 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2011-10-14 21:54:37 +0400 |
commit | e7095450e7e47a5b05238a70bd75ca836f4332ba (patch) | |
tree | 20b5f389ed626e3a8040b519c1844cac7239d2f2 | |
parent | afcf581fb06920c415ca9d1c23cdfb235274d323 (diff) |
OSX: commit the omp_set_simulation_threads applescript and copy-routines
-rw-r--r-- | build_files/scons/tools/Blender.py | 2 | ||||
-rw-r--r-- | source/darwin/set_simulation_threads.app/Contents/Info.plist | 44 | ||||
-rwxr-xr-x | source/darwin/set_simulation_threads.app/Contents/MacOS/applet | bin | 0 -> 34480 bytes | |||
-rw-r--r-- | source/darwin/set_simulation_threads.app/Contents/PkgInfo | 1 | ||||
-rw-r--r-- | source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt | bin | 0 -> 2936 bytes | |||
-rw-r--r-- | source/darwin/set_simulation_threads.app/Contents/Resources/applet.icns | bin | 0 -> 40291 bytes | |||
-rw-r--r-- | source/darwin/set_simulation_threads.app/Contents/Resources/applet.rsrc | bin | 0 -> 362 bytes | |||
-rw-r--r-- | source/darwin/set_simulation_threads.app/Contents/Resources/description.rtfd/TXT.rtf | 4 |
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 Binary files differnew file mode 100755 index 00000000000..0079f4b19d4 --- /dev/null +++ b/source/darwin/set_simulation_threads.app/Contents/MacOS/applet 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 Binary files differnew file mode 100644 index 00000000000..4e4ba192bb5 --- /dev/null +++ b/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt diff --git a/source/darwin/set_simulation_threads.app/Contents/Resources/applet.icns b/source/darwin/set_simulation_threads.app/Contents/Resources/applet.icns Binary files differnew file mode 100644 index 00000000000..fcc1f09273d --- /dev/null +++ b/source/darwin/set_simulation_threads.app/Contents/Resources/applet.icns diff --git a/source/darwin/set_simulation_threads.app/Contents/Resources/applet.rsrc b/source/darwin/set_simulation_threads.app/Contents/Resources/applet.rsrc Binary files differnew file mode 100644 index 00000000000..283acbcdf65 --- /dev/null +++ b/source/darwin/set_simulation_threads.app/Contents/Resources/applet.rsrc 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 |