public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/
@ 2016-05-16 19:23 Michael Sterrett
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Sterrett @ 2016-05-16 19:23 UTC (permalink / raw
  To: gentoo-commits

commit:     e74a4d3c37a99f2743e2b59a71725fef40f5ebc7
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 19:23:10 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Mon May 16 19:23:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74a4d3c

games-board/chessx: version bump

Package-Manager: portage-2.2.28

 games-board/chessx/Manifest                      |  1 +
 games-board/chessx/chessx-1.4.0.ebuild           | 42 ++++++++++++++++++++++++
 games-board/chessx/files/chessx-1.4.0-zlib.patch | 35 ++++++++++++++++++++
 3 files changed, 78 insertions(+)

diff --git a/games-board/chessx/Manifest b/games-board/chessx/Manifest
index b9ac417..0b05449 100644
--- a/games-board/chessx/Manifest
+++ b/games-board/chessx/Manifest
@@ -1 +1,2 @@
 DIST chessx-1.3.2.tgz 4107133 SHA256 b136cf56d37d34867cdb9538176e1703b14f61b3384885b6f100580d0af0a3ff SHA512 a8047b240e793323876615c9d83711a2b28a3855f4e0be9a1823d6a86f9d5155d001c9e44c9ddc2d2da5b87d6c4f2583cfcb49ed96aa7341dca2dceaec6f4e8f WHIRLPOOL 2fcc8dc2f89457b4a7f55cadf70e6b0c4267215e916f0acbaf85135c5240bc34bce207f4e697be7a69c3f0bcab721d0c12c15f4bf07841fc0dcf65e0ce16fefd
+DIST chessx-1.4.0.tgz 4128967 SHA256 e4287235904810a0a1b2cdec3dc33fbc30aa0657c7b7343bd2130bd9626220f4 SHA512 24e3fc60cdddb8a0136f96d6aa07d92e443264ade513be88a8c2eeb2717e04739a9b5963a3536a77aa499a1288c6cd9b8dddb312aae3087979d740f8528ec855 WHIRLPOOL 50cc7b6e6f0aad1dfa12b866171a4e7ce526bc54c77b4b950ab1755d63b584d29def87cef1bab341436f57e8c6818d14181ca5a91d6d050aa33415212028061e

diff --git a/games-board/chessx/chessx-1.4.0.ebuild b/games-board/chessx/chessx-1.4.0.ebuild
new file mode 100644
index 0000000..ad3f6f2
--- /dev/null
+++ b/games-board/chessx/chessx-1.4.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils qmake-utils games
+
+DESCRIPTION="Qt5-based Chess Database Utility"
+HOMEPAGE="http://chessx.sourceforge.net/"
+SRC_URI="http://sourceforge.net/projects/chessx/files/chessx/${PV}/${P}.tgz"
+
+LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtmultimedia:5
+	dev-qt/qtxml:5
+	sys-libs/zlib"
+DEPEND="${RDEPEND}
+	dev-qt/linguist-tools:5"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-zlib.patch
+}
+
+src_configure() {
+	eqmake5
+}
+
+src_install() {
+	dogamesbin release/${PN}
+	dodoc ChangeLog TODO
+	doicon data/images/${PN}.png
+	domenu unix/chessx.desktop
+	prepgamesdirs
+}

