diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2019-01-08 23:28:14 +0100 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2019-01-08 23:28:14 +0100 |
commit | d1728e33e48d258d72058082a22b0406f48c9e9e (patch) | |
tree | ea3c3bdfd2255c7f00296d65c5a0ee0f4b2620fb /deploy-osx.sh | |
parent | 4c6f7799004b4d10641dfe659a9a7b9af0653513 (diff) | |
parent | 7807d9c60d2574fb58069eb3faf65cd478905ff7 (diff) |
Merge tag 'v2.1' into debian/sid
Diffstat (limited to 'deploy-osx.sh')
-rwxr-xr-x | deploy-osx.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/deploy-osx.sh b/deploy-osx.sh index 15d69f7..98043c0 100755 --- a/deploy-osx.sh +++ b/deploy-osx.sh @@ -1,5 +1,16 @@ # deploy the Mac app bundle. Note the bin/ directory # of Qt should be in your PATH -macdeployqt tikzit.app -dmg +# copy in libraries and set (most) library paths +macdeployqt tikzit.app + +# macdeployqt misses this path for some reason, so fix it +cd tikzit.app/Contents/Frameworks +install_name_tool -id "@executable_path/../Frameworks/libpoppler.83.dylib" libpoppler.83.dylib +install_name_tool -change /usr/local/Cellar/poppler/0.72.0/lib/libpoppler.83.dylib "@executable_path/../Frameworks/libpoppler.83.dylib" libpoppler-qt5.1.dylib +cd ../../.. + +# create DMG +hdiutil create -volname TikZiT -srcfolder tikzit.app -ov -format UDZO tikzit.dmg + |