maac os build successful after rename

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent 06a8d52ca8
commit c42faa7ec0
  1. 16
      OpenBoard.packproj
  2. 16
      release.macx.sh
  3. 1
      resources/OpenBoard.qrc
  4. 0
      resources/etc/OpenBoard.css
  5. 18
      resources/macx/Info.plist
  6. 0
      resources/macx/OpenBoard.icns
  7. 0
      resources/macx/OpenBoardDmg.icns
  8. 4
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Info.plist
  9. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/Dutch.lproj/InfoPlist.strings
  10. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/English.lproj/InfoPlist.strings
  11. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/French.lproj/InfoPlist.strings
  12. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/German.lproj/InfoPlist.strings
  13. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/Italian.lproj/InfoPlist.strings
  14. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/Japanese.lproj/InfoPlist.strings
  15. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/Spanish.lproj/InfoPlist.strings
  16. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/da.lproj/InfoPlist.strings
  17. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/fi.lproj/InfoPlist.strings
  18. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/ko.lproj/InfoPlist.strings
  19. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/no.lproj/InfoPlist.strings
  20. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/pt.lproj/InfoPlist.strings
  21. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/ru.lproj/InfoPlist.strings
  22. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/sv.lproj/InfoPlist.strings
  23. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/zh_CN.lproj/InfoPlist.strings
  24. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/Resources/zh_TW.lproj/InfoPlist.strings
  25. 0
      resources/macx/Save PDF to OpenBoard.workflow/Contents/document.wflow
  26. 22
      resources/macx/appcast-mac.xml
  27. 28
      resources/macx/growl.applescript
  28. 34
      resources/macx/upgrade.sh
  29. 4
      src/frameworks/UBPlatformUtils_mac.mm

@ -75,7 +75,7 @@
<key>GID</key>
<integer>80</integer>
<key>Path</key>
<string>build/macx/release/product/Open-Sankore.app</string>
<string>build/macx/release/product/OpenBoard.app</string>
<key>Path Type</key>
<integer>2</integer>
<key>Privileges</key>
@ -479,9 +479,9 @@
<key>IFPkgDescriptionDeleteWarning</key>
<string></string>
<key>IFPkgDescriptionDescription</key>
<string>Open-Sankore is an hardware independent interactive whiteboard</string>
<string>OpenBoard is an hardware independent interactive whiteboard</string>
<key>IFPkgDescriptionTitle</key>
<string>Open-Sankoré</string>
<string>OpenBoard</string>
<key>IFPkgDescriptionVersion</key>
<string>1.40.b.00</string>
</dict>
@ -489,15 +489,15 @@
<key>Display Information</key>
<dict>
<key>CFBundleGetInfoString</key>
<string>Open-Sankore 1.0 Copyrights © 2011 Open-Sankoré</string>
<string>OpenBoard 1.0 Copyrights © 2013 OpenBoard</string>
<key>CFBundleIconFile</key>
<string>resources/macx/UniboardDmg.icns</string>
<string>resources/macx/OpenBoardDmg.icns</string>
<key>CFBundleIconFile Path Type</key>
<integer>2</integer>
<key>CFBundleIdentifier</key>
<string>org.open-sankore.pkg.Open-Sankore</string>
<string>org.OpenBoard.pkg.OpenBoard</string>
<key>CFBundleName</key>
<string>Open-Sankoré</string>
<string>OpenBoard</string>
<key>CFBundleShortVersionString</key>
<string>1.40.b.00</string>
</dict>
@ -534,7 +534,7 @@
<key>IFPkgFlagPackageSelection</key>
<integer>0</integer>
<key>Name</key>
<string>Open-Sankore</string>
<string>OpenBoard</string>
<key>Status</key>
<integer>1</integer>
<key>Type</key>

