OSX: commit the omp_set_simulation_threads applescript and copy-routines
authorJens Verwiebe <info@jensverwiebe.de>
Fri, 14 Oct 2011 17:54:37 +0000 (17:54 +0000)
committerJens Verwiebe <info@jensverwiebe.de>
Fri, 14 Oct 2011 17:54:37 +0000 (17:54 +0000)
build_files/scons/tools/Blender.py
source/darwin/set_simulation_threads.app/Contents/Info.plist [new file with mode: 0644]
source/darwin/set_simulation_threads.app/Contents/MacOS/applet [new file with mode: 0755]
source/darwin/set_simulation_threads.app/Contents/PkgInfo [new file with mode: 0644]
source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt [new file with mode: 0644]
source/darwin/set_simulation_threads.app/Contents/Resources/applet.icns [new file with mode: 0644]
source/darwin/set_simulation_threads.app/Contents/Resources/applet.rsrc [new file with mode: 0644]
source/darwin/set_simulation_threads.app/Contents/Resources/description.rtfd/TXT.rtf [new file with mode: 0644]

index 2be464fc6fee8e0cc5ff714b31215c24a3d5b952..f54ab102415a483651da19222f5797035b07c3cc 100644 (file)
@@ -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 (file)
index 0000000..e7a5b09
--- /dev/null
@@ -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 (executable)
index 0000000..0079f4b
Binary files /dev/null and b/source/darwin/set_simulation_threads.app/Contents/MacOS/applet 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 (file)
index 0000000..3253614
--- /dev/null
@@ -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 (file)
index 0000000..4e4ba19
Binary files /dev/null and b/source/darwin/set_simulation_threads.app/Contents/Resources/Scripts/main.scpt 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 (file)
index 0000000..fcc1f09
Binary files /dev/null and b/source/darwin/set_simulation_threads.app/Contents/Resources/applet.icns 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 (file)
index 0000000..283acbc
Binary files /dev/null and b/source/darwin/set_simulation_threads.app/Contents/Resources/applet.rsrc 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 (file)
index 0000000..0d0a60c
--- /dev/null
@@ -0,0 +1,4 @@
+{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
+{\fonttbl}
+{\colortbl;\red255\green255\blue255;}
+}
\ No newline at end of file