diff --git a/platforms/ios/README b/platforms/ios/README index 436db0880..09d5f77ba 100644 --- a/platforms/ios/README +++ b/platforms/ios/README @@ -1,18 +1,20 @@ iOS build instruction. +Update config.h with the correct release version or pick it from a CMake build. + copy the following files at the root dir cp platforms/ios/config.h . cp platforms/ios/gcompris.pro . At root dir create the directory mkdir rcc mkdir translations And fill copy the appropriate files in them. Create a build directory: mkdir build-ios ~/Qt/5.5/ios/bin/qmake ../gcompris.pro open gcompris.xcodeproj Fix the Launch reference to point the Launch item in the xcassets diff --git a/platforms/ios/config.h b/platforms/ios/config.h index 33ed51602..3edab6e1b 100644 --- a/platforms/ios/config.h +++ b/platforms/ios/config.h @@ -1,39 +1,45 @@ /* GCompris - config.h * * Copyright (C) 2015 Bruno Coudoin * * Authors: * Bruno Coudoin * * 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 . */ #ifndef GCOMPRIS_CONFIG_H #define GCOMPRIS_CONFIG_H -/* Version number of package */ -#define VERSION "0.52" +/* Version number of package (string) */ +#define VERSION "0.80" +/* Version number of package (integer) */ +#define VERSION_CODE 8000 /* Folder where rccs and translations are installed */ #ifdef Q_OS_MAC #define GCOMPRIS_DATA_FOLDER "." #else #define GCOMPRIS_DATA_FOLDER "../bin/gcompris-qt.app/Contents/MacOS" #endif /* GCompris for android, gcompris-qt for others */ #define GCOMPRIS_APPLICATION_NAME "gcompris-qt" /* Compressed audio format */ #define COMPRESSED_AUDIO "aac" /* Download Allowed */ #define DOWNLOAD_ALLOWED "ON" +/* Date at which GCompris has been built */ +#define BUILD_DATE "201757" +/* Type of activation system */ +#define ACTIVATION_MODE "no" #endif // GCOMPRIS_CONFIG_H diff --git a/platforms/macosx/README b/platforms/macosx/README index 142dbf648..66eb79ffc 100644 --- a/platforms/macosx/README +++ b/platforms/macosx/README @@ -1,31 +1,33 @@ MacOSX build instruction. +Update config.h with the correct release version or pick it from a CMake build. + copy the following files at the root dir cp config.h ../.. cp gcompris.pro ../.. cp gcompris.icns ../.. At root dir create the directory mkdir rcc mkdir translations And fill copy the appropriate files in them. Create a build directory: mkdir build-macosx cd build-macosx ~/Qt/5.5/clang_64/bin/qmake -config release ../gcompris.pro make codesign --deep -s "3rd Party Mac Developer Application: Bruno Coudoin" --entitlements ../platforms/macosx/gcompris.entitlements gcompris.app /Users/bdoin/Qt/5.5/clang_64//bin/macdeployqt gcompris.app -executable=/Users/bdoin/Projets/gcompris/build-macosx/gcompris.app/Contents/MacOS/gcompris -always-overwrite -qmldir=/Users/bdoin/Projets/gcompris/src -codesign="3rd Party Mac Developer Application: Bruno Coudoin" -verbose=2 codesign --deep -s "3rd Party Mac Developer Application: Bruno Coudoin" gcompris.app/Contents/Resources/translations/* codesign --deep -s "3rd Party Mac Developer Application: Bruno Coudoin" gcompris.app/Contents/Resources/rcc/* make product To test it: sudo installer -store -pkg gcompris.pkg -target / diff --git a/platforms/macosx/config.h b/platforms/macosx/config.h index da25a629e..f2cd07ddc 100644 --- a/platforms/macosx/config.h +++ b/platforms/macosx/config.h @@ -1,35 +1,41 @@ /* GCompris - config.h * * Copyright (C) 2016 Bruno Coudoin * * Authors: * Bruno Coudoin * * 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 . */ #ifndef GCOMPRIS_CONFIG_H #define GCOMPRIS_CONFIG_H -/* Version number of package */ -#define VERSION "0.60" +/* Version number of package (string) */ +#define VERSION "0.80" +/* Version number of package (integer) */ +#define VERSION_CODE 8000 /* Folder where rccs and translations are installed */ #define GCOMPRIS_DATA_FOLDER "../Resources" /* GCompris for android, gcompris-qt for others */ #define GCOMPRIS_APPLICATION_NAME "gcompris-qt" /* Compressed audio format */ #define COMPRESSED_AUDIO "aac" /* Download Allowed */ #define DOWNLOAD_ALLOWED "ON" +/* Date at which GCompris has been built */ +#define BUILD_DATE "201757" +/* Type of activation system */ +#define ACTIVATION_MODE "no" #endif // GCOMPRIS_CONFIG_H