On 14.04.17 22:31, Stephan Witt wrote: > Am 12.04.2017 um 21:51 schrieb mn <mno...@gmx.net>:
>>> SVGs are already compressed. What procedure do you propose at shipping time? >> >> >> To use for example this: https://github.com/RazrFalcon/svgcleaner > > I don’t think such things belong to the packaging process. That it is postponeed to shippping time was a concern regarding editability of the files. It seems nobody edits them in the lyx-git, they are imported? So it would be just as good to recompress them now. >>>>>>> I don’t think there are any superfluous Qt frameworks >>>>>>> bundled. But I’ll >>>>>>> check that. In any case I’m not sure it makes a big >>>>>>> difference. >>>>>> >>>>>> As I said, I am neither sure they are superfluous nor >>>>>> convinced LyX needs e.g. multimedia-frameworks or >>>>>> DBus-support on OS X. >>>>> >>>>> The internal dependencies of Qt I cannot change. You’re speculating here. >>>> >>>> Hm, yeah. As I said. But speculating with reason: >>>> >>>> Deleting most of the qt-plugins, and frameworks, like those I >>>> mentioned and audio and dbus and so on: LyX launches, works, >>>> does everything I routinely do. >>>> >>>> Now I thought it maybe that I missed some usage scenario (like >>>> lyx-server and the like) that I just didn't use. But this way, >>>> I doubt if they are really all necessary. If I delete >>>> GUI-framework or image-plugins, then it's in trouble, but >>>> playlist-support, camera, gestures? >> >>> Let’s see how it goes. >> >> to quote: "Prior to codesigning the application bundle, use >> macdeployqt to copy the Qt frameworks and plug-ins into the bundle. >> If you know that your application does not use certain Qt >> frameworks or plug-ins, you can remove them from the bundle to >> reduce its total size." From: >> >> http://blog.qt.io/blog/2012/04/03/how-to-publish-qt-applications-in-the-mac-app-store-2/ >> >> As far as I am convinced remembering it, there was a quite recent >> posting regarding improvements on that front in one of the latest >> releases of Qt but I cannot find it right now. > > I think I know of one unused framework in LyX deployment. It’s > QtDBus and I’ve removed it. > I don’t know anything about the plugins - I’ll leave them in the deployment. > The debug libraries were shipped accidentally - I’ve changed this. > HFS+ compression seems to work and I’ll use it for alpha releases. > Half of the plugins seem to be superfluous. Have you checked with otool against the binary? > In case you’re interested I’ll send you a link for a download of the latest disk image. I am interested. greetings Mike