Github messages for voidlinux
 help / color / mirror / Atom feed
From: leahneukirchen <leahneukirchen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [wip] chessx: update to 1.5.4.
Date: Sun, 07 Feb 2021 14:28:04 +0100	[thread overview]
Message-ID: <20210207132804.r_bTARry-mKAWywCUl9uSeM5e9a2sEt-W8FmI0GhXhw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28561@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]

There is an updated pull request by leahneukirchen against master on the void-packages repository

https://github.com/UsernameRandomlyGenerated/void-packages chessx154
https://github.com/void-linux/void-packages/pull/28561

[wip] chessx: update to 1.5.4.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/28561.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chessx154-28561.patch --]
[-- Type: text/x-diff, Size: 5887 bytes --]

From 74082f4179c6a709e1655faae7d08748aed1357c Mon Sep 17 00:00:00 2001
From: UsernameRandomlyGenerated <coredavid@tutanota.com>
Date: Sun, 7 Feb 2021 11:29:10 +0100
Subject: [PATCH] chessx: update to 1.5.4, add upstream translation patches

---
 ...001-remove-unmaintained-translations.patch | 33 ++++++++++++
 ...slations-into-separate-resource-file.patch | 50 +++++++++++++++++++
 srcpkgs/chessx/template                       | 12 ++---
 3 files changed, 89 insertions(+), 6 deletions(-)
 create mode 100644 srcpkgs/chessx/patches/0001-remove-unmaintained-translations.patch
 create 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
new file mode 100644
index 00000000000..32e495def39
--- /dev/null
+++ b/srcpkgs/chessx/patches/0001-remove-unmaintained-translations.patch
@@ -0,0 +1,33 @@
+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>
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
new file mode 100644
index 00000000000..7e484dad822
--- /dev/null
+++ b/srcpkgs/chessx/patches/0002-extract-translations-into-separate-resource-file.patch
@@ -0,0 +1,50 @@
+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>
++
diff --git a/srcpkgs/chessx/template b/srcpkgs/chessx/template
index 16146fc8bda..da4b1e39474 100644
--- a/srcpkgs/chessx/template
+++ b/srcpkgs/chessx/template
@@ -1,19 +1,19 @@
 # Template file for 'chessx'
 pkgname=chessx
-version=1.5.0
+version=1.5.4
 revision=1
 build_style=qmake
 hostmakedepends="qt5-tools"
-makedepends="qt5-multimedia-devel qt5-svg-devel pulseaudio-devel"
+makedepends="qt5-multimedia-devel qt5-svg-devel qt5-speech-devel pulseaudio-devel"
 short_desc="Open Source chess database"
 maintainer="cipr3s <cipr3s@gmx.com>"
-license="GPL-2"
-homepage="http://chessx.sourceforge.net"
+license="GPL-2.0-only"
+homepage="https://chessx.sourceforge.io"
 distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tgz"
-checksum=d130ad3220821da9ea19e7228222a5528fabca3ca06bc41b4d7f702454f63827
+checksum=e2dbacff2a6c055cfbe4ce0344331f77262867e228a5fe2895e6c242772065a8
 
 if [ -n "$CROSS_BUILD" ]; then
-	hostmakedepends+=" qt5-host-tools qt5-multimedia-devel qt5-svg-devel"
+	hostmakedepends+=" qt5-host-tools qt5-multimedia-devel qt5-speech-devel qt5-svg-devel"
 fi
 
 do_install() {

  parent reply	other threads:[~2021-02-07 13:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-07 10:29 [PR PATCH] " UsernameRandomlyGenerated
2021-02-07 10:34 ` [PR PATCH] [Updated] [wip] " UsernameRandomlyGenerated
2021-02-07 11:29 ` UsernameRandomlyGenerated
2021-02-07 11:30 ` UsernameRandomlyGenerated
2021-02-07 11:32 ` UsernameRandomlyGenerated
2021-02-07 13:28 ` leahneukirchen [this message]
2021-02-10  0:54 ` [PR PATCH] [Merged]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210207132804.r_bTARry-mKAWywCUl9uSeM5e9a2sEt-W8FmI0GhXhw@z \
    --to=leahneukirchen@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).