diff options
author | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2012-10-07 16:39:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-10-11 21:37:54 +0900 |
commit | 21dec2a13433f7b9518aec0059caae2780be0dde (patch) | |
tree | 7f828ac560af7c30bce21390864b54fa17235737 /packaging/macosx/README | |
parent | 94c98865a7a9de833e8ebb593d3db1058246e410 (diff) | |
download | subsurface-21dec2a13433f7b9518aec0059caae2780be0dde.tar.gz |
More gtk-mac-bundler improvements
Without "-headerpad_max_install_names", gtk-mac-bundler would complain
with "changing install names or rpaths can't be redone for:
/Applications/.subsurface.app/Contents/MacOS/subsurface-bin (for
architecture x86_64) because larger updated load commands do not fit"
Also, libdivecomputer needs to be configured with --with-prefix=/opt/local
Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/macosx/README')
-rw-r--r-- | packaging/macosx/README | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/packaging/macosx/README b/packaging/macosx/README index 88a383db9..a1a7cdad5 100644 --- a/packaging/macosx/README +++ b/packaging/macosx/README @@ -1,22 +1,27 @@ Creating a Subsurface bundle +============================ install gtk-mac-bundler (this has been tested with version 0.7.0) and run -gtk-mac-bundler subsurface.bundle + $ 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: +Caveats +------- -sudo port install pango +builtin_modules +no_x11 +quartz +* You need (at least with MacPorts) 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: +* 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 + $ sudo cp /usr/lib/charset.alias /opt/local/lib +* libdivecomputer needs to be configured with --with-prefix=/opt/local |