Commit 517541fa authored by shibakaneki's avatar shibakaneki

Changed the application name

parent c7cbce30
TARGET = "Sankore 3.1" TARGET = "Sankore"
TEMPLATE = app TEMPLATE = app
THIRD_PARTY_PATH=../Sankore-ThirdParty THIRD_PARTY_PATH=../Sankore-ThirdParty
......
...@@ -46,8 +46,8 @@ else ...@@ -46,8 +46,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 "Generating setup for v$VERSION" git tag -a "v$VERSION" -m "Generating setup for v$VERSION"
# git push origin --tags git push origin --tags
fi fi
fi fi
...@@ -93,10 +93,10 @@ copyQtLibrary libQtCore ...@@ -93,10 +93,10 @@ copyQtLibrary libQtCore
rm -rf install/linux rm -rf install/linux
mkdir -p install/linux mkdir -p install/linux
mv build/linux/release/product build/linux/release/Sankore_3.1.$VERSION mv build/linux/release/product build/linux/release/Sankore.$VERSION
cd build/linux/release cd build/linux/release
# "Removing .svn directories ..." # "Removing .svn directories ..."
find . -name .svn -exec rm -rf {} \; 2> /dev/null find . -name .svn -exec rm -rf {} \; 2> /dev/null
tar cvzf ../../../install/linux/Sankore\ 3.1.tar.gz Sankore_3.1.$VERSION -C . tar cvzf ../../../install/linux/Sankore.tar.gz Sankore.$VERSION -C .
echo "Build Finished" echo "Build Finished"
...@@ -103,11 +103,11 @@ if [ $? != 0 ]; then ...@@ -103,11 +103,11 @@ if [ $? != 0 ]; then
fi fi
NAME="Sankore 3.1" NAME="Sankore"
DMG="$NAME.dmg" DMG="$NAME.dmg"
VOLUME="/Volumes/$NAME" VOLUME="/Volumes/$NAME"
APP="$PRODUCT_DIR/Sankore 3.1.app" APP="$PRODUCT_DIR/Sankore.app"
DSYM_NAME="$NAME (r$SVN_REVISION).dSYM" DSYM_NAME="$NAME (r$SVN_REVISION).dSYM"
DSYM="$PRODUCT_DIR/$DSYM_NAME" DSYM="$PRODUCT_DIR/$DSYM_NAME"
GSYM_i386="$PRODUCT_DIR/$NAME i386.sym" GSYM_i386="$PRODUCT_DIR/$NAME i386.sym"
...@@ -128,8 +128,8 @@ notify "Bulding frameworks ..." ...@@ -128,8 +128,8 @@ notify "Bulding frameworks ..."
$MACDEPLOYQT "$APP" $MACDEPLOYQT "$APP"
notify "Extracting debug information ..." notify "Extracting debug information ..."
$DSYMUTIL "$APP/Contents/MacOS/Sankore 3.1" -o "$DSYM" $DSYMUTIL "$APP/Contents/MacOS/Sankore" -o "$DSYM"
$STRIP -S "$APP/Contents/MacOS/Sankore 3.1" $STRIP -S "$APP/Contents/MacOS/Sankore"
notify "Creating dmg ..." notify "Creating dmg ..."
umount "$VOLUME" 2> /dev/null umount "$VOLUME" 2> /dev/null
......
...@@ -756,7 +756,7 @@ QString UBSettings::uniboardDataDirectory() ...@@ -756,7 +756,7 @@ QString UBSettings::uniboardDataDirectory()
} }
} }
QString qtDataPath = UBFileSystemUtils::normalizeFilePath(UBDesktopServices::storageLocation(QDesktopServices::DataLocation)); QString qtDataPath = UBFileSystemUtils::normalizeFilePath(UBDesktopServices::storageLocation(QDesktopServices::DataLocation));
qtDataPath.replace("/Sankore 3.1", ""); qtDataPath.replace("/Sankore", "");
return qtDataPath; return qtDataPath;
} }
......
...@@ -88,7 +88,7 @@ int main(int argc, char *argv[]) ...@@ -88,7 +88,7 @@ int main(int argc, char *argv[])
QApplication::setGraphicsSystem("raster"); QApplication::setGraphicsSystem("raster");
#endif #endif
UBApplication app("Sankore 3.1", argc, argv); UBApplication app("Sankore", argc, argv);
//BUGFIX: //BUGFIX:
//when importing a sankore file that contains a non standard character //when importing a sankore file that contains a non standard character
......
...@@ -96,7 +96,7 @@ QString UBDesktopServices::storageLocation(StandardLocation type) ...@@ -96,7 +96,7 @@ QString UBDesktopServices::storageLocation(StandardLocation type)
QString path = getFullPath(ref); QString path = getFullPath(ref);
if (QDesktopServices::DataLocation == type || QDesktopServices::CacheLocation == type) if (QDesktopServices::DataLocation == type || QDesktopServices::CacheLocation == type)
path += "/Sankore/Sankore 3.1"; path += "/Sankore/Sankore";
return path; return path;
} }
......
...@@ -31,7 +31,7 @@ UniboardSankoreTransition::UniboardSankoreTransition(QObject *parent) : ...@@ -31,7 +31,7 @@ UniboardSankoreTransition::UniboardSankoreTransition(QObject *parent) :
mUniboardSourceDirectory = UBFileSystemUtils::normalizeFilePath(UBDesktopServices::storageLocation(QDesktopServices::DataLocation)); mUniboardSourceDirectory = UBFileSystemUtils::normalizeFilePath(UBDesktopServices::storageLocation(QDesktopServices::DataLocation));
#if defined(Q_WS_MACX) #if defined(Q_WS_MACX)
mOldSankoreDirectory.replace("Sankore/Sankore 3.1", "Sankore 3.1"); mOldSankoreDirectory.replace("Sankore/Sankore 3.1", "Sankore");
mUniboardSourceDirectory.replace("Sankore/Sankore 3.1", "Uniboard"); mUniboardSourceDirectory.replace("Sankore/Sankore 3.1", "Uniboard");
#else #else
mUniboardSourceDirectory.replace("Sankore/Sankore 3.1", "Mnemis/Uniboard"); mUniboardSourceDirectory.replace("Sankore/Sankore 3.1", "Mnemis/Uniboard");
......
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