From e61626876ea17ab0be25a0e0fc15950f70d31c56 Mon Sep 17 00:00:00 2001 From: UsernameRandomlyGenerated Date: Mon, 1 Mar 2021 11:11:29 +0100 Subject: [PATCH] chessx: update to 1.5.6. Removed upstream patches as they are already present in v1.5.6. --- ...001-remove-unmaintained-translations.patch | 33 ------------ ...slations-into-separate-resource-file.patch | 50 ------------------- srcpkgs/chessx/template | 4 +- 3 files changed, 2 insertions(+), 85 deletions(-) delete mode 100644 srcpkgs/chessx/patches/0001-remove-unmaintained-translations.patch delete mode 100644 srcpkgs/chessx/patches/0002-extract-translations-into-separate-resource-file.patch diff --git a/srcpkgs/chessx/patches/0001-remove-unmaintained-translations.patch b/srcpkgs/chessx/patches/0001-remove-unmaintained-translations.patch deleted file mode 100644 index 32e495def39..00000000000 --- a/srcpkgs/chessx/patches/0001-remove-unmaintained-translations.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 2e300dfa4f6915a752d17c465b8d932849e17910 Mon Sep 17 00:00:00 2001 -From: Isarhamster -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 @@ - data/help/about4.html - data/help/about5.html - data/help/about6.html -- i18n/chessx_da.qm - i18n/chessx_de.qm -- i18n/chessx_fr.qm -- i18n/chessx_it.qm -- i18n/chessx_cz.qm - data/images/accept.png - data/images/annotate.png - data/images/arrow_green.png -@@ -180,7 +176,6 @@ - data/themes/shadow/leipzig.png - data/themes/shadow/merida.png - data/themes/shadow/spatial.png -- i18n/chessx_ru.qm - data/images/threat_black.png - data/images/threat_white.png - data/images/black_wall.png diff --git a/srcpkgs/chessx/patches/0002-extract-translations-into-separate-resource-file.patch b/srcpkgs/chessx/patches/0002-extract-translations-into-separate-resource-file.patch deleted file mode 100644 index 7e484dad822..00000000000 --- a/srcpkgs/chessx/patches/0002-extract-translations-into-separate-resource-file.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 346a9dd4e8d913c846b2cfcb48290eb065ee149c Mon Sep 17 00:00:00 2001 -From: Eugene Rysaj -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 @@ - data/help/about4.html - data/help/about5.html - data/help/about6.html -- i18n/chessx_de.qm - data/images/accept.png - data/images/annotate.png - data/images/arrow_green.png -diff --git a/translations.qrc b/translations.qrc -new file mode 100644 -index 00000000..d0428c8b ---- /dev/null -+++ translations.qrc -@@ -0,0 +1,6 @@ -+ -+ -+ i18n/chessx_de.qm -+ -+ -+ diff --git a/srcpkgs/chessx/template b/srcpkgs/chessx/template index da4b1e39474..774af4b4818 100644 --- a/srcpkgs/chessx/template +++ b/srcpkgs/chessx/template @@ -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 " 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"