[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.2' - external/python3

Tor Lillqvist tml at collabora.com
Fri Sep 19 09:01:34 PDT 2014


 external/python3/python-3.3.0-darwin.patch.1 |   11 +++++++++++
 1 file changed, 11 insertions(+)

New commits:
commit a925583c009d2829e313cea11ed6cf7b40eca097
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Sep 19 18:56:05 2014 +0300

    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

diff --git a/external/python3/python-3.3.0-darwin.patch.1 b/external/python3/python-3.3.0-darwin.patch.1
index ca70279..78a2e7a 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.
  	<key>CFBundleGetInfoString</key>
  	<string>Python Runtime and Library</string>
  	<key>CFBundleIdentifier</key>
+--- python3/Mac/Resources/app/Info.plist.in
++++ python3/Mac/Resources/app/Info.plist.in
+@@ -18,7 +18,7 @@
+ 		</dict>
+ 	</array>
+ 	<key>CFBundleExecutable</key>
+-	<string>Python</string>
++	<string>LibreOfficePython</string>
+ 	<key>CFBundleGetInfoString</key>
+ 	<string>%version%, (c) 2004-2013 Python Software Foundation.</string>
+ 	<key>CFBundleHelpBookFolder</key>


More information about the Libreoffice-commits mailing list