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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0525A138335 for ; Sat, 14 Jul 2018 14:58:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C92A4E0ABA; Sat, 14 Jul 2018 14:57:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 905BFE0ABA for ; Sat, 14 Jul 2018 14:57:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 56DB8335CC3 for ; Sat, 14 Jul 2018 14:57:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B538358 for ; Sat, 14 Jul 2018 14:57:56 +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: <1531580152.03abcdd2fdabe81f0d54e156134c8b1c498aaa80.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.4.6.ebuild games-board/chessx/files/chessx-1.4.0-zlib.patch games-board/chessx/files/chessx-1.4.6-qt-5.11.patch X-VCS-Directories: games-board/chessx/ games-board/chessx/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 03abcdd2fdabe81f0d54e156134c8b1c498aaa80 X-VCS-Branch: master Date: Sat, 14 Jul 2018 14:57:56 +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-Archives-Salt: 248a0655-b5d7-4974-aec8-83204178df64 X-Archives-Hash: 8da5272da335a3f4ab9ad8997c88838e commit: 03abcdd2fdabe81f0d54e156134c8b1c498aaa80 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jul 14 14:42:58 2018 +0000 Commit: Andreas Sturmlechner gentoo 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 +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 ++#include + + #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 + #include ++#include + + #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 + #include + #include ++#include + + #if defined(_MSC_VER) && defined(_DEBUG) + #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )