public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-board/gambit/, games-board/gambit/files/
@ 2020-08-31 18:01 Sebastian Pipping
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Pipping @ 2020-08-31 18:01 UTC (permalink / raw
  To: gentoo-commits

commit:     11bab52c6e09ce85a0a2ef8c879f2548c0f0cb40
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 31 17:59:18 2020 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Aug 31 18:00:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11bab52c

games-board/gambit: Respect CFLAGS

Closes: https://bugs.gentoo.org/739218
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.0, Repoman-2.3.23

 .../gambit/files/gambit-1.0.4-compile-flags.patch  | 28 ++++++++++++++++++++++
 ...{gambit-1.0.4.ebuild => gambit-1.0.4-r1.ebuild} |  6 ++++-
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/games-board/gambit/files/gambit-1.0.4-compile-flags.patch b/games-board/gambit/files/gambit-1.0.4-compile-flags.patch
new file mode 100644
index 00000000000..c8df686b86a
--- /dev/null
+++ b/games-board/gambit/files/gambit-1.0.4-compile-flags.patch
@@ -0,0 +1,28 @@
+From f573e47d095b114e07255537d754ef4ee4bf2885 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Mon, 31 Aug 2020 19:51:56 +0200
+Subject: [PATCH] Respect custom CFLAGS and CXXFLAGS
+
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1be8b83..fa5f5b6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -114,9 +114,9 @@ if(POLICY CMP0020)
+     cmake_policy(SET CMP0020 NEW)
+ endif()
+ 
+-set(CMAKE_C_FLAGS "-Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wbad-function-cast -Wformat=2 -Wundef -pedantic -Wno-long-long")
++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wbad-function-cast -Wformat=2 -Wundef -pedantic -Wno-long-long")
+ 
+-set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wredundant-decls -Wformat=2 -Wundef -pedantic -Wno-long-long")
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wredundant-decls -Wformat=2 -Wundef -pedantic -Wno-long-long")
+ 
+ if(DEVELOPER_MODE)
+     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -pedantic-errors")
+-- 
+2.27.0
+

diff --git a/games-board/gambit/gambit-1.0.4.ebuild b/games-board/gambit/gambit-1.0.4-r1.ebuild
similarity index 92%
rename from games-board/gambit/gambit-1.0.4.ebuild
rename to games-board/gambit/gambit-1.0.4-r1.ebuild
index e078316f6b2..fd20cc73c5d 100644
--- a/games-board/gambit/gambit-1.0.4.ebuild
+++ b/games-board/gambit/gambit-1.0.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -28,6 +28,10 @@ RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${MY_P}-src"
 
+PATCHES=(
+	"${FILESDIR}"/${P}-compile-flags.patch
+)
+
 src_configure() {
 	local mycmakeargs=(
 		-DCONFIG_ENABLE_UPDATE_CHECKER=OFF


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

* [gentoo-commits] repo/gentoo:master commit in: games-board/gambit/, games-board/gambit/files/
@ 2025-04-14 21:16 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2025-04-14 21:16 UTC (permalink / raw
  To: gentoo-commits

commit:     e82bda838ab6fed1a1f96525587627e4c2c27935
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 30 18:22:48 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Apr 14 21:14:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e82bda83

games-board/gambit: drop 1.0.4-r1

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

 games-board/gambit/Manifest                        |  1 -
 .../gambit/files/gambit-1.0.4-compile-flags.patch  | 28 -----------
 games-board/gambit/gambit-1.0.4-r1.ebuild          | 56 ----------------------
 3 files changed, 85 deletions(-)

diff --git a/games-board/gambit/Manifest b/games-board/gambit/Manifest
index a1a243c42d2c..83a0e64f9d15 100644
--- a/games-board/gambit/Manifest
+++ b/games-board/gambit/Manifest
@@ -1,2 +1 @@
-DIST Gambit-1.0.4-src.tar.xz 1675576 BLAKE2B 4545bee38509d44f80af874473ff562b441e570be3681b166b064574e12bfad8b8a2fb5043b9d0b9089160de2d97407160336cb58864168232cf0921244cf92d SHA512 9ba12e0e9598e2b08228aa009690e6a05677916dcea1413a42be20d620accbe7cef4f4300e3ccc5d4d99e37c7fb85d923df8f5fa9146ee8049bbde2ce66ab7a9
 DIST Gambit-1.0.6-source.tar.gz 1986973 BLAKE2B c7b0a43e068988b021efa96b05cfcd0ccaf47ff459596e8ecbbc836ada3d7be862745efcc5670315110c4d58f81e456adc0e1490dc1d1789421b9193b83166f1 SHA512 9d884b873c68c964cbe47e69622608e3d18509975fc81f5cf9e15773ded03e7a492d64a46ab5b2e74499dfee6099d81041b3dcb0cd486adb7446fdc69a90df61

diff --git a/games-board/gambit/files/gambit-1.0.4-compile-flags.patch b/games-board/gambit/files/gambit-1.0.4-compile-flags.patch
deleted file mode 100644
index c8df686b86af..000000000000
--- a/games-board/gambit/files/gambit-1.0.4-compile-flags.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From f573e47d095b114e07255537d754ef4ee4bf2885 Mon Sep 17 00:00:00 2001
-From: Sebastian Pipping <sebastian@pipping.org>
-Date: Mon, 31 Aug 2020 19:51:56 +0200
-Subject: [PATCH] Respect custom CFLAGS and CXXFLAGS
-
----
- CMakeLists.txt | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 1be8b83..fa5f5b6 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -114,9 +114,9 @@ if(POLICY CMP0020)
-     cmake_policy(SET CMP0020 NEW)
- endif()
- 
--set(CMAKE_C_FLAGS "-Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wbad-function-cast -Wformat=2 -Wundef -pedantic -Wno-long-long")
-+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wbad-function-cast -Wformat=2 -Wundef -pedantic -Wno-long-long")
- 
--set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wredundant-decls -Wformat=2 -Wundef -pedantic -Wno-long-long")
-+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wredundant-decls -Wformat=2 -Wundef -pedantic -Wno-long-long")
- 
- if(DEVELOPER_MODE)
-     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -pedantic-errors")
--- 
-2.27.0
-

diff --git a/games-board/gambit/gambit-1.0.4-r1.ebuild b/games-board/gambit/gambit-1.0.4-r1.ebuild
deleted file mode 100644
index 65f75215076f..000000000000
--- a/games-board/gambit/gambit-1.0.4-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_IN_SOURCE_BUILD=true
-MY_P="${P^}"
-inherit cmake desktop
-
-DESCRIPTION="Qt-based chess application + engine \"gupta\""
-HOMEPAGE="https://sourceforge.net/projects/gambitchess/"
-SRC_URI="https://downloads.sourceforge.net/project/${PN}chess/${MY_P}/${MY_P}-src.tar.xz"
-S="${WORKDIR}/${MY_P}-src"
-
-LICENSE="CC0-1.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="
-	dev-qt/qtcore:5
-	dev-qt/qtgui:5
-	dev-qt/qtnetwork:5
-	dev-qt/qtopengl:5
-	dev-qt/qtwidgets:5
-	media-libs/mesa[X(+)]
-	x11-libs/libX11"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/${P}-compile-flags.patch )
-
-src_configure() {
-	local mycmakeargs=(
-		-DCONFIG_ENABLE_UPDATE_CHECKER=OFF
-		-DCONFIG_GUPTA_ENGINE_DIRECTORY=/usr/bin
-		-DCONFIG_RESOURCE_PATH_PREFIX=/usr/share/${PN}/
-	)
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-	emake -C engine/gupta VERBOSE=1 STRIP=/bin/true CFLAGS_RELEASE= release
-}
-
-src_install() {
-	insinto /usr/share/${PN}
-	doins -r data/*
-
-	doicon artwork/icons/${PN}/${PN}.svg
-	make_desktop_entry ${PN}chess ${PN^} ${PN} Game
-	dodoc doc/contributors.txt
-
-	dobin engine/gupta/gupta
-	dobin ${PN}chess
-}


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

end of thread, other threads:[~2025-04-14 21:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-31 18:01 [gentoo-commits] repo/gentoo:master commit in: games-board/gambit/, games-board/gambit/files/ Sebastian Pipping
  -- strict thread matches above, loose matches on Subject: below --
2025-04-14 21:16 Andreas Sturmlechner

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