From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7212315812D for ; Sat, 04 Jan 2025 07:26:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73E5BE077F; Sat, 04 Jan 2025 07:26:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D696E0798 for ; Sat, 04 Jan 2025 07:26:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 08D4B33BEE9 for ; Sat, 04 Jan 2025 07:26:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60CF01954 for ; Sat, 04 Jan 2025 07:26:35 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1735975582.6e31628235697976cf611f2574c2f879320dfb64.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/chessx/, games-board/chessx/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/chessx/Manifest games-board/chessx/chessx-1.6.2.ebuild games-board/chessx/files/chessx-1.6.2-install.patch games-board/chessx/files/chessx-1.6.2-system-quazip-zlib.patch X-VCS-Directories: games-board/chessx/ games-board/chessx/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 6e31628235697976cf611f2574c2f879320dfb64 X-VCS-Branch: master Date: Sat, 04 Jan 2025 07:26:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a81346ed-a9e2-422e-8951-65db7c5f2ca8 X-Archives-Hash: bc2b50639d72dd8d1b586a3c2cad1374 commit: 6e31628235697976cf611f2574c2f879320dfb64 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Jan 3 20:58:48 2025 +0000 Commit: Andreas Sturmlechner gentoo 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 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