New Project Home

GTK+OSX is now consolidated at http://gtk-osx.sourceforge.net/, where you'll find up-to-date information about building, bundling, and integrating GTK+ applications on Mac OSX. There is a forum, a mailing list, and a tracker there. The following is deprecated! The current information is at http://sourceforge.net/apps/trac/gtk-osx/wiki/Bundle

App bundles

In order to create application bundles that work on the Mac, you have to set up a directory in a certain way, containing the data your application needs, and also the libraries and modules that it depends on. Some extra care needs to be taken for GTK+ and Pango so that they can find the modules used for pixbuf loading, themes, input methods, and font modules.

The script described here can help you with this task.

Note: This does not work together with the GTK+ framework.

How it works

The scripts reads a bundle definition file and copied the neede files and directories into the bundle. See the included README file for documentation on the bundle definition format, and how to use the script.

Download

The source is available at http://downloads.sourceforge.net/sourceforge/gtk-osx/ige-mac-bundler-0.5.tar.gz or you can clone the repository at git://github.com/jralls/ige-mac-bundler.git

TODO

The script is a bit rough around the edges, and can use some polishing especially the error handling when the bundle file is not correct. The current state works quite well for simple applications like Gossip and Giggle.

Another feature that would be nice to add is to possibility to work with Python and Ruby apps, and to use the GTK+ framework instead of the regular jhbuild setup.

GTK+/OSX/AppBundles (last edited 2009-07-03 21:04:13 by jralls)