View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002928 | FreeCAD | Feature | public | 2017-02-26 15:24 | 2017-03-01 09:54 |
Reporter | blacey | Assigned To | wmayer | ||
Priority | low | Severity | tweak | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Platform | Apple | OS | macOS | OS Version | Sierra |
Product Version | 0.17 | ||||
Target Version | 0.17 | ||||
Summary | 0002928: Re-factor macOS bundle to deprecate <bundle>/bin in favor of <bundle>/MacOS | ||||
Description | Recently it was discovered that the Qt framework expects the executable path to be launched from <bundle>/MacOS/ or it will not locate the qt.conf file. This is but one example where our non-standard use of <bin> within the bundle layout can cause problems. Another recent example is that @wmayer wrote a small wrapper around PySide2 installed in bin however on macOS, it must be installed in <bundle>/MacOS or it will not be loaded during application initialization. Currently, MacOS and bin both exist in the bundle with symlinks between them. The scope of this PR is to move all executables, specifically FreeCAD, FreeCADCmd and PySide/* to MacOS, eliminate all the symlinks to bin and remove bin. This will affect CMakeLists.txt, the bundle template under src/MacAppBundle and the src/Tools/MakeMacAppRelocatable.py script (need to update search paths accordingly). | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
FreeCAD: master d9641875 2017-03-01 06:47:54 Committer: wmayer Details Diff |
Install macOS bundle executables into MacOS * Previously, the macOS bundle executables were installed into bin which does not adhere to Apple guidelines and causes issues with certain frameworks like Qt. The install has been refactored to install the executables into MacOS Fixes 0002928 |
Affected Issues 0002928 |
|
mod - CMakeLists.txt | Diff File | ||
rm - src/MacAppBundle/FreeCAD.app/Contents/MacOS/PySide | Diff File | ||
rm - src/MacAppBundle/FreeCAD.app/Contents/bin/FreeCAD | Diff File | ||
mod - src/Main/CMakeLists.txt | Diff File | ||
mod - src/Tools/MakeMacBundleRelocatable.py | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-02-26 15:24 | blacey | New Issue | |
2017-02-26 15:24 | blacey | Status | new => assigned |
2017-02-26 15:24 | blacey | Assigned To | => blacey |
2017-02-26 15:27 | blacey | Description Updated | |
2017-03-01 06:53 | blacey | Note Added: 0008481 | |
2017-03-01 09:54 | wmayer | Changeset attached | => FreeCAD master d9641875 |
2017-03-01 09:54 | wmayer | Note Added: 0008482 | |
2017-03-01 09:54 | wmayer | Assigned To | blacey => wmayer |
2017-03-01 09:54 | wmayer | Status | assigned => closed |
2017-03-01 09:54 | wmayer | Resolution | open => fixed |