]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Various fixes to make the standard applets have a correct version number,
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 4 Nov 2003 21:04:22 +0000 (21:04 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 4 Nov 2003 21:04:22 +0000 (21:04 +0000)
and to make BuildApplet have an icon again (albeit a quickly converted
OS9 icon).

Mac/OSX/Makefile
Mac/Tools/IDE/PackageManager.plist [new file with mode: 0644]
Mac/scripts/BuildApplet.icns [new file with mode: 0644]
Mac/scripts/BuildApplet.plist [new file with mode: 0644]

index 4908ee3c81bdd6adb11eb77e2749f6facde67c1b..8f1aec2fa474bb53a7775fab83afdebf334e71a0 100644 (file)
@@ -134,6 +134,7 @@ install_PackageManager:
                        --resource $(srcdir)/Mac/Tools/IDE/PythonIDE.rsrc \
                        --mainprogram $(srcdir)/Mac/Tools/IDE/PackageManager.py \
                        --iconfile $(srcdir)/Mac/Tools/IDE/PackageManager.icns \
+                       --plist $(srcdir)/Mac/Tools/IDE/PackageManager.plist \
                        --creator Pimp build; \
                $(BUILDPYTHON) $(bundlebuilder) \
                        --builddir $(DESTDIR)$(PYTHONAPPSDIR)/ \
@@ -141,6 +142,7 @@ install_PackageManager:
                        --resource $(srcdir)/Mac/Tools/IDE/PythonIDE.rsrc \
                        --mainprogram $(srcdir)/Mac/Tools/IDE/PackageManager.py \
                        --iconfile $(srcdir)/Mac/Tools/IDE/PackageManager.icns \
+                       --plist $(srcdir)/Mac/Tools/IDE/PackageManager.plist \
                        --creator Pimp build; \
        fi
 
diff --git a/Mac/Tools/IDE/PackageManager.plist b/Mac/Tools/IDE/PackageManager.plist
new file mode 100644 (file)
index 0000000..9d582d6
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundleDevelopmentRegion</key>
+       <string>English</string>
+       <key>CFBundleDocumentTypes</key>
+       <array>
+       </array>
+       <key>CFBundleExecutable</key>
+       <string>PackageManager</string>
+
+       <key>CFBundleGetInfoString</key>
+       <string>2.3.2, (c) 2003 Python Software Foundation.</string>
+       <key>CFBundleLongVersionString</key>
+       <string>2.3.2, (c) 2003 Python Software Foundation.</string>
+       <key>NSHumanReadableCopyright</key>
+       <string>Copyright 2003 Python Software Foundation.</string>
+       <key>CFBundleShortVersionString</key>
+       <string>2.3.2</string>
+
+       <key>CFBundleIconFile</key>
+       <string>PackageManager.icns</string>
+       <key>CFBundleIdentifier</key>
+       <string>org.python.pythonide</string>
+       <key>CFBundleInfoDictionaryVersion</key>
+       <string>6.0</string>
+       <key>CFBundleName</key>
+       <string>PythonIDE</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+       <key>CFBundleSignature</key>
+       <string>Pide</string>
+       <key>CFBundleVersion</key>
+       <string>2.3.2</string>
+       <key>LSRequiresCarbon</key>
+    <true/>
+       <key>CSResourcesFileMapped</key>
+       <true/>
+</dict>
+</plist>
diff --git a/Mac/scripts/BuildApplet.icns b/Mac/scripts/BuildApplet.icns
new file mode 100644 (file)
index 0000000..26ee1c0
Binary files /dev/null and b/Mac/scripts/BuildApplet.icns differ
diff --git a/Mac/scripts/BuildApplet.plist b/Mac/scripts/BuildApplet.plist
new file mode 100644 (file)
index 0000000..1301dd4
--- /dev/null
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+       <key>CFBundleDevelopmentRegion</key>
+       <string>English</string>
+       <key>CFBundleDocumentTypes</key>
+       <array>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>py</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>PythonSource.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Python Module</string>
+                       <key>CFBundleTypeOSTypes</key>
+                       <array>
+                               <string>TEXT</string>
+                       </array>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
+       </array>
+       <key>CFBundleExecutable</key>
+       <string>BuildApplet</string>
+
+       <key>CFBundleGetInfoString</key>
+       <string>2.3.2, (c) 2003 Python Software Foundation.</string>
+       <key>CFBundleLongVersionString</key>
+       <string>2.3.2, (c) 2003 Python Software Foundation.</string>
+       <key>NSHumanReadableCopyright</key>
+       <string>Copyright 2003 Python Software Foundation.</string>
+       <key>CFBundleShortVersionString</key>
+       <string>2.3.2</string>
+
+       <key>CFBundleIconFile</key>
+       <string>BuildApplet.icns</string>
+       <key>CFBundleIdentifier</key>
+       <string>org.python.buildapplet</string>
+       <key>CFBundleInfoDictionaryVersion</key>
+       <string>6.0</string>
+       <key>CFBundleName</key>
+       <string>PythonIDE</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+       <key>CFBundleSignature</key>
+       <string>Pide</string>
+       <key>CFBundleVersion</key>
+       <string>2.3.2</string>
+       <key>LSRequiresCarbon</key>
+    <true/>
+       <key>CSResourcesFileMapped</key>
+       <true/>
+</dict>
+</plist>