chessx: update to 1.5.6.

Removed upstream patches as they are already present in v1.5.6.
This commit is contained in:
UsernameRandomlyGenerated 2021-03-01 11:11:29 +01:00 committed by Érico Nogueira Rolim
parent f4b93ce943
commit 150f098d37
3 changed files with 2 additions and 85 deletions

View file

@ -1,33 +0,0 @@
From 2e300dfa4f6915a752d17c465b8d932849e17910 Mon Sep 17 00:00:00 2001
From: Isarhamster <frodo.hobbit@gmx.net>
Date: Sun, 17 May 2020 18:23:30 +0200
Subject: [PATCH] Remove a couple of unmaintained translations from resource
---
resources.qrc | 5 -----
1 file changed, 5 deletions(-)
diff --git a/resources.qrc b/resources.qrc
index c826912f..770f9934 100644
--- resources.qrc
+++ resources.qrc
@@ -12,11 +12,7 @@
<file alias="help/about4.html">data/help/about4.html</file>
<file alias="help/about5.html">data/help/about5.html</file>
<file alias="help/about6.html">data/help/about6.html</file>
- <file alias="i18n/chessx_da.qm">i18n/chessx_da.qm</file>
<file alias="i18n/chessx_de.qm">i18n/chessx_de.qm</file>
- <file alias="i18n/chessx_fr.qm">i18n/chessx_fr.qm</file>
- <file alias="i18n/chessx_it.qm">i18n/chessx_it.qm</file>
- <file alias="i18n/chessx_cz.qm">i18n/chessx_cz.qm</file>
<file alias="images/accept.png">data/images/accept.png</file>
<file alias="images/annotate.png">data/images/annotate.png</file>
<file alias="images/arrow_green.png">data/images/arrow_green.png</file>
@@ -180,7 +176,6 @@
<file alias="themes/shadow/leipzig.png">data/themes/shadow/leipzig.png</file>
<file alias="themes/shadow/merida.png">data/themes/shadow/merida.png</file>
<file alias="themes/shadow/spatial.png">data/themes/shadow/spatial.png</file>
- <file alias="i18n/chessx_ru.qm">i18n/chessx_ru.qm</file>
<file alias="images/threat_black.png">data/images/threat_black.png</file>
<file alias="images/threat_white.png">data/images/threat_white.png</file>
<file alias="images/black_wall.png">data/images/black_wall.png</file>

View file

@ -1,50 +0,0 @@
From 346a9dd4e8d913c846b2cfcb48290eb065ee149c Mon Sep 17 00:00:00 2001
From: Eugene Rysaj <eugene.rysaj@gmail.com>
Date: Fri, 15 May 2020 13:38:49 +0300
Subject: [PATCH] Extract translations into separate resource file
This makes easier enabling/disabling localizations.
---
chessx.pro | 2 +-
resources.qrc | 1 -
translations.qrc | 6 ++++++
3 files changed, 7 insertions(+), 2 deletions(-)
create mode 100644 translations.qrc
diff --git a/chessx.pro b/chessx.pro
index 8e1364e1..22fc0163 100644
--- chessx.pro
+++ chessx.pro
@@ -481,7 +481,7 @@ lc0 {
}
RESOURCES = \
- resources.qrc
+ resources.qrc translations.qrc
TRANSLATIONS = i18n/chessx_de.ts
diff --git a/resources.qrc b/resources.qrc
index 770f9934..172405eb 100644
--- resources.qrc
+++ resources.qrc
@@ -12,7 +12,6 @@
<file alias="help/about4.html">data/help/about4.html</file>
<file alias="help/about5.html">data/help/about5.html</file>
<file alias="help/about6.html">data/help/about6.html</file>
- <file alias="i18n/chessx_de.qm">i18n/chessx_de.qm</file>
<file alias="images/accept.png">data/images/accept.png</file>
<file alias="images/annotate.png">data/images/annotate.png</file>
<file alias="images/arrow_green.png">data/images/arrow_green.png</file>
diff --git a/translations.qrc b/translations.qrc
new file mode 100644
index 00000000..d0428c8b
--- /dev/null
+++ translations.qrc
@@ -0,0 +1,6 @@
+<RCC>
+ <qresource prefix="/">
+ <file alias="i18n/chessx_de.qm">i18n/chessx_de.qm</file>
+ </qresource>
+</RCC>
+

View file

@ -1,6 +1,6 @@
# Template file for 'chessx'
pkgname=chessx
version=1.5.4
version=1.5.6
revision=1
build_style=qmake
hostmakedepends="qt5-tools"
@ -10,7 +10,7 @@ maintainer="cipr3s <cipr3s@gmx.com>"
license="GPL-2.0-only"
homepage="https://chessx.sourceforge.io"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tgz"
checksum=e2dbacff2a6c055cfbe4ce0344331f77262867e228a5fe2895e6c242772065a8
checksum=d09a4b534a909c5f1a398c64065049a2fdf30497bc81ccbdf0d940412364d205
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-multimedia-devel qt5-speech-devel qt5-svg-devel"