Experimental Mac package

Dirk Hohndel dirk at hohndel.org
Thu Jan 5 07:34:35 PST 2012


On Thu, 05 Jan 2012 16:08:42 +0100, Henrik Brautaset Aronsen <subsurface at henrik.synth.no> wrote:
> > 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! :)

You tell me :-)
 
> 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.

Yes. And while I haven't tried gimp, I've looked at a couple other
packaged gtk apps. And if you run dtruss against them you'll see that
they try to open random config files in hard coded directories - which
are not part of the package that is shipped :-(

/D


More information about the subsurface mailing list