changeset 1153:1e63105fc82d 3.0-integration

Deploy plugin checker helper; update deployment for current Qt
author Chris Cannam
date Wed, 27 Apr 2016 11:26:49 +0100
parents 2e83525cf638
children 6bb10d3342c8
files deploy/osx/copy-qt.sh deploy/osx/deploy.sh deploy/osx/sign.sh
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/osx/copy-qt.sh	Wed Apr 27 11:04:32 2016 +0100
+++ b/deploy/osx/copy-qt.sh	Wed Apr 27 11:26:49 2016 +0100
@@ -11,7 +11,7 @@
 
 frameworks="QtCore QtNetwork QtGui QtXml QtSvg QtWidgets QtPrintSupport QtDBus"
 
-plugins="dds gif icns ico jp2 jpeg mng tga tiff wbmp webp cocoa minimal offscreen"
+plugins="dds gif icns ico jpeg tga tiff wbmp webp cocoa minimal offscreen"
 
 qtdir=$(grep "Command:" Makefile | head -1 | awk '{ print $3; }' | sed s,/bin/.*,,)
 
--- a/deploy/osx/deploy.sh	Wed Apr 27 11:04:32 2016 +0100
+++ b/deploy/osx/deploy.sh	Wed Apr 27 11:26:49 2016 +0100
@@ -45,6 +45,11 @@
 cp deploy/osx/qt.conf "$source"/Contents/Resources/qt.conf
 
 echo
+echo "Copying in plugin load checker helper."
+cp checker/plugin-checker-helper.app/Contents/MacOS/plugin-checker-helper \
+    "$source"/Contents/MacOS/
+
+echo
 echo "Writing version $bundleVersion in to bundle."
 echo "(This should be a three-part number: major.minor.point)"
 
--- a/deploy/osx/sign.sh	Wed Apr 27 11:04:32 2016 +0100
+++ b/deploy/osx/sign.sh	Wed Apr 27 11:26:49 2016 +0100
@@ -17,6 +17,9 @@
     find "$app" -name \*.dylib -print | while read fr; do
 	codesign -s "Developer ID Application: Chris Cannam" -fv "$fr"
     done
+    find "$app/Contents/MacOS" -type f -print | while read fr; do
+	codesign -s "Developer ID Application: Chris Cannam" -fv "$fr"
+    done
     codesign -s "Developer ID Application: Chris Cannam" -fv \
          --requirements '=designated =>  identifier "org.sonicvisualiser.SonicVisualiser" and ( (anchor apple generic and    certificate leaf[field.1.2.840.113635.100.6.1.9] ) or (anchor apple generic and    certificate 1[field.1.2.840.113635.100.6.2.6]  and    certificate leaf[field.1.2.840.113635.100.6.1.13] and    certificate leaf[subject.OU] = "M2H8666U82"))' \
          "$app"