From a925583c009d2829e313cea11ed6cf7b40eca097 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 19 Sep 2014 18:56:05 +0300 Subject: Use correct CFBundleExecutable in the Info.plist for Python.app Apparently the Python build machinery apparently does not use proper autoconfigury to expand this Info.plist.in file, so can't use @PYTHONFRAMEWORK@ as for the Info.plist for the framework itself, but have to hardcode LibreOfficePython. As such I am not sure that Python's way of including an app bundle inside a framework's Resources subtree is acceptable in the stricter code signing and Gatekeeper rules that soon will be in effect. Will see. Change-Id: I1ef9e7b748d41ec4b32d80e721d5fba5e7a90d18 --- external/python3/python-3.3.0-darwin.patch.1 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'external') diff --git a/external/python3/python-3.3.0-darwin.patch.1 b/external/python3/python-3.3.0-darwin.patch.1 index ca70279ad5af..78a2e7a6a0a5 100644 --- a/external/python3/python-3.3.0-darwin.patch.1 +++ b/external/python3/python-3.3.0-darwin.patch.1 @@ -72,3 +72,14 @@ no /usr/include. CFBundleGetInfoString Python Runtime and Library CFBundleIdentifier +--- python3/Mac/Resources/app/Info.plist.in ++++ python3/Mac/Resources/app/Info.plist.in +@@ -18,7 +18,7 @@ + + + CFBundleExecutable +- Python ++ LibreOfficePython + CFBundleGetInfoString + %version%, (c) 2004-2013 Python Software Foundation. + CFBundleHelpBookFolder -- cgit v1.2.3