fixed the build on mac

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent b2dc1b88b5
commit 7b814aff95
  1. 2
      Sankore_3.1.pro
  2. 6
      release.macx.sh
  3. 8
      resources/macx/Info.plist

@ -126,7 +126,7 @@ macx {
Foundation \ Foundation \
-lcrypto -lcrypto
CONFIG(release, debug|release):CONFIG += x86 ppc CONFIG(release, debug|release):CONFIG += x86
# [03-02-2011] We must use the 32bit version for the moment # [03-02-2011] We must use the 32bit version for the moment
# because the Quicktime components used by this application # because the Quicktime components used by this application

@ -16,7 +16,7 @@
# Executables # Executables
QMAKE="/usr/local/Trolltech/Qt-4.7.3/bin/qmake" QMAKE="/usr/local/Trolltech/Qt-4.7.3/bin/qmake"
MACDEPLOYQT="`pwd`/../Qt-sankore3.1/bin/macdeployqt" MACDEPLOYQT=/usr/local/Trolltech/Qt-4.7.3/bin/macdeployqt
DMGUTIL="`pwd`/../Sankore-ThirdParty/refnum/dmgutil/dmgutil.pl" DMGUTIL="`pwd`/../Sankore-ThirdParty/refnum/dmgutil/dmgutil.pl"
DSYMUTIL=/usr/bin/dsymutil DSYMUTIL=/usr/bin/dsymutil
STRIP=/usr/bin/strip STRIP=/usr/bin/strip
@ -124,7 +124,9 @@ $PLISTBUDDY -c "Set :CFBundleGetInfoString $NAME" "$INFO_PLIST"
# bundle Qt Frameworks into the app bundle # bundle Qt Frameworks into the app bundle
notify "Bulding frameworks ..." notify "Bulding frameworks ..."
$MACDEPLOYQT "$APP" cd "`pwd`/build/macx/release/product/"
$MACDEPLOYQT "`pwd`/Open-Sankore.app"
cd -
notify "Extracting debug information ..." notify "Extracting debug information ..."
$DSYMUTIL "$APP/Contents/MacOS/Open-Sankore" -o "$DSYM" $DSYMUTIL "$APP/Contents/MacOS/Open-Sankore" -o "$DSYM"

@ -49,13 +49,13 @@
</dict> </dict>
</array> </array>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>Sankore 3.1</string> <string>Open-Sankore</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>Sankore 3.1 @SHORT_VERSION@</string> <string>Open-Sankore @SHORT_VERSION@</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>Uniboard.icns</string> <string>Uniboard.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>com.mnemis.sankore_3.1</string> <string>com.sankore.open-sankore</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
@ -72,7 +72,7 @@
<key>UTTypeIdentifier</key> <key>UTTypeIdentifier</key>
<string>com.mnemis.uniboard.document</string> <string>com.mnemis.uniboard.document</string>
<key>UTTypeDescription</key> <key>UTTypeDescription</key>
<string>Uniboard document</string> <string>Open-Sankore document</string>
<key>UTTypeConformsTo</key> <key>UTTypeConformsTo</key>
<array> <array>
<string>public.presentation</string> <string>public.presentation</string>

Loading…
Cancel
Save