Commit c42faa7e authored by Claudio Valerio's avatar Claudio Valerio

maac os build successful after rename

parent 06a8d52c
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<key>GID</key> <key>GID</key>
<integer>80</integer> <integer>80</integer>
<key>Path</key> <key>Path</key>
<string>build/macx/release/product/Open-Sankore.app</string> <string>build/macx/release/product/OpenBoard.app</string>
<key>Path Type</key> <key>Path Type</key>
<integer>2</integer> <integer>2</integer>
<key>Privileges</key> <key>Privileges</key>
...@@ -479,9 +479,9 @@ ...@@ -479,9 +479,9 @@
<key>IFPkgDescriptionDeleteWarning</key> <key>IFPkgDescriptionDeleteWarning</key>
<string></string> <string></string>
<key>IFPkgDescriptionDescription</key> <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> <key>IFPkgDescriptionTitle</key>
<string>Open-Sankoré</string> <string>OpenBoard</string>
<key>IFPkgDescriptionVersion</key> <key>IFPkgDescriptionVersion</key>
<string>1.40.b.00</string> <string>1.40.b.00</string>
</dict> </dict>
...@@ -489,15 +489,15 @@ ...@@ -489,15 +489,15 @@
<key>Display Information</key> <key>Display Information</key>
<dict> <dict>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>Open-Sankore 1.0 Copyrights © 2011 Open-Sankoré</string> <string>OpenBoard 1.0 Copyrights © 2013 OpenBoard</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>resources/macx/UniboardDmg.icns</string> <string>resources/macx/OpenBoardDmg.icns</string>
<key>CFBundleIconFile Path Type</key> <key>CFBundleIconFile Path Type</key>
<integer>2</integer> <integer>2</integer>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>org.open-sankore.pkg.Open-Sankore</string> <string>org.OpenBoard.pkg.OpenBoard</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>Open-Sankoré</string> <string>OpenBoard</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.40.b.00</string> <string>1.40.b.00</string>
</dict> </dict>
...@@ -534,7 +534,7 @@ ...@@ -534,7 +534,7 @@
<key>IFPkgFlagPackageSelection</key> <key>IFPkgFlagPackageSelection</key>
<integer>0</integer> <integer>0</integer>
<key>Name</key> <key>Name</key>
<string>Open-Sankore</string> <string>OpenBoard</string>
<key>Status</key> <key>Status</key>
<integer>1</integer> <integer>1</integer>
<key>Type</key> <key>Type</key>
......
...@@ -35,7 +35,7 @@ BASE_QT_TRANSLATIONS_DIRECTORY=../Qt4.8/translations ...@@ -35,7 +35,7 @@ BASE_QT_TRANSLATIONS_DIRECTORY=../Qt4.8/translations
function notify { function notify {
GROWLNOTIFY=`which growlnotify` GROWLNOTIFY=`which growlnotify`
if [ -x "$GROWLNOTIFY" ]; then 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 fi
printf "\033[32m--->\033[0m $1\n" printf "\033[32m--->\033[0m $1\n"
} }
...@@ -80,16 +80,16 @@ done ...@@ -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 if [[ $? -eq 0 ]] && [[ "$script_is_running" = "1" ]]; then
trap EXIT trap EXIT
abort "another release script already running" abort "another release script already running"
fi fi
defaults write com.mnemis.Uniboard.release Running -bool YES defaults write org.oe-f.OpenBoard.release Running -bool YES
# Check for executables # Check for executables
checkExecutable "$QMAKE" checkExecutable "$QMAKE"
...@@ -135,8 +135,8 @@ else ...@@ -135,8 +135,8 @@ else
LAST_COMMITED_VERSION="`git describe $(git rev-list --tags --max-count=1)`" LAST_COMMITED_VERSION="`git describe $(git rev-list --tags --max-count=1)`"
if [ "v$VERSION" != "$LAST_COMMITED_VERSION" ]; then if [ "v$VERSION" != "$LAST_COMMITED_VERSION" ]; then
echo creating a tag with the version $VERSION echo creating a tag with the version $VERSION
git tag -a "v$VERSION" -m "Generated setup for v$VERSION" # git tag -a "v$VERSION" -m "Generated setup for v$VERSION"
git push origin --tags # git push origin --tags
fi fi
fi fi
...@@ -203,7 +203,7 @@ cp *.pdf "$VOLUME" ...@@ -203,7 +203,7 @@ cp *.pdf "$VOLUME"
cp -R "$APP" "$VOLUME" cp -R "$APP" "$VOLUME"
ln -s /Applications "$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=20 --y=60 --width=580 --height=440 "$VOLUME"
$DMGUTIL --set --x=180 --y=120 "$VOLUME/`basename \"$APP\"`" $DMGUTIL --set --x=180 --y=120 "$VOLUME/`basename \"$APP\"`"
$DMGUTIL --set --x=400 --y=120 "$VOLUME/Applications" $DMGUTIL --set --x=400 --y=120 "$VOLUME/Applications"
......
...@@ -208,7 +208,6 @@ ...@@ -208,7 +208,6 @@
<file>webbrowser/notfound.html</file> <file>webbrowser/notfound.html</file>
<file>webbrowser/object-wrapper.html</file> <file>webbrowser/object-wrapper.html</file>
<file alias="PowerPointImport.applescript">macx/PowerPointImport.applescript</file> <file alias="PowerPointImport.applescript">macx/PowerPointImport.applescript</file>
<file>macx/upgrade.sh</file>
<file>podcast/OpenBoard.prx</file> <file>podcast/OpenBoard.prx</file>
<file>www/OpenBoard-web-player.html</file> <file>www/OpenBoard-web-player.html</file>
<file>images/toolbar/tutorial.png</file> <file>images/toolbar/tutorial.png</file>
......
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
<key>CFBundleTypeIconFile</key> <key>CFBundleTypeIconFile</key>
<string>ubz.icns</string> <string>ubz.icns</string>
<key>CFBundleTypeName</key> <key>CFBundleTypeName</key>
<string>com.mnemis.uniboard.document</string> <string>org.oe-f.OpenBoard.document</string>
<key>CFBundleTypeRole</key> <key>CFBundleTypeRole</key>
<string>Editor</string> <string>Editor</string>
<key>LSHandlerRank</key> <key>LSHandlerRank</key>
<string>Owner</string> <string>Owner</string>
<key>LSItemContentTypes</key> <key>LSItemContentTypes</key>
<array> <array>
<string>com.mnemis.uniboard.document</string> <string>org.oe-f.OpenBoard.document</string>
</array> </array>
</dict> </dict>
<dict> <dict>
...@@ -49,19 +49,19 @@ ...@@ -49,19 +49,19 @@
</dict> </dict>
</array> </array>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>Open-Sankore</string> <string>OpenBoard</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>Open-Sankore @SHORT_VERSION@</string> <string>OpenBoard @SHORT_VERSION@</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>Uniboard.icns</string> <string>OpenBoard.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>org.eduxia.open-sankore</string> <string>org.oe-f.OpenBoard</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>5.0.0 (rDEVELOPMENT)</string> <string>5.0.0 (rDEVELOPMENT)</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>UniB</string> <string>OpenB</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>0</string> <string>0</string>
<key>SUPublicDSAKeyFile</key> <key>SUPublicDSAKeyFile</key>
...@@ -70,9 +70,9 @@ ...@@ -70,9 +70,9 @@
<array> <array>
<dict> <dict>
<key>UTTypeIdentifier</key> <key>UTTypeIdentifier</key>
<string>com.mnemis.uniboard.document</string> <string>org.oe-f.OpenBoard.document</string>
<key>UTTypeDescription</key> <key>UTTypeDescription</key>
<string>Open-Sankore document</string> <string>OpenBoard document</string>
<key>UTTypeConformsTo</key> <key>UTTypeConformsTo</key>
<array> <array>
<string>public.presentation</string> <string>public.presentation</string>
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>com.eduxia.pdfworkflow.savepdftoopensankore</string> <string>org.oe-f.pdfworkflow.savepdftoopensankore</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>Save PDF to Open-Sankoré</string> <string>Save PDF to OpenBoard</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>BNDL</string> <string>BNDL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
......
<?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>
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
\ No newline at end of file
# --------------------------------------------------------------------
# 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() ...@@ -74,12 +74,12 @@ void UBPlatformUtils::init()
NSFileManager *fileManager = [NSFileManager defaultManager]; NSFileManager *fileManager = [NSFileManager defaultManager];
[fileManager removeFileAtPath:installedPath handler:nil]; [fileManager removeFileAtPath:installedPath handler:nil];
// removing the old version of the script named Save PDF to Uniboard // 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]; [fileManager createDirectoryAtPath:[installedPath stringByDeletingLastPathComponent] attributes:nil];
BOOL copyOK = [fileManager copyPath:currentPath toPath:installedPath handler:nil]; BOOL copyOK = [fileManager copyPath:currentPath toPath:installedPath handler:nil];
if (!copyOK) if (!copyOK)
{ {
qWarning("Could not install the 'Save PDF to Open-Sankoré workflow"); qWarning("Could not install the 'Save PDF to OpenBoard workflow");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment