New upstream version 1.2.8
Markus Koschany
3 years ago
0 | 1.2.8 | |
1 | ----- | |
2 | * FIXED: Did not load locales with underscores. | |
3 | * Improved Windows deployment. | |
4 | ||
0 | 5 | 1.2.7 |
1 | 6 | ----- |
2 | 7 | * FIXED: Was not loading KDE icon theme. |
69 | 69 | <kudo>ModernToolkit</kudo> |
70 | 70 | </kudos> |
71 | 71 | |
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" /> | |
94 | 73 | |
95 | 74 | <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> | |
96 | 83 | <release version="1.2.7" date="2019-08-07"> |
97 | 84 | <description> |
98 | 85 | <ul> |
1 | 1 | |
2 | 2 | APP='Peg-E' |
3 | 3 | BUNDLE="$APP.app" |
4 | VERSION='1.2.7' | |
4 | VERSION='1.2.8' | |
5 | 5 | |
6 | 6 | # Remove any previous disk folder or DMG |
7 | 7 | echo -n 'Preparing... ' |
11 | 11 | CONFIG(debug, debug|release) { |
12 | 12 | CONFIG += warn_on |
13 | 13 | DEFINES += QT_DEPRECATED_WARNINGS |
14 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x051300 | |
14 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x051400 | |
15 | 15 | DEFINES += QT_NO_NARROWING_CONVERSIONS_IN_CONNECT |
16 | 16 | } |
17 | 17 | |
18 | 18 | # 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 | |
24 | 22 | |
25 | 23 | # Set program version |
26 | VERSION = 1.2.7 | |
24 | VERSION = 1.2.8 | |
27 | 25 | DEFINES += VERSIONSTR=\\\"$${VERSION}\\\" |
28 | 26 | |
29 | 27 | # Set program name |
0 | 0 | /*********************************************************************** |
1 | 1 | * |
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> | |
3 | 3 | * |
4 | 4 | * This program is free software: you can redistribute it and/or modify |
5 | 5 | * it under the terms of the GNU General Public License as published by |
100 | 100 | if (!m_current.isEmpty()) { |
101 | 101 | QLocale::setDefault(m_current); |
102 | 102 | } |
103 | const QLocale locale; | |
103 | const QString locale = QLocale().name(); | |
104 | 104 | |
105 | 105 | // Load translators |
106 | 106 | static QTranslator translator; |
107 | if (translator.load(locale, m_appname, "", m_path)) { | |
107 | if (translator.load(m_appname + locale, m_path)) { | |
108 | 108 | QCoreApplication::installTranslator(&translator); |
109 | 109 | |
110 | 110 | const QString path = QLibraryInfo::location(QLibraryInfo::TranslationsPath); |
111 | 111 | |
112 | 112 | 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)) { | |
114 | 114 | QCoreApplication::installTranslator(&qtbase_translator); |
115 | 115 | } |
116 | 116 | |
117 | 117 | 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)) { | |
119 | 119 | QCoreApplication::installTranslator(&qt_translator); |
120 | 120 | } |
121 | 121 | } |
0 | 0 | /*********************************************************************** |
1 | 1 | * |
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> | |
3 | 3 | * |
4 | 4 | * This program is free software: you can redistribute it and/or modify |
5 | 5 | * it under the terms of the GNU General Public License as published by |
232 | 232 | "<p align='center'>%6<br/><small>%7</small></p>") |
233 | 233 | .arg(tr("Peg-E"), QCoreApplication::applicationVersion(), |
234 | 234 | tr("Peg elimination game"), |
235 | tr("Copyright © 2009-%1 Graeme Gott").arg("2019"), | |
235 | tr("Copyright © 2009-%1 Graeme Gott").arg("2020"), | |
236 | 236 | tr("Released under the <a href=%1>GPL 3</a> license").arg("\"http://www.gnu.org/licenses/gpl.html\""), |
237 | 237 | tr("Uses icons from the <a href=%1>Oxygen</a> icon theme").arg("\"http://www.oxygen-icons.org/\""), |
238 | 238 | tr("Used under the <a href=%1>LGPL 3</a> license").arg("\"http://www.gnu.org/licenses/lgpl.html\"")) |
3 | 3 | !define APPNAME "Peg-E" |
4 | 4 | !define VERSIONMAJOR 1 |
5 | 5 | !define VERSIONMINOR 2 |
6 | !define VERSIONPATCH 7 | |
6 | !define VERSIONPATCH 8 | |
7 | 7 | !define APPVERSION "${VERSIONMAJOR}.${VERSIONMINOR}.${VERSIONPATCH}" |
8 | 8 | !define ABOUTURL "https://gottcode.org/peg-e/" |
9 | 9 |
2 | 2 | @ECHO OFF |
3 | 3 | |
4 | 4 | SET APP=Peg-E |
5 | SET VERSION=1.2.7 | |
5 | SET VERSION=1.2.8 | |
6 | 6 | |
7 | 7 | ECHO Copying executable |
8 | 8 | MKDIR %APP% |
9 | 9 | COPY release\%APP%.exe %APP% >nul |
10 | strip %APP%\%APP%.exe | |
11 | 10 | |
12 | 11 | ECHO Copying translations |
13 | 12 | SET TRANSLATIONS=%APP%\translations |
20 | 19 | XCOPY /Q /S /Y icons\oxygen\hicolor %ICONS% >nul |
21 | 20 | |
22 | 21 | 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 | |
24 | 23 | RMDIR /S /Q %APP%\imageformats |
25 | 24 | |
26 | 25 | ECHO Creating ReadMe |