The main duplicate and large part are the dylibs under Hugin.app/Libraries/. These could be in a folder alongside Hugin.app, PTBatchGui.app and calibratelensgui.app, reducing the total filesize from 231 mb to 231-(2*35)=180mb. Putting the Resources/xrc folder there as well would shave off another 15 mb (resulting in 165mb). Is it worth the effort?
Niklas Am Montag, 18. April 2016 18:05:10 UTC+2 schrieb Harry van der Wolf: > > The fact the mac bundles are that big is due to the "bundle all > dependencies" inside the app. That gives a lot of redundancy in the apps. > That is already for years and years a fact and as long as Apple doesn't > change their policy it will stay that way. > When compiling with XCode this strip functionality is automatically > executed but results in about 10% size reduction. But my information is > going years back. > > Harry > > 2016-04-18 17:07 GMT+02:00 Jan Dubiec <[email protected] <javascript:>>: > >> On 2016-04-18 14:40, Niklas Mischkulnig wrote: >> [...] >> > Maybe there is someone who can tell me exactly what program needs which >> > libraries (especially which boost library) and binaries(like cpfind, >> > celeste, ...) to shrink down the application sizes (currently 2* ~80mb >> > and 1* ~50mb) ? >> I don't know Macs but I'm quite sure that there is strip utility >> (https://en.wikipedia.org/wiki/Strip_%28Unix%29) for Macs. >> >> If you want to know about dependencies, read about CMake's --graphviz >> option. It allows you to generate graphs like this: >> * for the whole project – >> https://www.dropbox.com/s/qunx5o8frhav6lj/HuginHg.pdf?dl=0 >> * for the whole project with external dependencies – >> https://www.dropbox.com/s/qunx5o8frhav6lj/HuginHg.pdf?dl=0 >> * for a module (hugin in this case) – >> https://www.dropbox.com/s/bfsz6byb86o2l89/HuginHg.hugin.pdf?dl=0 >> * for a module with external dependencies – >> https://www.dropbox.com/s/7h1yauyooqo0ggj/HuginHg.hugin-ext.pdf?dl=0. >> >> /J.D. >> >> -- >> A list of frequently asked questions is available at: >> http://wiki.panotools.org/Hugin_FAQ >> --- >> You received this message because you are subscribed to the Google Groups >> "hugin and other free panoramic software" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/hugin-ptx/5714F841.2020009%40onet.pl. >> For more options, visit https://groups.google.com/d/optout. >> > > -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/a7cc3b06-7e9c-4ecd-8d65-866a67480afe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
