diff options
Diffstat (limited to 'packaging/macosx/README')
-rw-r--r-- | packaging/macosx/README | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/macosx/README b/packaging/macosx/README index 241057fca..c2c6caaef 100644 --- a/packaging/macosx/README +++ b/packaging/macosx/README @@ -15,6 +15,20 @@ And then things work correctly IFF the app gets installed with that path. What a pain. +Worse, gtk-mac-bundler misses fails to catch the .so files that +are part of the gdk-pixbuf loader infrastructure. So we need to +manually adjust the load paths in them: + +for i in Resources/lib/gdk-pixbuf-2.0/2.10.0/loaders/* ; do \ + ~/gtk-mac-bundler/bundler/run-install-name-tool-change.sh $i \ + /Applications/Subsurface.app/Contents/Resources Resources change ; \ +done + +Finally, you need to change the IDs of the libraries: + +cd packagin/macosx/staging/Subsurface.app/Contents +for i in Resources/lib/*.dylib; do install_name_tool -id "@executable_path/../$i" $i; done + You still need to manually build a DMG if you want to easily distribute this. hdiutil create -volname Subsurface -srcfolder staging Subsurface-<version>.dmg |