Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixup Qt 4 frameworks during hdiutil-codesign for compatibility with …
…GateKeeper in OS X 10.9.5 / 10.10 GateKeeper in OS X 10.9.5 / 10.10 has stricter checks which reject the Qt 4 framework bundles. This commit adds logic to hdiutil-codesign to remove files from the root of the Qt 4 framework bundles which should not be present and add /Versions/4/Resources/Info.plist files and a /Resources symlink. MD-20425 QTBUG-23268
- Loading branch information
Robert Knight
committed
Sep 1, 2014
1 parent
07048b4
commit 4f92019
Showing
3 changed files
with
101 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
OS X Bundle Utilities | ||
===================== | ||
|
||
This repository contains a set of utility scripts | ||
related to packaging Qt applications under OS X. | ||
|
||
### update-mac-bundle-lib-names.rb | ||
|
||
update-mac-bundle-lib-names.rb is a script to replace | ||
references to libraries in binaries in a Mac OS X bundle to refer | ||
to copies of the libraries in the bundle instead of system-wide locations. | ||
|
||
It was originally written for use with a Qt application to ensure that the application | ||
in the bundle used the copies of the Qt libraries instead of copies installed to | ||
system-wide locations. | ||
|
||
See update-mac-bundle-lib-names.rb for more details and usage. | ||
|
||
### hdiutil-codesign.rb | ||
|
||
hdiutil-codesign.rb is a wrapper around the hdiutil command which | ||
CPack uses to generate .dmg disk images for Mac applications. | ||
|
||
In CPack's config file, set CPACK_COMMAND_HDIUTIL to point to this | ||
wrapper script instead of hdiutil. | ||
|
||
When CPack invokes this script with the path of a directory to | ||
compress into a .dmg image, the wrapper script will first codesign | ||
the contents of the app bundle in the directory and then | ||
invoke the real hdiutil tool to create the .dmg image. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters