Experimental Mac package

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Thu Jan 5 07:08:42 PST 2012


Den 05.01.12 00:26, skrev Dirk Hohndel:
> You really don't want to know.
>
> You do?
>
> Ok. I tried several of the bundle makers and they all failed in various
> stupid ways. Basically gtk wants to open files in the build directory,
> and all the begging in the world appears not to stop it from doing that.
>
> So what I ended up doing is the hack of hacks... I built gtk (and all
> the other related software with
> --prefix /Applications/Subsurface.app/Content/Frameworks/gtk
> I then waited a few minutes, ran the app, tried to exercise all features
> and then removed any file under /Applications/Subsurface.app/Content/...
> that hadn't been accessed in n minutes.
>
> The the rest is packed into a DMG and that's what's on the website.
>
> Ridiculous, I know. But it worked.

Smooth! :)

Okay, doesn't sound very scriptable, but great work anyway!

I've been trying to look into what Gimp.app does, it's got loads of libs 
in /Application/Gimp.app/Contents/Resources/lib/, but doesn't have to be 
run from /Applications.  The Contents/MacOS/Gimp binary is small, and 
seems to invoke Contents/Resources/bin/gimp (which is a script with 
magic pixie dust in it), which runs the main 
Contents/Resources/bin/gimp-2.6 binary.  What a mess.

Henrik



More information about the subsurface mailing list