@ -35,7 +35,7 @@ BASE_QT_TRANSLATIONS_DIRECTORY=../Qt4.8/translations
function notify {
GROWLNOTIFY=`which growlnotify`
if [ -x "$GROWLNOTIFY" ]; then
$GROWLNOTIFY --name uniboard-build --iconpath /Developer/Applications/Xcode.app --message "$1" "Uniboard"
$GROWLNOTIFY --name OpenBoard-build --iconpath /Developer/Applications/Xcode.app --message "$1" "OpenBoard"
fi
printf "\033[32m--->\033[0m $1\n"
}
@ -80,16 +80,16 @@ done
}
trap "defaults write com.mnemis.Uniboard.release Running -bool NO" EXIT
trap "defaults write org.oe-f.OpenBoard.release Running -bool NO" EXIT
notify "Running Uniboard release script (`date`)"
notify "Running OpenBoard release script (`date`)"
script_is_running=`defaults read com.mnemis.Uniboard.release Running 2>/dev/null`
script_is_running=`defaults read org.oe-f.OpenBoard.release Running 2>/dev/null`
if [[ $? -eq 0 ]] && [[ "$script_is_running" = "1" ]]; then
trap EXIT
abort "another release script already running"
fi
defaults write com.mnemis.Uniboard.release Running -bool YES
defaults write org.oe-f.OpenBoard.release Running -bool YES
# Check for executables
checkExecutable "$QMAKE"
@ -135,8 +135,8 @@ else
LAST_COMMITED_VERSION="`git describe $(git rev-list --tags --max-count=1)`"
if [ "v$VERSION" != "$LAST_COMMITED_VERSION" ]; then
echo creating a tag with the version $VERSION
git tag -a "v$VERSION" -m "Generated setup for v$VERSION"
git push origin --tags
# git tag -a "v$VERSION" -m "Generated setup for v$VERSION"
# git push origin --tags
fi
fi
@ -203,7 +203,7 @@ cp *.pdf "$VOLUME"
cp -R "$APP" "$VOLUME"
ln -s /Applications "$VOLUME"
$DMGUTIL --set --iconsize=96 --toolbar=false --icon=resources/macx/UniboardDmg.icns "$VOLUME"
$DMGUTIL --set --iconsize=96 --toolbar=false --icon=resources/macx/OpenBoard.icns "$VOLUME"
$DMGUTIL --set --x=20 --y=60 --width=580 --height=440 "$VOLUME"
$DMGUTIL --set --x=180 --y=120 "$VOLUME/`basename \"$APP\"`"
$DMGUTIL --set --x=400 --y=120 "$VOLUME/Applications"

@ -208,7 +208,6 @@
<file>webbrowser/notfound.html</file>
<file>webbrowser/object-wrapper.html</file>
<file alias="PowerPointImport.applescript">macx/PowerPointImport.applescript</file>
<file>macx/upgrade.sh</file>
<file>podcast/OpenBoard.prx</file>
<file>www/OpenBoard-web-player.html</file>
<file>images/toolbar/tutorial.png</file>

@ -8,14 +8,14 @@
<key>CFBundleTypeIconFile</key>
<string>ubz.icns</string>
<key>CFBundleTypeName</key>
<string>com.mnemis.uniboard.document</string>
<string>org.oe-f.OpenBoard.document</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.mnemis.uniboard.document</string>
<string>org.oe-f.OpenBoard.document</string>
</array>
</dict>
<dict>
@ -49,19 +49,19 @@
</dict>
</array>
<key>CFBundleExecutable</key>
<string>Open-Sankore</string>
<string>OpenBoard</string>
<key>CFBundleGetInfoString</key>
<string>Open-Sankore @SHORT_VERSION@</string>
<string>OpenBoard @SHORT_VERSION@</string>
<key>CFBundleIconFile</key>
<string>Uniboard.icns</string>
<string>OpenBoard.icns</string>
<key>CFBundleIdentifier</key>
<string>org.eduxia.open-sankore</string>
<string>org.oe-f.OpenBoard</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>5.0.0 (rDEVELOPMENT)</string>
<key>CFBundleSignature</key>
<string>UniB</string>
<string>OpenB</string>
<key>CFBundleVersion</key>
<string>0</string>
<key>SUPublicDSAKeyFile</key>
@ -70,9 +70,9 @@
<array>
<dict>
<key>UTTypeIdentifier</key>
<string>com.mnemis.uniboard.document</string>
<string>org.oe-f.OpenBoard.document</string>
<key>UTTypeDescription</key>
<string>Open-Sankore document</string>
<string>OpenBoard document</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.presentation</string>

