Kaydet (Commit) 13399445 authored tarafından Ned Deily's avatar Ned Deily

Issue #20022: Eliminate use of deprecated bundlebuilder in OS X builds.

üst 502ef90a
<?xml version="1.0" encoding="UTF-8"?> <?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"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</dict> </dict>
</array> </array>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>PythonLauncher</string> <string>Python Launcher</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>%VERSION%, © 2001-2014 Python Software Foundation</string> <string>%VERSION%, © 2001-2014 Python Software Foundation</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
......
...@@ -15,12 +15,10 @@ BUILDPYTHON= $(builddir)/python$(BUILDEXE) ...@@ -15,12 +15,10 @@ BUILDPYTHON= $(builddir)/python$(BUILDEXE)
PYTHONFRAMEWORK=@PYTHONFRAMEWORK@ PYTHONFRAMEWORK=@PYTHONFRAMEWORK@
# Deployment target selected during configure, to be checked # Deployment target selected during configure, to be checked
# by distutils # by distutils
MACOSX_DEPLOYMENT_TARGET=@CONFIGURE_MACOSX_DEPLOYMENT_TARGET@ MACOSX_DEPLOYMENT_TARGET=@CONFIGURE_MACOSX_DEPLOYMENT_TARGET@
@EXPORT_MACOSX_DEPLOYMENT_TARGET@export MACOSX_DEPLOYMENT_TARGET @EXPORT_MACOSX_DEPLOYMENT_TARGET@export MACOSX_DEPLOYMENT_TARGET
BUNDLEBULDER=$(srcdir)/../Tools/bundlebuilder.py
PYTHONAPPSDIR=@FRAMEWORKINSTALLAPPSPREFIX@/$(PYTHONFRAMEWORK) $(VERSION) PYTHONAPPSDIR=@FRAMEWORKINSTALLAPPSPREFIX@/$(PYTHONFRAMEWORK) $(VERSION)
OBJECTS=FileSettings.o MyAppDelegate.o MyDocument.o PreferencesWindowController.o doscript.o main.o OBJECTS=FileSettings.o MyAppDelegate.o MyDocument.o PreferencesWindowController.o doscript.o main.o
...@@ -30,10 +28,10 @@ install: Python\ Launcher.app ...@@ -30,10 +28,10 @@ install: Python\ Launcher.app
/bin/cp -r "Python Launcher.app" "$(DESTDIR)$(PYTHONAPPSDIR)" /bin/cp -r "Python Launcher.app" "$(DESTDIR)$(PYTHONAPPSDIR)"
touch "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app" touch "$(DESTDIR)$(PYTHONAPPSDIR)/Python Launcher.app"
clean: clean:
rm -f *.o "Python Launcher" rm -f *.o "Python Launcher"
rm -rf "Python Launcher.app" rm -rf "Python Launcher.app"
rm -f Info.plist
Python\ Launcher.app: Info.plist \ Python\ Launcher.app: Info.plist \
Python\ Launcher $(srcdir)/../Icons/PythonLauncher.icns \ Python\ Launcher $(srcdir)/../Icons/PythonLauncher.icns \
...@@ -41,20 +39,18 @@ Python\ Launcher.app: Info.plist \ ...@@ -41,20 +39,18 @@ Python\ Launcher.app: Info.plist \
$(srcdir)/../Icons/PythonCompiled.icns \ $(srcdir)/../Icons/PythonCompiled.icns \
$(srcdir)/factorySettings.plist $(srcdir)/factorySettings.plist
rm -fr "Python Launcher.app" rm -fr "Python Launcher.app"
$(RUNSHARED) $(BUILDPYTHON) $(BUNDLEBULDER) \ mkdir "Python Launcher.app"
--builddir=. \ mkdir "Python Launcher.app/Contents"
--name="Python Launcher" \ mkdir "Python Launcher.app/Contents/MacOS"
--executable="Python Launcher" \ mkdir "Python Launcher.app/Contents/Resources"
--iconfile=$(srcdir)/../Icons/PythonLauncher.icns \ cp "Python Launcher" "Python Launcher.app/Contents/MacOS"
--bundle-id=org.python.PythonLauncher \ cp Info.plist "Python Launcher.app/Contents"
--resource=$(srcdir)/../Icons/PythonSource.icns \ cp $(srcdir)/../Icons/PythonLauncher.icns "Python Launcher.app/Contents/Resources"
--resource=$(srcdir)/../Icons/PythonCompiled.icns \ cp $(srcdir)/../Icons/PythonSource.icns "Python Launcher.app/Contents/Resources"
--resource=$(srcdir)/English.lproj \ cp $(srcdir)/../Icons/PythonCompiled.icns "Python Launcher.app/Contents/Resources"
--resource=$(srcdir)/factorySettings.plist \ cp $(srcdir)/factorySettings.plist "Python Launcher.app/Contents/Resources"
--plist Info.plist \ cp -R $(srcdir)/English.lproj "Python Launcher.app/Contents/Resources"
build
find "Python Launcher.app" -name '.svn' -print0 | xargs -0 rm -r find "Python Launcher.app" -name '.svn' -print0 | xargs -0 rm -r
FileSettings.o: $(srcdir)/FileSettings.m FileSettings.o: $(srcdir)/FileSettings.m
$(CC) $(CFLAGS) -o $@ -c $(srcdir)/FileSettings.m $(CC) $(CFLAGS) -o $@ -c $(srcdir)/FileSettings.m
......
This diff is collapsed.
...@@ -176,6 +176,7 @@ Build ...@@ -176,6 +176,7 @@ Build
- Issue #15968: Incorporated Tcl, Tk, and Tix builds into the Windows build - Issue #15968: Incorporated Tcl, Tk, and Tix builds into the Windows build
solution. solution.
- Issue #20022: Eliminate use of deprecated bundlebuilder in OS X builds.
What's New in Python 3.4.0? What's New in Python 3.4.0?
=========================== ===========================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment