subsurface/packaging/macosx
Dirk Hohndel f3b9a37fb2 More fixes to MacOS bundle file and README
This still seems to fail to open the icon in the About screen in some
cases, but we don't quite understand why...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-02 12:13:19 -07:00
..
Info.plist Add packaging files for MacOS 2012-10-01 20:47:50 -07:00
PkgInfo Use the new packaging directory for MacOSX specific files, and provide shell script workaround to make the svg icon reachable. 2011-10-31 09:49:13 +01:00
README More fixes to MacOS bundle file and README 2012-10-02 12:13:19 -07:00
subsurface.bundle More fixes to MacOS bundle file and README 2012-10-02 12:13:19 -07:00
Subsurface.icns Use the new packaging directory for MacOSX specific files, and provide shell script workaround to make the svg icon reachable. 2011-10-31 09:49:13 +01:00
subsurface.sh Fix typos for MacOSX packaging scripts 2012-10-02 11:12:28 -07:00

Creating a Subsurface bundle

install gtk-mac-bundler (this has been tested with version 0.7.0) and run

gtk-mac-bundler subsurface.bundle

This should install a self-contained Subsurface application under /Applications/Subsurface.app
You still need to manually build a DMG if you want to easily distribute this.

One important caveat is that (at least with MacPorts) you need to build pango like this:

sudo port install pango +builtin_modules +no_x11 +quartz

Without the builtin modules the installed application fails to find the modules and doesn't render any text.

Also, it seems that gtk-mac-bundler expects the charset.alias file to be
in the ${prefix}/lib folder which it isn't with the current version of
MacPorts. The following fixes that:

sudo cp /usr/lib/charset.alias /opt/local/lib