diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2008-05-02 19:45:11 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2008-05-02 19:45:11 (GMT) |
commit | 580c7fec67eb233bb3b31db0f656174be032e6ed (patch) | |
tree | 7784e56c7de5f4a793f18e5aac3aa3571a43dff6 /Mac/Resources | |
parent | ee340e501d2a59d70a91748ebd948787bfac8044 (diff) | |
download | cpython-580c7fec67eb233bb3b31db0f656174be032e6ed.zip cpython-580c7fec67eb233bb3b31db0f656174be032e6ed.tar.gz cpython-580c7fec67eb233bb3b31db0f656174be032e6ed.tar.bz2 |
Fix for issue #2573: Can't change the framework name on OS X builds
This introduces a new configure option: --with-framework-name=NAME
(defaulting to 'Python'). This allows you to install several copies
of the Python framework with different names (such as a normal build
and a debug build).
Diffstat (limited to 'Mac/Resources')
-rw-r--r-- | Mac/Resources/app/Info.plist.in (renamed from Mac/Resources/app/Info.plist) | 10 | ||||
-rw-r--r-- | Mac/Resources/app/Resources/English.lproj/InfoPlist.strings | bin | 656 -> 0 bytes | |||
-rw-r--r-- | Mac/Resources/framework/English.lproj/InfoPlist.strings | bin | 358 -> 0 bytes | |||
-rw-r--r-- | Mac/Resources/framework/Info.plist.in (renamed from Mac/Resources/framework/Info.plist) | 8 | ||||
-rw-r--r-- | Mac/Resources/framework/version.plist | 18 |
5 files changed, 10 insertions, 26 deletions
diff --git a/Mac/Resources/app/Info.plist b/Mac/Resources/app/Info.plist.in index 387bbed..1233715 100644 --- a/Mac/Resources/app/Info.plist +++ b/Mac/Resources/app/Info.plist.in @@ -20,7 +20,7 @@ <key>CFBundleExecutable</key> <string>Python</string> <key>CFBundleGetInfoString</key> - <string>2.5alpha0, (c) 2004 Python Software Foundation.</string> + <string>@VERSION@, (c) 2004 Python Software Foundation.</string> <key>CFBundleHelpBookFolder</key> <array> <string>Documentation</string> @@ -33,21 +33,21 @@ <key>CFBundleIconFile</key> <string>PythonInterpreter.icns</string> <key>CFBundleIdentifier</key> - <string>org.python.python</string> + <string>@PYTHONFRAMEWORKIDENTIFIER@.app</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleLongVersionString</key> - <string>2.5alpha0, (c) 2004 Python Software Foundation.</string> + <string>@VERSION@, (c) 2004-2008 Python Software Foundation.</string> <key>CFBundleName</key> <string>Python</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> - <string>2.5alpha0</string> + <string>@VERSION@</string> <key>CFBundleSignature</key> <string>PytX</string> <key>CFBundleVersion</key> - <string>2.5alpha0</string> + <string>@VERSION@</string> <key>CSResourcesFileMapped</key> <true/> <key>LSRequiresCarbon</key> diff --git a/Mac/Resources/app/Resources/English.lproj/InfoPlist.strings b/Mac/Resources/app/Resources/English.lproj/InfoPlist.strings Binary files differdeleted file mode 100644 index f8a8bc1..0000000 --- a/Mac/Resources/app/Resources/English.lproj/InfoPlist.strings +++ /dev/null diff --git a/Mac/Resources/framework/English.lproj/InfoPlist.strings b/Mac/Resources/framework/English.lproj/InfoPlist.strings Binary files differdeleted file mode 100644 index cc24bfc..0000000 --- a/Mac/Resources/framework/English.lproj/InfoPlist.strings +++ /dev/null diff --git a/Mac/Resources/framework/Info.plist b/Mac/Resources/framework/Info.plist.in index 302ff48..a753e88 100644 --- a/Mac/Resources/framework/Info.plist +++ b/Mac/Resources/framework/Info.plist.in @@ -9,7 +9,7 @@ <key>CFBundleGetInfoString</key> <string>Python Runtime and Library</string> <key>CFBundleIdentifier</key> - <string>org.python.python</string> + <string>@PYTHONFRAMEWORKIDENTIFIER@</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> @@ -17,10 +17,12 @@ <key>CFBundlePackageType</key> <string>FMWK</string> <key>CFBundleShortVersionString</key> - <string>2.5</string> + <string>%VERSION%, (c) 2004-2008 Python Software Foundation.</string> + <key>CFBundleLongVersionString</key> + <string>%VERSION%, (c) 2004-2008 Python Software Foundation.</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>2.5</string> + <string>%VERSION%</string> </dict> </plist> diff --git a/Mac/Resources/framework/version.plist b/Mac/Resources/framework/version.plist deleted file mode 100644 index 7527442..0000000 --- a/Mac/Resources/framework/version.plist +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>BuildVersion</key> - <string>1</string> - <key>CFBundleShortVersionString</key> - <string>2.5alpha0</string> - <key>CFBundleVersion</key> - <string>2.5alpha0</string> - <key>ProjectName</key> - <string>Python</string> - <key>ReleaseStatus</key> - <string>alfa</string> - <key>SourceVersion</key> - <string>2.4a0</string> -</dict> -</plist> |