Codebase list peg-e / e58ffaa
New upstream version 1.2.8 Markus Koschany 3 years ago
8 changed file(s) with 30 addition(s) and 41 deletion(s). Raw diff Collapse all Expand all
0 1.2.8
1 -----
2 * FIXED: Did not load locales with underscores.
3 * Improved Windows deployment.
4
05 1.2.7
16 -----
27 * FIXED: Was not loading KDE icon theme.
6969 <kudo>ModernToolkit</kudo>
7070 </kudos>
7171
72 <content_rating type="oars-1.0">
73 <content_attribute id="violence-cartoon">none</content_attribute>
74 <content_attribute id="violence-fantasy">none</content_attribute>
75 <content_attribute id="violence-realistic">none</content_attribute>
76 <content_attribute id="violence-bloodshed">none</content_attribute>
77 <content_attribute id="violence-sexual">none</content_attribute>
78 <content_attribute id="drugs-alcohol">none</content_attribute>
79 <content_attribute id="drugs-narcotics">none</content_attribute>
80 <content_attribute id="drugs-tobacco">none</content_attribute>
81 <content_attribute id="sex-nudity">none</content_attribute>
82 <content_attribute id="sex-themes">none</content_attribute>
83 <content_attribute id="language-profanity">none</content_attribute>
84 <content_attribute id="language-humor">none</content_attribute>
85 <content_attribute id="language-discrimination">none</content_attribute>
86 <content_attribute id="social-chat">none</content_attribute>
87 <content_attribute id="social-info">none</content_attribute>
88 <content_attribute id="social-audio">none</content_attribute>
89 <content_attribute id="social-location">none</content_attribute>
90 <content_attribute id="social-contacts">none</content_attribute>
91 <content_attribute id="money-purchasing">none</content_attribute>
92 <content_attribute id="money-gambling">none</content_attribute>
93 </content_rating>
72 <content_rating type="oars-1.1" />
9473
9574 <releases>
75 <release version="1.2.8" date="2020-04-20">
76 <description>
77 <ul>
78 <li>FIXED: Did not load locales with underscores</li>
79 <li>Improved Windows deployment</li>
80 </ul>
81 </description>
82 </release>
9683 <release version="1.2.7" date="2019-08-07">
9784 <description>
9885 <ul>
11
22 APP='Peg-E'
33 BUNDLE="$APP.app"
4 VERSION='1.2.7'
4 VERSION='1.2.8'
55
66 # Remove any previous disk folder or DMG
77 echo -n 'Preparing... '
1111 CONFIG(debug, debug|release) {
1212 CONFIG += warn_on
1313 DEFINES += QT_DEPRECATED_WARNINGS
14 DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x051300
14 DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x051400
1515 DEFINES += QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
1616 }
1717
1818 # Allow in-tree builds
19 !win32 {
20 MOC_DIR = build
21 OBJECTS_DIR = build
22 RCC_DIR = build
23 }
19 MOC_DIR = build
20 OBJECTS_DIR = build
21 RCC_DIR = build
2422
2523 # Set program version
26 VERSION = 1.2.7
24 VERSION = 1.2.8
2725 DEFINES += VERSIONSTR=\\\"$${VERSION}\\\"
2826
2927 # Set program name
00 /***********************************************************************
11 *
2 * Copyright (C) 2010, 2011, 2012, 2014, 2015, 2016, 2018, 2019 Graeme Gott <graeme@gottcode.org>
2 * Copyright (C) 2010, 2011, 2012, 2014, 2015, 2016, 2018, 2019, 2020 Graeme Gott <graeme@gottcode.org>
33 *
44 * This program is free software: you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by
100100 if (!m_current.isEmpty()) {
101101 QLocale::setDefault(m_current);
102102 }
103 const QLocale locale;
103 const QString locale = QLocale().name();
104104
105105 // Load translators
106106 static QTranslator translator;
107 if (translator.load(locale, m_appname, "", m_path)) {
107 if (translator.load(m_appname + locale, m_path)) {
108108 QCoreApplication::installTranslator(&translator);
109109
110110 const QString path = QLibraryInfo::location(QLibraryInfo::TranslationsPath);
111111
112112 static QTranslator qtbase_translator;
113 if (qtbase_translator.load(locale, "qtbase", "_", m_path) || qtbase_translator.load(locale, "qtbase", "_", path)) {
113 if (qtbase_translator.load("qtbase_" + locale, m_path) || qtbase_translator.load("qtbase_" + locale, path)) {
114114 QCoreApplication::installTranslator(&qtbase_translator);
115115 }
116116
117117 static QTranslator qt_translator;
118 if (qt_translator.load(locale, "qt", "_", m_path) || qt_translator.load(locale, "qt", "_", path)) {
118 if (qt_translator.load("qt_" + locale, m_path) || qt_translator.load("qt_" + locale, path)) {
119119 QCoreApplication::installTranslator(&qt_translator);
120120 }
121121 }
00 /***********************************************************************
11 *
2 * Copyright (C) 2009, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Graeme Gott <graeme@gottcode.org>
2 * Copyright (C) 2009, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Graeme Gott <graeme@gottcode.org>
33 *
44 * This program is free software: you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by
232232 "<p align='center'>%6<br/><small>%7</small></p>")
233233 .arg(tr("Peg-E"), QCoreApplication::applicationVersion(),
234234 tr("Peg elimination game"),
235 tr("Copyright &copy; 2009-%1 Graeme Gott").arg("2019"),
235 tr("Copyright &copy; 2009-%1 Graeme Gott").arg("2020"),
236236 tr("Released under the <a href=%1>GPL 3</a> license").arg("\"http://www.gnu.org/licenses/gpl.html\""),
237237 tr("Uses icons from the <a href=%1>Oxygen</a> icon theme").arg("\"http://www.oxygen-icons.org/\""),
238238 tr("Used under the <a href=%1>LGPL 3</a> license").arg("\"http://www.gnu.org/licenses/lgpl.html\""))
33 !define APPNAME "Peg-E"
44 !define VERSIONMAJOR 1
55 !define VERSIONMINOR 2
6 !define VERSIONPATCH 7
6 !define VERSIONPATCH 8
77 !define APPVERSION "${VERSIONMAJOR}.${VERSIONMINOR}.${VERSIONPATCH}"
88 !define ABOUTURL "https://gottcode.org/peg-e/"
99
22 @ECHO OFF
33
44 SET APP=Peg-E
5 SET VERSION=1.2.7
5 SET VERSION=1.2.8
66
77 ECHO Copying executable
88 MKDIR %APP%
99 COPY release\%APP%.exe %APP% >nul
10 strip %APP%\%APP%.exe
1110
1211 ECHO Copying translations
1312 SET TRANSLATIONS=%APP%\translations
2019 XCOPY /Q /S /Y icons\oxygen\hicolor %ICONS% >nul
2120
2221 ECHO Copying Qt
23 %QTDIR%\bin\windeployqt.exe --verbose 0 --release --no-angle --no-opengl-sw --no-svg %APP%\%APP%.exe
22 %QTDIR%\bin\windeployqt.exe --verbose 0 --no-angle --no-opengl-sw --no-svg %APP%\%APP%.exe
2423 RMDIR /S /Q %APP%\imageformats
2524
2625 ECHO Creating ReadMe