



photivo.app/Contents/Resources/dataĬp -R ChannelMixers Profiles Presets LensfunDatabase Icons Curves. It can be run to build and bundle photivo. I was using a simple script provided in the following. What is missing, is the desired directory structure. It changes all libs and paths appropriately. Here, macdeployqt comes in handy which ist shipped with qt. Note: A structure similar to the above needs to be put in all files contained in the Frameworks and lib directories in the photivo.app.Īll these changes have to be carried out each time photivo is compiled. usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 625.0.0) usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0) usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version (compatibility version 7.0.0, current version (compatibility version 5.0.0, current version (compatibility version 10.0.0, current version (compatibility version 4.7.0, current version (compatibility version 4.7.0, current version 4.7.0) Otool -L (compatibility version 63.0.0, current version (compatibility version 3.0.0, current version (compatibility version 10.0.0, current version (compatibility version 6.0.0, current version (compatibility version 2401.0.0, current version (compatibility version 0.0.0, current version 0.0.0) The following structure was put in the main photivo executable. The information regarding the frameworks and dynamic libraries needed by photivo at runtime are stored as pointers in the executable as revealed by the otool command. The support files needed by photivo during runtime are put in a directory data inside the Resources directory:ĭata/images Runtime linking of Frameworks and Dynamic Libraries Resources/data/images/photivoPreview.jpg The MacOS directory contains the main photivo executable with some handy links: I manually stripped them off to reduce the size. However, they increase the size of these frameworks substantially. Note: The default QtCore and QtGui frameworks have include files and debug libraries embedded in them, which are not required for redistribution with photovio. The Frameworks directory basically contains the following files: I assembled the photivo.app using the following structure: There is some freedom available in arranging different Mac OS X applications follow a certain directory structure. Those where the key informations to get a proper Mac bundle. The following informations are mainly copied from DJ Joofas build process.
