mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
That crash is far too easy to hit for people just trying out subsurface. Signed-off-by: Dirk Hohndel <dirk@hohndel.org> |
||
|---|---|---|
| .. | ||
| Info.plist | ||
| PkgInfo | ||
| Read me first.txt | ||
| README | ||
| subsurface.bundle | ||
| Subsurface.icns | ||
| subsurface.sh | ||
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