@ -3,11 +3,11 @@
<plist version="1.0">
<dict>
<key>CFBundleIdentifier</key>
<string>com.eduxia.pdfworkflow.savepdftoopensankore</string>
<string>org.oe-f.pdfworkflow.savepdftoopensankore</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Save PDF to Open-Sankoré</string>
<string>Save PDF to OpenBoard</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:ub="http://uniboard.mnemis.com/software" version="2.0">
<channel>
<title>Uniboard</title>
<link>http://www.mnemis.com</link>
<description>Uniboard Appcast</description>
<item>
<title>Uniboard 4.5.4</title>
<description>Download the new version of Uniboard 4</description>
<link>http://assets.getuniboard.com/installer/Uniboard 4.5.4.dmg</link>
<ub:version>4.5.4.3093</ub:version>
<pubDate>Thu, 9 Apr 2010 14:44:00 CET</pubDate>
</item>
<item>
<title>Uniboard <%= version %></title>
<description>Download the new version of Uniboard 4</description>
<link>http://assets.getuniboard.com/installer/<%= installer_filename %></link>
<ub:version><%= long_version %></ub:version>
<pubDate><%= rssdatetime %></pubDate>
</item>
</channel>
</rss>

@ -1,28 +0,0 @@
tell application "System Events"
set isRunning to Â
(count of (every process whose name is "GrowlHelperApp")) > 0
end tell
if isRunning then
tell application "GrowlHelperApp"
-- Make a list of all the notification types
-- that this script will ever send:
set the allNotificationsList to Â
{"Uniboard Update Install"}
set the enabledNotificationsList to Â
{"Uniboard Update Install"}
register as application Â
"Uniboard" all notifications allNotificationsList Â
default notifications enabledNotificationsList Â
icon of application "Uniboard"
notify with name Â
"Uniboard Update Install" title Â
"Uniboard" description Â
"Uniboard is installing a new version." application name "Uniboard"
end tell
end if

@ -1,34 +0,0 @@
# --------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# ---------------------------------------------------------------------
#!/bin/bash
#
# Usage: upgrade.sh "Uniboard 4.3.5" "/Users/Name/Downloads/Uniboard 4.3.5.dmg" "/Applications/Uniboard.app"
#
DMG_NAME=$1
DMG_PATH=$2
TARGET_PATH=$3
umount "$DMG_NAME" 2> /dev/null
hdiutil attach "$DMG_PATH" -nobrowse
rm -rf "$TARGET_PATH"
cp -R "/Volumes/$DMG_NAME/Uniboard.app" "$TARGET_PATH"
hdiutil detach "/Volumes/$DMG_NAME"
open $TARGET_PATH

@ -74,12 +74,12 @@ void UBPlatformUtils::init()
NSFileManager *fileManager = [NSFileManager defaultManager];
[fileManager removeFileAtPath:installedPath handler:nil];
// removing the old version of the script named Save PDF to Uniboard
[fileManager removeFileAtPath:[[[@"~/Library/PDF Services" stringByExpandingTildeInPath] stringByAppendingPathComponent:@"Save PDF to Uniboard"] stringByAppendingPathExtension:@"workflow"] handler:nil];
[fileManager removeFileAtPath:[[[@"~/Library/PDF Services" stringByExpandingTildeInPath] stringByAppendingPathComponent:@"Save PDF to OpenBoard"] stringByAppendingPathExtension:@"workflow"] handler:nil];
[fileManager createDirectoryAtPath:[installedPath stringByDeletingLastPathComponent] attributes:nil];
BOOL copyOK = [fileManager copyPath:currentPath toPath:installedPath handler:nil];
if (!copyOK)
{
qWarning("Could not install the 'Save PDF to Open-Sankoré workflow");
qWarning("Could not install the 'Save PDF to OpenBoard workflow");
}
}

Loading…
Cancel
Save