diff --git a/games-board/chessx/files/chessx-1.4.0-zlib.patch b/games-board/chessx/files/chessx-1.4.0-zlib.patch
new file mode 100644
index 0000000..36d685d
--- /dev/null
+++ b/games-board/chessx/files/chessx-1.4.0-zlib.patch
@@ -0,0 +1,35 @@
+--- chessx-1.2.2/src/quazip/ioapi.h
++++ chessx-1.2.2-patched/src/quazip/ioapi.h
+@@ -1,3 +1,4 @@
++#define OF(x) x
+ /* ioapi.h -- IO base function header for compress/uncompress .zip
+    files using zlib + zip or unzip API
+ 
+--- chessx-1.2.2/src/quazip/unzip.c
++++ chessx-1.2.2-patched/src/quazip/unzip.c
+@@ -1,3 +1,4 @@
++#define OF(x) x
+ /* unzip.c -- IO for uncompress .zip files using zlib
+    Version 1.01e, February 12th, 2005
+ 
+--- chessx-1.2.2/src/quazip/unzip.h
++++ chessx-1.2.2-patched/src/quazip/unzip.h
+@@ -1,3 +1,4 @@
++#define OF(x) x
+ /* unzip.h -- IO for uncompress .zip files using zlib
+    Version 1.01e, February 12th, 2005
+ 
+--- chessx-1.2.2/src/quazip/zip.c
++++ chessx-1.2.2-patched/src/quazip/zip.c
+@@ -1,3 +1,4 @@
++#define OF(x) x
+ /* zip.c -- IO on .zip files using zlib
+    Version 1.01e, February 12th, 2005
+ 
+--- chessx-1.2.2/src/quazip/zip.h
++++ chessx-1.2.2-patched/src/quazip/zip.h
+@@ -1,3 +1,4 @@
++#define OF(x) x
+ /* zip.h -- IO for compress .zip files using zlib
+    Version 1.01e, February 12th, 2005
+ 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/
@ 2018-07-14 14:57 Andreas Sturmlechner
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2018-07-14 14:57 UTC (permalink / raw
  To: gentoo-commits

commit:     03abcdd2fdabe81f0d54e156134c8b1c498aaa80
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 14 14:42:58 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jul 14 14:55:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03abcdd2

games-board/chessx: 1.4.6 version bump, build with Qt-5.11, fix l10n

Closes: https://bugs.gentoo.org/660536
Package-Manager: Portage-2.3.41, Repoman-2.3.9

 games-board/chessx/Manifest                        |  1 +
 games-board/chessx/chessx-1.4.6.ebuild             | 49 ++++++++++++++++++++++
 games-board/chessx/files/chessx-1.4.0-zlib.patch   | 20 ++++-----
 .../chessx/files/chessx-1.4.6-qt-5.11.patch        | 44 +++++++++++++++++++
 4 files changed, 104 insertions(+), 10 deletions(-)

diff --git a/games-board/chessx/Manifest b/games-board/chessx/Manifest
index a169c1ad7e4..b0eb72d3e1c 100644
--- a/games-board/chessx/Manifest
+++ b/games-board/chessx/Manifest
@@ -1 +1,2 @@
 DIST chessx-1.4.0.tgz 4128967 BLAKE2B 651a83a280ac2766da8f265c59d7f9014d0a7e6988d0ab981e2d9b962ce8ed8e878322d4bca536c156bf4b145e19c661fb68bb8bd7bda7872bc6ac95dc2736e4 SHA512 24e3fc60cdddb8a0136f96d6aa07d92e443264ade513be88a8c2eeb2717e04739a9b5963a3536a77aa499a1288c6cd9b8dddb312aae3087979d740f8528ec855
+DIST chessx-1.4.6.tgz 4223076 BLAKE2B 783ffe0a7396239066870dedcaa4b2b0c491db4f16871afe66bae7a82339916a8a574401499916fc63cf62478efb9b89c30ec85a7aa7c6d002d1119f1a6b23ef SHA512 cfa74e6423e1a2f9bca319e20645ddf8c8df6b46b64493777ca1cc93037e3f7cfc200f99a29236f7c5925448676c312abf34d395e795e7db6ef8a0832c3a523e

diff --git a/games-board/chessx/chessx-1.4.6.ebuild b/games-board/chessx/chessx-1.4.6.ebuild
new file mode 100644
index 00000000000..87b4a82b974
--- /dev/null
+++ b/games-board/chessx/chessx-1.4.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop qmake-utils
+
+DESCRIPTION="Qt5-based Chess Database Utility"
+HOMEPAGE="http://chessx.sourceforge.net/"
+SRC_URI="https://sourceforge.net/projects/chessx/files/chessx/${PV}/${P}.tgz"
+
+LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtmultimedia:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	sys-libs/zlib:="
+DEPEND="${RDEPEND}
+	dev-qt/linguist-tools:5"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.4.0-zlib.patch
+	"${FILESDIR}"/${P}-qt-5.11.patch
+)
+
+src_prepare() {
+	default
+	"$(qt5_get_bindir)/lrelease" i18n/* || die
+}
+
+src_configure() {
+	eqmake5
+}
+
+src_install() {
+	dobin release/${PN}
+	dodoc ChangeLog TODO
+	doicon data/images/${PN}.png
+	domenu unix/chessx.desktop
+}

diff --git a/games-board/chessx/files/chessx-1.4.0-zlib.patch b/games-board/chessx/files/chessx-1.4.0-zlib.patch
index 36d685d9cba..fe6bfb39d50 100644
--- a/games-board/chessx/files/chessx-1.4.0-zlib.patch
+++ b/games-board/chessx/files/chessx-1.4.0-zlib.patch
@@ -1,33 +1,33 @@
---- chessx-1.2.2/src/quazip/ioapi.h
-+++ chessx-1.2.2-patched/src/quazip/ioapi.h
+--- a/src/quazip/ioapi.h
++++ b/src/quazip/ioapi.h
 @@ -1,3 +1,4 @@
 +#define OF(x) x
  /* ioapi.h -- IO base function header for compress/uncompress .zip
     files using zlib + zip or unzip API
  
---- chessx-1.2.2/src/quazip/unzip.c
-+++ chessx-1.2.2-patched/src/quazip/unzip.c
+--- a/src/quazip/unzip.c
++++ b/src/quazip/unzip.c
 @@ -1,3 +1,4 @@
 +#define OF(x) x
  /* unzip.c -- IO for uncompress .zip files using zlib
     Version 1.01e, February 12th, 2005
  
---- chessx-1.2.2/src/quazip/unzip.h
-+++ chessx-1.2.2-patched/src/quazip/unzip.h
+--- a/src/quazip/unzip.h
++++ b/src/quazip/unzip.h
 @@ -1,3 +1,4 @@
 +#define OF(x) x
  /* unzip.h -- IO for uncompress .zip files using zlib
     Version 1.01e, February 12th, 2005
  
---- chessx-1.2.2/src/quazip/zip.c
-+++ chessx-1.2.2-patched/src/quazip/zip.c
+--- a/src/quazip/zip.c
++++ b/src/quazip/zip.c
 @@ -1,3 +1,4 @@
 +#define OF(x) x
  /* zip.c -- IO on .zip files using zlib
     Version 1.01e, February 12th, 2005
  
---- chessx-1.2.2/src/quazip/zip.h
-+++ chessx-1.2.2-patched/src/quazip/zip.h
+--- a/src/quazip/zip.h
++++ b/src/quazip/zip.h
 @@ -1,3 +1,4 @@
 +#define OF(x) x
  /* zip.h -- IO for compress .zip files using zlib

diff --git a/games-board/chessx/files/chessx-1.4.6-qt-5.11.patch b/games-board/chessx/files/chessx-1.4.6-qt-5.11.patch
new file mode 100644
index 00000000000..379de8836b9
--- /dev/null
+++ b/games-board/chessx/files/chessx-1.4.6-qt-5.11.patch
@@ -0,0 +1,44 @@
+From: Luigi Baldoni <aloisio@gmx.com>
+Date: 2018-06-18 13:16:31 +0200
+Subject: Add missing include statements
+References: https://sourceforge.net/p/chessx/bugs/254
+Upstream: submitted
+
+A few explicit include statements are required with Qt 5.11
+---
+Index: chessx-1.4.6/src/gui/gamewindow.cpp
+===================================================================
+--- chessx-1.4.6.orig/src/gui/gamewindow.cpp
++++ chessx-1.4.6/src/gui/gamewindow.cpp
+@@ -9,6 +9,7 @@
+ #include "settings.h"
+ 
+ #include <QToolButton>
++#include <QAction>
+ 
+ #if defined(_MSC_VER) && defined(_DEBUG)
+ #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )
+Index: chessx-1.4.6/src/dialogs/savedialog.cpp
+===================================================================
+--- chessx-1.4.6.orig/src/dialogs/savedialog.cpp
++++ chessx-1.4.6/src/dialogs/savedialog.cpp
+@@ -24,6 +24,7 @@
+ 
+ #include <QLineEdit>
+ #include <QCompleter>
++#include <QButtonGroup>
+ 
+ #if defined(_MSC_VER) && defined(_DEBUG)
+ #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )
+Index: chessx-1.4.6/src/dialogs/preferences.cpp
+===================================================================
+--- chessx-1.4.6.orig/src/dialogs/preferences.cpp
++++ chessx-1.4.6/src/dialogs/preferences.cpp
+@@ -33,6 +33,7 @@
+ #include <QFileDialog>
+ #include <QDesktopServices>
+ #include <QTextStream>
++#include <QAction>
+ 
+ #if defined(_MSC_VER) && defined(_DEBUG)
+ #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/
@ 2020-07-13  0:30 Andreas Sturmlechner
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2020-07-13  0:30 UTC (permalink / raw
  To: gentoo-commits

commit:     d6b8a521a79d1bcd0496377078e16a0fe382b02b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 12 23:48:16 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 13 00:29:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6b8a521

games-board/chessx: Add missing install to qmake build system

Thanks to openSUSE for the patch.

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 games-board/chessx/chessx-1.5.4.ebuild             |  7 +++---
 .../chessx/files/chessx-1.5.4-install.patch        | 27 ++++++++++++++++++++++
 2 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/games-board/chessx/chessx-1.5.4.ebuild b/games-board/chessx/chessx-1.5.4.ebuild
index d97f0eac6a8..e0d0825a1ae 100644
--- a/games-board/chessx/chessx-1.5.4.ebuild
+++ b/games-board/chessx/chessx-1.5.4.ebuild
@@ -37,6 +37,7 @@ BDEPEND="
 PATCHES=(
 	"${FILESDIR}"/${P}-system-quazip.patch
 	"${FILESDIR}"/${P}-missing-translations.patch
+	"${FILESDIR}"/${P}-install.patch
 )
 
 src_configure() {
@@ -44,8 +45,6 @@ src_configure() {
 }
 
 src_install() {
-	dobin release/${PN}
-	dodoc ChangeLog TODO
-	doicon data/images/${PN}.png
-	domenu unix/chessx.desktop
+	emake INSTALL_ROOT="${D}" install
+	einstalldocs
 }

diff --git a/games-board/chessx/files/chessx-1.5.4-install.patch b/games-board/chessx/files/chessx-1.5.4-install.patch
new file mode 100644
index 00000000000..c017b3ea153
--- /dev/null
+++ b/games-board/chessx/files/chessx-1.5.4-install.patch
@@ -0,0 +1,27 @@
+Index: chessx-1.5.4/chessx.pro
+===================================================================
+--- chessx-1.5.4.orig/chessx.pro
++++ chessx-1.5.4/chessx.pro
+@@ -546,6 +546,22 @@ macx {
+     data/timeseal/mac/timeseal
+ }
+ 
++unix:!macx {
++  isEmpty(PREFIX) {
++    PREFIX = /usr
++  }
++  target.path = $$PREFIX/bin
++  desktop.path = $$PREFIX/share/applications
++  desktop.files = unix/chessx.desktop
++  icon.path = $$PREFIX/share/pixmaps
++  icon.files = data/images/chessx.png
++  data.path = $$PREFIX/share/chessx
++  data.files = data
++  lang.path = $$PREFIX/share/chessx/data/lang
++  lang.files = i18n/*.qm
++  INSTALLS += target desktop icon data lang
++}
++
+ win32 {
+   OTHER_FILES += \
+     src/chessx.rc \


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/
@ 2020-07-13  0:30 Andreas Sturmlechner
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2020-07-13  0:30 UTC (permalink / raw
  To: gentoo-commits

commit:     141b85489e71d165f5d9221bbc27741e159e1f42
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 10 16:58:35 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 13 00:29:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=141b8548

games-board/chessx: 1.5.4 version bump

Depending on >=dev-libs/quazip-0.9.1 is necessary as the first version
to ship an (albeit patched) working pkgconfig.

Closes: https://bugs.gentoo.org/684690
Closes: https://bugs.gentoo.org/731972
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 games-board/chessx/Manifest                        |  1 +
 games-board/chessx/chessx-1.5.4.ebuild             | 48 ++++++++++++++
 .../chessx/files/chessx-1.5.4-system-quazip.patch  | 73 ++++++++++++++++++++++
 3 files changed, 122 insertions(+)

diff --git a/games-board/chessx/Manifest b/games-board/chessx/Manifest
index a492b6e5e80..9c9e1d420fe 100644
--- a/games-board/chessx/Manifest
+++ b/games-board/chessx/Manifest
@@ -1 +1,2 @@
 DIST chessx-1.4.6.tgz 4223076 BLAKE2B 783ffe0a7396239066870dedcaa4b2b0c491db4f16871afe66bae7a82339916a8a574401499916fc63cf62478efb9b89c30ec85a7aa7c6d002d1119f1a6b23ef SHA512 cfa74e6423e1a2f9bca319e20645ddf8c8df6b46b64493777ca1cc93037e3f7cfc200f99a29236f7c5925448676c312abf34d395e795e7db6ef8a0832c3a523e
+DIST chessx-1.5.4.tgz 3663299 BLAKE2B 3a0f222d2c122e70f66600f15a2b9a9606e56407db364a616515ebc1b7f333e260c131e61e22f59fb3cbd340555bb8c238bfd560fbc23f4c173288cd4b7e7369 SHA512 9f112b185ed8af3690cb50eafead7dfbd7896d3baebc9b10c3d32103a51cc49834703c232c159dffe24fd09601f2b41db02598c435ca56fc1031195fb9762a42

diff --git a/games-board/chessx/chessx-1.5.4.ebuild b/games-board/chessx/chessx-1.5.4.ebuild
new file mode 100644
index 00000000000..3df40ee6d51
--- /dev/null
+++ b/games-board/chessx/chessx-1.5.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop qmake-utils xdg
+
+DESCRIPTION="Qt5-based Chess Database Utility"
+HOMEPAGE="http://chessx.sourceforge.net/"
+SRC_URI="https://sourceforge.net/projects/chessx/files/chessx/${PV}/${P}.tgz"
+
+LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	>=dev-libs/quazip-0.9.1
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtmultimedia:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtprintsupport:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+	dev-qt/qtconcurrent:5
+"
+BDEPEND="
+	dev-qt/linguist-tools:5
+	virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/${P}-system-quazip.patch )
+
+src_configure() {
+	eqmake5
+}
+
+src_install() {
+	dobin release/${PN}
+	dodoc ChangeLog TODO
+	doicon data/images/${PN}.png
+	domenu unix/chessx.desktop
+}

diff --git a/games-board/chessx/files/chessx-1.5.4-system-quazip.patch b/games-board/chessx/files/chessx-1.5.4-system-quazip.patch
new file mode 100644
index 00000000000..b5e4cf8f435
--- /dev/null
+++ b/games-board/chessx/files/chessx-1.5.4-system-quazip.patch
@@ -0,0 +1,73 @@
+Index: chessx.pro
+===================================================================
+--- a/chessx.pro
++++ b/chessx.pro
+@@ -39,7 +39,6 @@ static { # Everything below takes effect
+     message("Static build.")
+ }
+ 
+-DEFINES += QUAZIP_STATIC
+ DEFINES += QT_NO_CAST_TO_ASCII
+ DEFINES *= QT_USE_QSTRINGBUILDER
+ 
+@@ -156,22 +155,6 @@ HEADERS += src/database/board.h \
+     src/gui/engineoptionlist.h \
+     src/gui/helpbrowser.h \
+     src/database/downloadmanager.h \
+-    src/quazip/zip.h \
+-    src/quazip/unzip.h \
+-    src/quazip/quazipnewinfo.h \
+-    src/quazip/quazipfileinfo.h \
+-    src/quazip/quazipfile.h \
+-    src/quazip/quazipdir.h \
+-    src/quazip/quazip.h \
+-    src/quazip/quazip_global.h \
+-    src/quazip/quaziodevice.h \
+-    src/quazip/quagzipfile.h \
+-    src/quazip/quacrc32.h \
+-    src/quazip/quachecksum32.h \
+-    src/quazip/quaadler32.h \
+-    src/quazip/JlCompress.h \
+-    src/quazip/ioapi.h \
+-    src/quazip/crypt.h \
+     src/gui/toolmainwindow.h \
+     src/gui/playerlistwidget.h \
+     src/gui/qled.h \
+@@ -321,16 +304,6 @@ SOURCES += src/database/board.cpp \
+     src/gui/engineoptionlist.cpp \
+     src/gui/helpbrowser.cpp \
+     src/database/downloadmanager.cpp \
+-    src/quazip/quazipnewinfo.cpp \
+-    src/quazip/quazipfile.cpp \
+-    src/quazip/quazipdir.cpp \
+-    src/quazip/quazip.cpp \
+-    src/quazip/quaziodevice.cpp \
+-    src/quazip/quagzipfile.cpp \
+-    src/quazip/quacrc32.cpp \
+-    src/quazip/quaadler32.cpp \
+-    src/quazip/qioapi.cpp \
+-    src/quazip/JlCompress.cpp \
+     src/gui/toolmainwindow.cpp \
+     src/gui/playerlistwidget.cpp \
+     src/gui/qled.cpp \
+@@ -401,8 +374,6 @@ SOURCES += src/database/board.cpp \
+     src/gui/historylabel.cpp \
+     src/database/streamdatabase.cpp \
+     src/database/refcount.cpp \
+-    src/quazip/unzip.cpp \
+-    src/quazip/zip.cpp \
+     src/database/arenabook.cpp \
+     src/gui/gamelistsortmodel.cpp \
+     src/gui/listwidgetex.cpp
+@@ -412,8 +383,9 @@ INCLUDEPATH += src/database
+ INCLUDEPATH += src/guess
+ INCLUDEPATH += src/gui
+ INCLUDEPATH += src/dialogs
+-INCLUDEPATH += src/quazip
+-INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib
++
++CONFIG += link_pkgconfig
++PKGCONFIG += quazip
+ 
+ win32 {
+     # DEFINES += ZLIB_WINAPI


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/
@ 2025-01-04  7:26 Andreas Sturmlechner
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2025-01-04  7:26 UTC (permalink / raw
  To: gentoo-commits

commit:     6e31628235697976cf611f2574c2f879320dfb64
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  3 20:58:48 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jan  4 07:26:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e316282

games-board/chessx: add 1.6.2

Closes: https://bugs.gentoo.org/947250
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 games-board/chessx/Manifest                        |  1 +
 games-board/chessx/chessx-1.6.2.ebuild             | 50 ++++++++++++++++
 .../chessx/files/chessx-1.6.2-install.patch        | 22 ++++++++
 .../files/chessx-1.6.2-system-quazip-zlib.patch    | 66 ++++++++++++++++++++++
 4 files changed, 139 insertions(+)

diff --git a/games-board/chessx/Manifest b/games-board/chessx/Manifest
index 887c6e39fcaa..5e0056a71331 100644
--- a/games-board/chessx/Manifest
+++ b/games-board/chessx/Manifest
@@ -1 +1,2 @@
 DIST chessx-1.5.4.tgz 3663299 BLAKE2B 3a0f222d2c122e70f66600f15a2b9a9606e56407db364a616515ebc1b7f333e260c131e61e22f59fb3cbd340555bb8c238bfd560fbc23f4c173288cd4b7e7369 SHA512 9f112b185ed8af3690cb50eafead7dfbd7896d3baebc9b10c3d32103a51cc49834703c232c159dffe24fd09601f2b41db02598c435ca56fc1031195fb9762a42
+DIST chessx-1.6.2.tgz 11024855 BLAKE2B cdb836491f0567e885425f12230f4da69b5c03f6a4f02370064ae3bf8455c5ef035f8e177732602d3eaf865f0e16e8661243f42daa3aa3dd2166860fc25d771d SHA512 d9d92c9a36998497696ad84dd60f3dc5243fbcd29ee78a3c05d7812bc90be103349042f794060c3ef803199cc5b315d055b2a5e10c0b355a89b55dbc4a6c5241

diff --git a/games-board/chessx/chessx-1.6.2.ebuild b/games-board/chessx/chessx-1.6.2.ebuild
new file mode 100644
index 000000000000..5640be58ee04
--- /dev/null
+++ b/games-board/chessx/chessx-1.6.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop qmake-utils xdg
+
+DESCRIPTION="Qt-based Chess Database Utility"
+HOMEPAGE="https://chessx.sourceforge.net/"
+SRC_URI="https://sourceforge.net/projects/chessx/files/chessx/${PV}/${P}.tgz"
+S="${WORKDIR}/${PN}-master"
+
+LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+	>=dev-libs/quazip-1.3-r2:0=[qt6(+)]
+	dev-qt/qt5compat:6
+	dev-qt/qtbase:6[gui,network,widgets,xml]
+	dev-qt/qtmultimedia:6
+	dev-qt/qtspeech:6
+	dev-qt/qtsvg:6
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+	dev-qt/qtbase:6[concurrent]
+"
+BDEPEND="
+	dev-qt/qttools:6[linguist]
+	virtual/pkgconfig
+"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-system-quazip-zlib.patch
+	"${FILESDIR}"/${P}-install.patch
+)
+
+src_configure() {
+	eqmake6 PREFIX="${EPREFIX}/usr"
+}
+
+src_install() {
+	emake INSTALL_ROOT="${D}" install
+	doicon -s 256 data/images/${PN}.png
+	for x in 32 64; do
+		newicon -s ${x} data/images/${PN}-${x}.png ${PN}.png
+	done
+	einstalldocs
+}

diff --git a/games-board/chessx/files/chessx-1.6.2-install.patch b/games-board/chessx/files/chessx-1.6.2-install.patch
new file mode 100644
index 000000000000..9218f61f25c6
--- /dev/null
+++ b/games-board/chessx/files/chessx-1.6.2-install.patch
@@ -0,0 +1,22 @@
+--- a/chessx.pro	2024-09-06 00:12:14.000000000 +0200
++++ b/chessx.pro	2025-01-03 22:31:22.225021206 +0100
+@@ -67,18 +67,13 @@
+     BINDIR = $$PREFIX/bin
+     DATADIR = $$PREFIX/share
+ 
+-    INSTALLS += appdata desktop icons binfiles
++    INSTALLS += appdata desktop binfiles
+ 
+     appdata.files = unix/io.sourceforge.ChessX.metainfo.xml
+     appdata.path = $$DATADIR/metainfo
+     desktop.files = unix/chessx.desktop
+     desktop.path = $$DATADIR/applications
+ 
+-    icons.path = $$DATADIR/icons/hicolor
+-    icons.commands = install -Dm644 data/images/chessx.png    $${icons.path}/128x128/apps/chessx.png; \
+-                     install -Dm644 data/images/chessx-32.png $${icons.path}/32x32/apps/chessx.png; \
+-                     install -Dm644 data/images/chessx-64.png $${icons.path}/64x64/apps/chessx.png;
+-
+     binfiles.files = release/chessx
+     binfiles.path = $$BINDIR
+ 

diff --git a/games-board/chessx/files/chessx-1.6.2-system-quazip-zlib.patch b/games-board/chessx/files/chessx-1.6.2-system-quazip-zlib.patch
new file mode 100644
index 000000000000..f17383a3dee5
--- /dev/null
+++ b/games-board/chessx/files/chessx-1.6.2-system-quazip-zlib.patch
@@ -0,0 +1,66 @@
+--- a/chessx.pro	2024-09-06 00:12:14.000000000 +0200
++++ b/chessx.pro	2025-01-03 21:51:05.872265212 +0100
+@@ -41,7 +41,6 @@
+   QT += multimedia
+ }
+ 
+-DEFINES += QUAZIP_STATIC
+ DEFINES += QT_NO_CAST_TO_ASCII
+ DEFINES *= QT_USE_QSTRINGBUILDER
+ 
+@@ -342,23 +341,7 @@
+   src/gui/textbrowserex.h \
+   src/gui/textedit.h \
+   src/gui/toolmainwindow.h \
+-  src/gui/translatingslider.h \
+-  src/quazip/JlCompress.h \
+-  src/quazip/crypt.h \
+-  src/quazip/ioapi.h \
+-  src/quazip/quaadler32.h \
+-  src/quazip/quachecksum32.h \
+-  src/quazip/quacrc32.h \
+-  src/quazip/quagzipfile.h \
+-  src/quazip/quaziodevice.h \
+-  src/quazip/quazip.h \
+-  src/quazip/quazip_global.h \
+-  src/quazip/quazipdir.h \
+-  src/quazip/quazipfile.h \
+-  src/quazip/quazipfileinfo.h \
+-  src/quazip/quazipnewinfo.h \
+-  src/quazip/unzip.h \
+-  src/quazip/zip.h
++  src/gui/translatingslider.h
+ 
+ SOURCES += \
+   src/database/analysis.cpp \
+@@ -512,26 +495,15 @@
+   src/gui/testadapter.cpp \
+   src/gui/textedit.cpp \
+   src/gui/toolmainwindow.cpp \
+-  src/gui/translatingslider.cpp \
+-  src/quazip/JlCompress.cpp \
+-  src/quazip/qioapi.cpp \
+-  src/quazip/quaadler32.cpp \
+-  src/quazip/quacrc32.cpp \
+-  src/quazip/quagzipfile.cpp \
+-  src/quazip/quaziodevice.cpp \
+-  src/quazip/quazip.cpp \
+-  src/quazip/quazipdir.cpp \
+-  src/quazip/quazipfile.cpp \
+-  src/quazip/quazipnewinfo.cpp \
+-  src/quazip/unzip.cpp \
+-  src/quazip/zip.cpp
++  src/gui/translatingslider.cpp
+ 
+ INCLUDEPATH += src/database
+ INCLUDEPATH += src/guess
+ INCLUDEPATH += src/gui
+ INCLUDEPATH += src/dialogs
+-INCLUDEPATH += src/quazip
+-INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib
++
++CONFIG += link_pkgconfig
++PKGCONFIG += quazip1-qt6
+ 
+ win32 {
+   # DEFINES += ZLIB_WINAPI


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/
@ 2025-01-04  7:26 Andreas Sturmlechner
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2025-01-04  7:26 UTC (permalink / raw
  To: gentoo-commits

commit:     f42ee57ede1473998992d114d7c637d6b16944e7
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  3 21:35:31 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jan  4 07:26:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f42ee57e

games-board/chessx: drop 1.5.4-r4

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 games-board/chessx/Manifest                        |  1 -
 games-board/chessx/chessx-1.5.4-r4.ebuild          | 57 -----------------
 .../chessx/files/chessx-1.5.4-install.patch        | 27 --------
 .../files/chessx-1.5.4-missing-translations.patch  | 24 -------
 .../chessx/files/chessx-1.5.4-system-quazip.patch  | 73 ----------------------
 5 files changed, 182 deletions(-)

diff --git a/games-board/chessx/Manifest b/games-board/chessx/Manifest
index 5e0056a71331..bbae7a2229c7 100644
--- a/games-board/chessx/Manifest
+++ b/games-board/chessx/Manifest
@@ -1,2 +1 @@
-DIST chessx-1.5.4.tgz 3663299 BLAKE2B 3a0f222d2c122e70f66600f15a2b9a9606e56407db364a616515ebc1b7f333e260c131e61e22f59fb3cbd340555bb8c238bfd560fbc23f4c173288cd4b7e7369 SHA512 9f112b185ed8af3690cb50eafead7dfbd7896d3baebc9b10c3d32103a51cc49834703c232c159dffe24fd09601f2b41db02598c435ca56fc1031195fb9762a42
 DIST chessx-1.6.2.tgz 11024855 BLAKE2B cdb836491f0567e885425f12230f4da69b5c03f6a4f02370064ae3bf8455c5ef035f8e177732602d3eaf865f0e16e8661243f42daa3aa3dd2166860fc25d771d SHA512 d9d92c9a36998497696ad84dd60f3dc5243fbcd29ee78a3c05d7812bc90be103349042f794060c3ef803199cc5b315d055b2a5e10c0b355a89b55dbc4a6c5241

diff --git a/games-board/chessx/chessx-1.5.4-r4.ebuild b/games-board/chessx/chessx-1.5.4-r4.ebuild
deleted file mode 100644
index 09e2228aa3c3..000000000000
--- a/games-board/chessx/chessx-1.5.4-r4.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit qmake-utils xdg
-
-DESCRIPTION="Qt5-based Chess Database Utility"
-HOMEPAGE="https://chessx.sourceforge.net/"
-SRC_URI="https://sourceforge.net/projects/chessx/files/chessx/${PV}/${P}.tgz"
-
-LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-RDEPEND="
-	>=dev-libs/quazip-0.9.1:0=[qt5(+)]
-	dev-qt/qtcore:5
-	dev-qt/qtgui:5
-	dev-qt/qtmultimedia:5
-	dev-qt/qtnetwork:5
-	dev-qt/qtprintsupport:5
-	dev-qt/qtspeech:5
-	dev-qt/qtsvg:5
-	dev-qt/qtwidgets:5
-	dev-qt/qtxml:5
-	sys-libs/zlib
-"
-DEPEND="${RDEPEND}
-	dev-qt/qtconcurrent:5
-"
-BDEPEND="
-	dev-qt/linguist-tools:5
-	virtual/pkgconfig
-"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-system-quazip.patch
-	"${FILESDIR}"/${P}-missing-translations.patch
-	"${FILESDIR}"/${P}-install.patch
-)
-
-src_prepare() {
-	xdg_src_prepare
-	if has_version "<dev-libs/quazip-1.0"; then
-		sed -e "/^PKGCONFIG/s/quazip1-qt5/quazip/" -i chessx.pro || die
-	fi
-}
-
-src_configure() {
-	eqmake5
-}
-
-src_install() {
-	emake INSTALL_ROOT="${D}" install
-	einstalldocs
-}

diff --git a/games-board/chessx/files/chessx-1.5.4-install.patch b/games-board/chessx/files/chessx-1.5.4-install.patch
deleted file mode 100644
index c017b3ea1535..000000000000
--- a/games-board/chessx/files/chessx-1.5.4-install.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: chessx-1.5.4/chessx.pro
-===================================================================
---- chessx-1.5.4.orig/chessx.pro
-+++ chessx-1.5.4/chessx.pro
-@@ -546,6 +546,22 @@ macx {
-     data/timeseal/mac/timeseal
- }
- 
-+unix:!macx {
-+  isEmpty(PREFIX) {
-+    PREFIX = /usr
-+  }
-+  target.path = $$PREFIX/bin
-+  desktop.path = $$PREFIX/share/applications
-+  desktop.files = unix/chessx.desktop
-+  icon.path = $$PREFIX/share/pixmaps
-+  icon.files = data/images/chessx.png
-+  data.path = $$PREFIX/share/chessx
-+  data.files = data
-+  lang.path = $$PREFIX/share/chessx/data/lang
-+  lang.files = i18n/*.qm
-+  INSTALLS += target desktop icon data lang
-+}
-+
- win32 {
-   OTHER_FILES += \
-     src/chessx.rc \

diff --git a/games-board/chessx/files/chessx-1.5.4-missing-translations.patch b/games-board/chessx/files/chessx-1.5.4-missing-translations.patch
deleted file mode 100644
index 7c874e16508b..000000000000
--- a/games-board/chessx/files/chessx-1.5.4-missing-translations.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: resources.qrc
-===================================================================
---- a/resources.qrc
-+++ b/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/games-board/chessx/files/chessx-1.5.4-system-quazip.patch b/games-board/chessx/files/chessx-1.5.4-system-quazip.patch
deleted file mode 100644
index 6610d3c8e420..000000000000
--- a/games-board/chessx/files/chessx-1.5.4-system-quazip.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-Index: chessx.pro
-===================================================================
---- a/chessx.pro
-+++ b/chessx.pro
-@@ -39,7 +39,6 @@ static { # Everything below takes effect
-     message("Static build.")
- }
- 
--DEFINES += QUAZIP_STATIC
- DEFINES += QT_NO_CAST_TO_ASCII
- DEFINES *= QT_USE_QSTRINGBUILDER
- 
-@@ -156,22 +155,6 @@ HEADERS += src/database/board.h \
-     src/gui/engineoptionlist.h \
-     src/gui/helpbrowser.h \
-     src/database/downloadmanager.h \
--    src/quazip/zip.h \
--    src/quazip/unzip.h \
--    src/quazip/quazipnewinfo.h \
--    src/quazip/quazipfileinfo.h \
--    src/quazip/quazipfile.h \
--    src/quazip/quazipdir.h \
--    src/quazip/quazip.h \
--    src/quazip/quazip_global.h \
--    src/quazip/quaziodevice.h \
--    src/quazip/quagzipfile.h \
--    src/quazip/quacrc32.h \
--    src/quazip/quachecksum32.h \
--    src/quazip/quaadler32.h \
--    src/quazip/JlCompress.h \
--    src/quazip/ioapi.h \
--    src/quazip/crypt.h \
-     src/gui/toolmainwindow.h \
-     src/gui/playerlistwidget.h \
-     src/gui/qled.h \
-@@ -321,16 +304,6 @@ SOURCES += src/database/board.cpp \
-     src/gui/engineoptionlist.cpp \
-     src/gui/helpbrowser.cpp \
-     src/database/downloadmanager.cpp \
--    src/quazip/quazipnewinfo.cpp \
--    src/quazip/quazipfile.cpp \
--    src/quazip/quazipdir.cpp \
--    src/quazip/quazip.cpp \
--    src/quazip/quaziodevice.cpp \
--    src/quazip/quagzipfile.cpp \
--    src/quazip/quacrc32.cpp \
--    src/quazip/quaadler32.cpp \
--    src/quazip/qioapi.cpp \
--    src/quazip/JlCompress.cpp \
-     src/gui/toolmainwindow.cpp \
-     src/gui/playerlistwidget.cpp \
-     src/gui/qled.cpp \
-@@ -401,8 +374,6 @@ SOURCES += src/database/board.cpp \
-     src/gui/historylabel.cpp \
-     src/database/streamdatabase.cpp \
-     src/database/refcount.cpp \
--    src/quazip/unzip.cpp \
--    src/quazip/zip.cpp \
-     src/database/arenabook.cpp \
-     src/gui/gamelistsortmodel.cpp \
-     src/gui/listwidgetex.cpp
-@@ -412,8 +383,9 @@ INCLUDEPATH += src/database
- INCLUDEPATH += src/guess
- INCLUDEPATH += src/gui
- INCLUDEPATH += src/dialogs
--INCLUDEPATH += src/quazip
--INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib
-+
-+CONFIG += link_pkgconfig
-+PKGCONFIG += quazip1-qt5
- 
- win32 {
-     # DEFINES += ZLIB_WINAPI


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-01-04  7:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-13  0:30 [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2025-01-04  7:26 Andreas Sturmlechner
2025-01-04  7:26 Andreas Sturmlechner
2020-07-13  0:30 Andreas Sturmlechner
2018-07-14 14:57 Andreas Sturmlechner
2016-05-16 19:23 Michael Sterrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox