From 7a6cc12da28b055abbce6fc34a51c08fba200cb8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 3 Jul 2017 13:30:10 -0700 Subject: Mac packaging - don't move Grantlee plugins I don't know why we moved them from the 5.0 subdirectory, but that seems to break things now. Odd. Signed-off-by: Dirk Hohndel --- packaging/macosx/make-package.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'packaging/macosx') diff --git a/packaging/macosx/make-package.sh b/packaging/macosx/make-package.sh index 5392f9100..3e122fe17 100755 --- a/packaging/macosx/make-package.sh +++ b/packaging/macosx/make-package.sh @@ -59,22 +59,14 @@ for i in QtScript.framework/Versions/5/QtScript QtCore.framework/Versions/5/QtCo install_name_tool -change @rpath/$i @executable_path/../Frameworks/$i ${LIBG} done -# it seems the compiler in XCode 4.6 doesn't build Grantlee5 correctly, -# so cheat and copy over pre-compiled binaries created with a newer compiler -# and adjust their references to the Grantlee template library -# -# -disabled for now as this is still under more investigation- -# cp -a /Users/hohndel/src/tmp/Subsurface.app/Contents Subsurface.app/ -#cp ${DIR}/tmp/Subsurface.app/Contents/Frameworks/lib{sql,usb,zip}* Subsurface.app/Contents/Frameworks - # clean up shared library dependency in the Grantlee plugins for i in Subsurface.app/Contents/PlugIns/grantlee/5.0/*.so; do OLD=$(otool -L $i | grep libGrantlee_Templates | cut -d\ -f1 | tr -d "\t") SONAME=$(basename $OLD ) install_name_tool -change ${OLD} @executable_path/../Frameworks/${SONAME} $i; - mv $i Subsurface.app/Contents/PlugIns/grantlee + OLD=$(otool -L $i | grep QtCore | cut -d\ -f1 | tr -d "\t") + install_name_tool -change ${OLD} @executable_path/../Frameworks/QtCore.framework/QtCore $i; done -rmdir Subsurface.app/Contents/PlugIns/grantlee/5.0 # copy things into staging so we can create a nice DMG rm -rf ./staging -- cgit v1.2.3-70-g09d2