Re: Gtk on MAC OS X



On 2/12/06, Marius Schamschula <mschamschula gmail com> wrote:
> I'm curious how you build the app under your user directory, but make it
> installable anywhere, given that you specify a fixed prefix.

The prefix is just to make sure all the required files (themes, i18n,
.conf, etc.) get put into the .app directory tree. The wrapper script
determines the install directory at runtime then sets lots of
environment variables which the various libraries then use to find
their data files.

Actually, now I look at the .dmg on the site, it has been statically
linked to gtk and is missing the magic to start the X11 server (just
"open X11" I think). I think I used to have a more elaborate wrapper
than that, sorry. Perhaps I decided it was simpler to use a static
gtk.

Also I should have said: the apple developer docs have a good chapter
on application packaging. I can't give a URL, you need to sign up to
use the site, but it's easy to find.

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]