summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board')
-rw-r--r--games-board/awale/metadata.xml11
-rw-r--r--games-board/camato/Manifest2
-rw-r--r--games-board/camato/camato-0.7.4-r2.ebuild43
-rw-r--r--games-board/camato/files/camato-0.7.4-implicit-string.patch8
-rw-r--r--games-board/camato/metadata.xml8
-rw-r--r--games-board/four-in-a-row/four-in-a-row-3.38.1.ebuild4
-rw-r--r--games-board/four-in-a-row/metadata.xml11
-rw-r--r--games-board/gnome-chess/Manifest3
-rw-r--r--games-board/gnome-chess/gnome-chess-42.0.ebuild58
-rw-r--r--games-board/gnome-chess/gnome-chess-43.0.ebuild2
-rw-r--r--games-board/gnome-chess/gnome-chess-43.1.ebuild (renamed from games-board/gnome-chess/gnome-chess-42.1.ebuild)8
-rw-r--r--games-board/gnome-chess/metadata.xml11
-rw-r--r--games-board/gnome-mahjongg/gnome-mahjongg-3.38.3.ebuild3
-rw-r--r--games-board/gnome-mahjongg/metadata.xml11
-rw-r--r--games-board/gnome-mines/gnome-mines-40.1.ebuild4
-rw-r--r--games-board/gnome-mines/metadata.xml11
-rw-r--r--games-board/gnubg/gnubg-1.06.002-r4.ebuild (renamed from games-board/gnubg/gnubg-1.06.002-r3.ebuild)6
-rw-r--r--games-board/gnubg/metadata.xml11
-rw-r--r--games-board/gnuchess/files/gnuchess-6.2.9-c++17.patch140
-rw-r--r--games-board/gnuchess/files/gnuchess-6.2.9-configure-quoting.patch33
-rw-r--r--games-board/gnuchess/gnuchess-6.2.9-r1.ebuild (renamed from games-board/gnuchess/gnuchess-6.2.9.ebuild)18
-rw-r--r--games-board/gnushogi/metadata.xml11
-rw-r--r--games-board/iagno/metadata.xml11
-rw-r--r--games-board/phalanx/metadata.xml8
-rw-r--r--games-board/pychess/pychess-1.0.3-r2.ebuild4
-rw-r--r--games-board/pysolfc/Manifest2
-rw-r--r--games-board/pysolfc/pysolfc-2.18.0.ebuild (renamed from games-board/pysolfc/pysolfc-2.16.0.ebuild)4
-rw-r--r--games-board/scid/scid-4.7.0.ebuild4
-rw-r--r--games-board/stockfish/Manifest2
-rw-r--r--games-board/stockfish/stockfish-15.1.ebuild75
-rw-r--r--games-board/tali/Manifest2
-rw-r--r--games-board/tali/metadata.xml11
-rw-r--r--games-board/tali/tali-40.8.ebuild4
-rw-r--r--games-board/tali/tali-40.9.ebuild (renamed from games-board/tali/tali-40.7.ebuild)6
-rw-r--r--games-board/xboard/metadata.xml3
-rw-r--r--games-board/xboard/xboard-4.9.1.ebuild2
-rw-r--r--games-board/xgammon/xgammon-0.98-r3.ebuild4
-rw-r--r--games-board/xskat/files/xskat-4.0-clang16.patch8
-rw-r--r--games-board/xskat/xskat-4.0-r2.ebuild21
39 files changed, 387 insertions, 201 deletions
diff --git a/games-board/awale/metadata.xml b/games-board/awale/metadata.xml
index 7c730d47817..b64c8f429d0 100644
--- a/games-board/awale/metadata.xml
+++ b/games-board/awale/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="savannah-nongnu">awale</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-board/camato/Manifest b/games-board/camato/Manifest
deleted file mode 100644
index d9f0e87c665..00000000000
--- a/games-board/camato/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST camato-0_7_4.tar.gz 39395 BLAKE2B 673c312f90210e7f1882f821da2c751118052594f537d2a9c1a04ceea4d0ba948487da576b5f3b274c889db48e59dd95228ecfb6d9ec03ebf04a5fb16e13822a SHA512 b355dbaf35716f719ffe5469ec73db791b2b516dc1fc7a36efa735babcd7d16b79d6d0ceea2f1308f79ca98fe7e0a3dfd3e4b3a7a15eb64abbd144aac2c3720d
-DIST camato.png 5531 BLAKE2B 79502efd25006ddafdea9b2e2cabdee1e4378be8304a72753dfc29254fd9bc580265ec5cbc5e8cdf8a6bb38261e96038e27839bb1f56e31c90963578045f6e1d SHA512 e50677a52a523af57c1ace9c6612d08ce4cede0e91b324934cbaa6cbe9a37dbc1f971de1d7f46bd13978c9f81d70fed143b5e167faa764a0c790faba489a5e61
diff --git a/games-board/camato/camato-0.7.4-r2.ebuild b/games-board/camato/camato-0.7.4-r2.ebuild
deleted file mode 100644
index 7dc2af19988..00000000000
--- a/games-board/camato/camato-0.7.4-r2.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby25 ruby26 ruby27"
-inherit desktop ruby-ng
-
-DESCRIPTION="Map editor for the game gnocatan"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
-SRC_URI="
- mirror://gentoo/${PN}-$(ver_rs 1- _).tar.gz
- https://dev.gentoo.org/~ionen/distfiles/${PN}.png"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-ruby_add_rdepend dev-ruby/ruby-gtk2
-
-PATCHES=(
- "${FILESDIR}"/${P}-implicit-string.patch
-)
-
-all_ruby_prepare() {
- # this is really single target, but ruby-single is too limited
- local ruby=$(ruby_get_use_implementations)
- sed -i "1c\\#!$(ruby_implementation_command ${ruby##* })" ${PN} || die
-
- rm Makefile || die
-}
-
-all_ruby_install() {
- dobin ${PN}
-
- insinto /usr/share/${PN}
- doins -r *.rb img
-
- einstalldocs
-
- doicon "${DISTDIR}"/${PN}.png
- make_desktop_entry ${PN} Camato
-}
diff --git a/games-board/camato/files/camato-0.7.4-implicit-string.patch b/games-board/camato/files/camato-0.7.4-implicit-string.patch
deleted file mode 100644
index e631b07a87a..00000000000
--- a/games-board/camato/files/camato-0.7.4-implicit-string.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-Crashes on keyboard events otherwise.
---- a/map.rb
-+++ b/map.rb
-@@ -35,3 +35,3 @@
- if i < 0 or i > 255 then i = 0 end
-- my_str[0] = i
-+ my_str[0] = i.to_s
- set_resource(my_str)
diff --git a/games-board/camato/metadata.xml b/games-board/camato/metadata.xml
deleted file mode 100644
index 1c3ba213c49..00000000000
--- a/games-board/camato/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
-</pkgmetadata>
diff --git a/games-board/four-in-a-row/four-in-a-row-3.38.1.ebuild b/games-board/four-in-a-row/four-in-a-row-3.38.1.ebuild
index 1f84a6cb19a..f48660b1999 100644
--- a/games-board/four-in-a-row/four-in-a-row-3.38.1.ebuild
+++ b/games-board/four-in-a-row/four-in-a-row-3.38.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-VALA_MIN_API_VERSION="0.44"
+
inherit gnome.org gnome2-utils meson vala xdg
DESCRIPTION="Make lines of the same color to win"
diff --git a/games-board/four-in-a-row/metadata.xml b/games-board/four-in-a-row/metadata.xml
index 7b343b06be8..ae8a866871b 100644
--- a/games-board/four-in-a-row/metadata.xml
+++ b/games-board/four-in-a-row/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/four-in-a-row</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-board/gnome-chess/Manifest b/games-board/gnome-chess/Manifest
index 87ec6d97985..a0630267f84 100644
--- a/games-board/gnome-chess/Manifest
+++ b/games-board/gnome-chess/Manifest
@@ -1,3 +1,2 @@
-DIST gnome-chess-42.0.tar.xz 661180 BLAKE2B e9fe75df1b298aad17b8b199949cb02eeea5116fa15adfedfac6ed067123ff73aad8ebb33e512f1eef97237232275528da6454de27c335a897e5e3b942a335bf SHA512 08af368b6fd032976c124a8fa8402494e73b004591eae331523a377acf72d98b9827ed189db1c1287f758f41614e878062bd1ab0b8323bf76d19b9cdedacf9a6
-DIST gnome-chess-42.1.tar.xz 663036 BLAKE2B 3e42f799d029c4122055420035dd1dadcf5d385ea363ebfe355dc25df31bd5160f2b791d715a2ab371af93e4f5f0a60ac8e818df2686b0f0fc30ae7c0f0795fc SHA512 ab84744910fbf65d50cadb7f63b9e5a5fd4af103adbacd349680c65ae70374ce9766e715656891ae8987ba3c6a694dd632b9154233a417b86a1eeacad875a61d
DIST gnome-chess-43.0.tar.xz 658156 BLAKE2B eb8ddd9966a38ff385a93456621f250adaac1aee580475a136dc33d3182d0a772d50c2bc4bc47981e3b0dcf86ed91a2c8792ab682a5f6af4904a8f075fd520d5 SHA512 710ff09d9f5e23bb3822a203c1f5b11b85e8aa602f7c703f08e7843a79476498ec836e41122f6d601183b7220618bf2f2a2f0dcff62bcb625ae28b20a03d02c8
+DIST gnome-chess-43.1.tar.xz 743100 BLAKE2B b2fb2594cab3d0fa82d682db931911c71df9f4fca0707c39a15c5f5caa397a34e6a132e09950fb41ece01873a87d60e91df1e5397830cfa700427e3b119c95cc SHA512 d42fb3f960030813d2551c2f0dac46068f30992934e9f8779a097a1ca43a7711b64c0f499eff3ecd698325f5e2458f03c0a9b6cd4c333ad4ca9dba83faa833c5
diff --git a/games-board/gnome-chess/gnome-chess-42.0.ebuild b/games-board/gnome-chess/gnome-chess-42.0.ebuild
deleted file mode 100644
index ec9dc4fc0a9..00000000000
--- a/games-board/gnome-chess/gnome-chess-42.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
-VALA_MIN_API_VERSION="0.52"
-
-inherit gnome.org gnome2-utils meson python-any-r1 readme.gentoo-r1 vala xdg
-
-DESCRIPTION="Play the classic two-player boardgame of chess"
-HOMEPAGE="https://wiki.gnome.org/Apps/Chess"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~riscv x86"
-
-RDEPEND="
- >=dev-libs/glib-2.44:2
- gui-libs/gtk:4
- >=gui-libs/libadwaita-1.0.0:1
- >=gnome-base/librsvg-2.46.0:2
-"
-DEPEND="${RDEPEND}
- gnome-base/librsvg:2[vala]
-"
-BDEPEND="
- ${PYTHON_DEPS}
- $(vala_depend)
- dev-util/itstool
- dev-libs/appstream-glib
- >=sys-devel/gettext-0.19.8
- virtual/pkgconfig
-"
-
-DOC_CONTENTS="To be able to play against a computer you will need
-to install a chess engine package, for example games-board/gnuchess"
-
-src_prepare() {
- default
- vala_setup
- xdg_environment_reset
-}
-
-src_install() {
- meson_src_install
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
- readme.gentoo_print_elog
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
diff --git a/games-board/gnome-chess/gnome-chess-43.0.ebuild b/games-board/gnome-chess/gnome-chess-43.0.ebuild
index d649ade62c1..e527c36343b 100644
--- a/games-board/gnome-chess/gnome-chess-43.0.ebuild
+++ b/games-board/gnome-chess/gnome-chess-43.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Chess https://gitlab.gnome.org/GNOME/gnome
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 arm64 ~riscv x86"
RDEPEND="
>=dev-libs/glib-2.44:2
diff --git a/games-board/gnome-chess/gnome-chess-42.1.ebuild b/games-board/gnome-chess/gnome-chess-43.1.ebuild
index 63e703237b2..ffb3da44acf 100644
--- a/games-board/gnome-chess/gnome-chess-42.1.ebuild
+++ b/games-board/gnome-chess/gnome-chess-43.1.ebuild
@@ -1,18 +1,16 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
-VALA_MIN_API_VERSION="0.52"
-inherit gnome.org gnome2-utils meson python-any-r1 readme.gentoo-r1 vala xdg
+inherit gnome.org gnome2-utils meson readme.gentoo-r1 vala xdg
DESCRIPTION="Play the classic two-player boardgame of chess"
HOMEPAGE="https://wiki.gnome.org/Apps/Chess https://gitlab.gnome.org/GNOME/gnome-chess"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 arm64 ~riscv x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
RDEPEND="
>=dev-libs/glib-2.44:2
diff --git a/games-board/gnome-chess/metadata.xml b/games-board/gnome-chess/metadata.xml
index 7b343b06be8..2fabf8e266f 100644
--- a/games-board/gnome-chess/metadata.xml
+++ b/games-board/gnome-chess/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/gnome-chess</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-board/gnome-mahjongg/gnome-mahjongg-3.38.3.ebuild b/games-board/gnome-mahjongg/gnome-mahjongg-3.38.3.ebuild
index 89804853e49..8e51464166c 100644
--- a/games-board/gnome-mahjongg/gnome-mahjongg-3.38.3.ebuild
+++ b/games-board/gnome-mahjongg/gnome-mahjongg-3.38.3.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-VALA_MIN_API_VERSION="0.24"
inherit gnome.org gnome2-utils meson vala xdg
diff --git a/games-board/gnome-mahjongg/metadata.xml b/games-board/gnome-mahjongg/metadata.xml
index 7b343b06be8..179ce4bbb36 100644
--- a/games-board/gnome-mahjongg/metadata.xml
+++ b/games-board/gnome-mahjongg/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/gnome-mahjongg</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-board/gnome-mines/gnome-mines-40.1.ebuild b/games-board/gnome-mines/gnome-mines-40.1.ebuild
index 00038066279..c268c398629 100644
--- a/games-board/gnome-mines/gnome-mines-40.1.ebuild
+++ b/games-board/gnome-mines/gnome-mines-40.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit gnome.org gnome2-utils meson python-any-r1 vala xdg
DESCRIPTION="Clear hidden mines from a minefield"
diff --git a/games-board/gnome-mines/metadata.xml b/games-board/gnome-mines/metadata.xml
index 7b343b06be8..108dc186c55 100644
--- a/games-board/gnome-mines/metadata.xml
+++ b/games-board/gnome-mines/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/gnome-mines</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-board/gnubg/gnubg-1.06.002-r3.ebuild b/games-board/gnubg/gnubg-1.06.002-r4.ebuild
index 089ad905569..62332863e52 100644
--- a/games-board/gnubg/gnubg-1.06.002-r3.ebuild
+++ b/games-board/gnubg/gnubg-1.06.002-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit autotools desktop python-single-r1 xdg
DESCRIPTION="GNU BackGammon"
@@ -27,7 +27,7 @@ RDEPEND="
net-misc/curl
sys-libs/readline:=
virtual/libintl
- x11-libs/cairo[svg]
+ x11-libs/cairo[svg(+)]
x11-libs/pango
gui? (
media-libs/libcanberra[gtk3]
diff --git a/games-board/gnubg/metadata.xml b/games-board/gnubg/metadata.xml
index 1c3ba213c49..57428f3202d 100644
--- a/games-board/gnubg/metadata.xml
+++ b/games-board/gnubg/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="savannah">gnubg</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-board/gnuchess/files/gnuchess-6.2.9-c++17.patch b/games-board/gnuchess/files/gnuchess-6.2.9-c++17.patch
new file mode 100644
index 00000000000..211efdc71ea
--- /dev/null
+++ b/games-board/gnuchess/files/gnuchess-6.2.9-c++17.patch
@@ -0,0 +1,140 @@
+https://lists.gnu.org/archive/html/bug-gnu-chess/2023-01/msg00000.html
+
+From 321eb9b1ca1b230063259dc43be8a2ab2f3bfee9 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Tue, 17 Jan 2023 22:16:36 -0800
+Subject: [PATCH] Remove 'register' storage class classifier
+
+This is gone with c++17
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/src/frontend/atak.cc
++++ b/src/frontend/atak.cc
+@@ -37,7 +37,7 @@ short SqAtakd (short sq, short side)
+ *
+ **************************************************************************/
+ {
+- register BitBoard *a, b, *c, d, blocker;
++ BitBoard *a, b, *c, d, blocker;
+ int t;
+
+ a = board.b[side];
+@@ -89,7 +89,7 @@ BitBoard AttackTo (int sq, int side)
+ *
+ ***************************************************************************/
+ {
+- register BitBoard *a, b, *c, e, blocker;
++ BitBoard *a, b, *c, e, blocker;
+ int t;
+
+ a = board.b[side];
+--- a/src/frontend/lexpgn.cc
++++ b/src/frontend/lexpgn.cc
+@@ -2431,9 +2431,9 @@ extern int yylex (void);
+ */
+ YY_DECL
+ {
+- register yy_state_type yy_current_state;
+- register char *yy_cp, *yy_bp;
+- register int yy_act;
++ yy_state_type yy_current_state;
++ char *yy_cp, *yy_bp;
++ int yy_act;
+
+ #line 153 "lexpgn.ll"
+
+@@ -3118,9 +3118,9 @@ case YY_STATE_EOF(RAV):
+ */
+ static int yy_get_next_buffer (void)
+ {
+- register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
+- register char *source = (yytext_ptr);
+- register int number_to_move, i;
++ char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
++ char *source = (yytext_ptr);
++ int number_to_move, i;
+ int ret_val;
+
+ if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
+@@ -3252,8 +3252,8 @@ static int yy_get_next_buffer (void)
+
+ static yy_state_type yy_get_previous_state (void)
+ {
+- register yy_state_type yy_current_state;
+- register char *yy_cp;
++ yy_state_type yy_current_state;
++ char *yy_cp;
+
+ yy_current_state = (yy_start);
+ yy_current_state += YY_AT_BOL();
+@@ -3278,8 +3278,8 @@ static int yy_get_next_buffer (void)
+ */
+ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
+ {
+- register int yy_is_jam;
+- register char *yy_cp = (yy_c_buf_p);
++ int yy_is_jam;
++ char *yy_cp = (yy_c_buf_p);
+
+ yy_current_state = yy_nxt[yy_current_state][1];
+ yy_is_jam = (yy_current_state <= 0);
+@@ -3296,9 +3296,9 @@ static int yy_get_next_buffer (void)
+ return yy_is_jam ? 0 : yy_current_state;
+ }
+
+- static void yyunput (int c, register char * yy_bp )
++ static void yyunput (int c, char * yy_bp )
+ {
+- register char *yy_cp;
++ char *yy_cp;
+
+ yy_cp = (yy_c_buf_p);
+
+@@ -3308,10 +3308,10 @@ static int yy_get_next_buffer (void)
+ if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
+ { /* need to shift things up to make room */
+ /* +2 for EOB chars. */
+- register yy_size_t number_to_move = (yy_n_chars) + 2;
+- register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
++ yy_size_t number_to_move = (yy_n_chars) + 2;
++ char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
+ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
+- register char *source =
++ char *source =
+ &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
+
+ while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
+@@ -3925,7 +3925,7 @@ int yylex_destroy (void)
+ #ifndef yytext_ptr
+ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
+ {
+- register int i;
++ int i;
+ for ( i = 0; i < n; ++i )
+ s1[i] = s2[i];
+ }
+@@ -3934,7 +3934,7 @@ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
+ #ifdef YY_NEED_STRLEN
+ static int yy_flex_strlen (yyconst char * s )
+ {
+- register int n;
++ int n;
+ for ( n = 0; s[n]; ++n )
+ ;
+
+--- a/src/frontend/util.cc
++++ b/src/frontend/util.cc
+@@ -75,7 +75,7 @@ void UpdateFriends (void)
+ *
+ ***************************************************************************/
+ {
+- register BitBoard *w, *b;
++ BitBoard *w, *b;
+
+ w = board.b[white];
+ b = board.b[black];
+--
+2.39.1
+
+
diff --git a/games-board/gnuchess/files/gnuchess-6.2.9-configure-quoting.patch b/games-board/gnuchess/files/gnuchess-6.2.9-configure-quoting.patch
new file mode 100644
index 00000000000..5db87b7e56b
--- /dev/null
+++ b/games-board/gnuchess/files/gnuchess-6.2.9-configure-quoting.patch
@@ -0,0 +1,33 @@
+From 1081b76df1f5d89a312db5bb16bc0da33f50f6fa Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Thu, 2 Feb 2023 06:21:31 +0000
+Subject: [PATCH] configure.ac: Fix autoconf quoting breaking AC_FUNC_MEMCMP
+
+See the linked autoconf bug for details, but the gist is that AC_FUNC_MEMCMP
+ends up lacking the needed includes for string.h if a raw 'if' is used as
+opposed to AS_IF.
+
+Quote properly with AS_IF to allow proper generation of the AC_FUNC_MEMCMP
+test and avoid -Wimplicit-function-declaration (which will be fatal in some
+compilers soon, like Clang 16) in its test.
+
+Bug: https://savannah.gnu.org/support/?110530
+--- a/configure.ac
++++ b/configure.ac
+@@ -35,11 +35,11 @@ AC_ARG_WITH(readline,
+ ac_cv_use_readline=yes)
+
+ dnl Check for readline library _and_ headers
+-if test x"$ac_cv_use_readline" = "xyes"; then
++AS_IF([test x"$ac_cv_use_readline" = "xyes"], [
+ AC_CHECK_LIB(ncurses, tputs)
+ AC_CHECK_LIB(readline, readline)
+ AC_CHECK_HEADERS(readline/readline.h readline/history.h)
+-fi
++])
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
+--
+2.39.1
+
diff --git a/games-board/gnuchess/gnuchess-6.2.9.ebuild b/games-board/gnuchess/gnuchess-6.2.9-r1.ebuild
index 85c25649da8..c49bebcca0b 100644
--- a/games-board/gnuchess/gnuchess-6.2.9.ebuild
+++ b/games-board/gnuchess/gnuchess-6.2.9-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit flag-o-matic
+inherit autotools flag-o-matic
DESCRIPTION="Console based chess interface"
HOMEPAGE="https://www.gnu.org/software/chess/chess.html"
@@ -13,6 +13,18 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv x86"
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.2.9-c++17.patch
+ "${FILESDIR}"/${PN}-6.2.9-configure-quoting.patch
+)
+
+src_prepare() {
+ default
+
+ # Needed for clang 16 patch (quoting)
+ eautoreconf
+}
+
src_configure() {
# -Wodr warnings, bug #858611
filter-lto
diff --git a/games-board/gnushogi/metadata.xml b/games-board/gnushogi/metadata.xml
index 1c3ba213c49..2c979d8fcda 100644
--- a/games-board/gnushogi/metadata.xml
+++ b/games-board/gnushogi/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="savannah">gnushogi</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-board/iagno/metadata.xml b/games-board/iagno/metadata.xml
index 7b343b06be8..fdd7a7908f3 100644
--- a/games-board/iagno/metadata.xml
+++ b/games-board/iagno/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/iagno</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-board/phalanx/metadata.xml b/games-board/phalanx/metadata.xml
index 9cb46e91f00..892864a976f 100644
--- a/games-board/phalanx/metadata.xml
+++ b/games-board/phalanx/metadata.xml
@@ -6,10 +6,10 @@
<name>Gentoo Games Project</name>
</maintainer>
<longdescription lang="en">
-This is the Phalanx chess engine. Phalanx's playing style is quite human-like;
-when it plays at full strength, it may be compared to a intermediate-to-strong
-player; beginners will be right at home with it, too.
-</longdescription>
+ This is the Phalanx chess engine. Phalanx's playing style is quite human-like;
+ when it plays at full strength, it may be compared to a intermediate-to-strong
+ player; beginners will be right at home with it, too.
+ </longdescription>
<upstream>
<remote-id type="sourceforge">phalanx</remote-id>
</upstream>
diff --git a/games-board/pychess/pychess-1.0.3-r2.ebuild b/games-board/pychess/pychess-1.0.3-r2.ebuild
index adb277fbbb6..4a7e645d10f 100644
--- a/games-board/pychess/pychess-1.0.3-r2.ebuild
+++ b/games-board/pychess/pychess-1.0.3-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..10} )
PYTHON_REQ_USE="sqlite"
inherit distutils-r1 xdg
diff --git a/games-board/pysolfc/Manifest b/games-board/pysolfc/Manifest
index 49bd059d17a..87e3ae7782a 100644
--- a/games-board/pysolfc/Manifest
+++ b/games-board/pysolfc/Manifest
@@ -1,3 +1,3 @@
-DIST PySolFC-2.16.0.tar.xz 6391048 BLAKE2B 94f25033cf5b15af002d924cd2bfff5f90a1165ac9c23ba72a204d424e1678d904c37b13f16695f60c26d9e93a0b00f33e3f59d4b5bf4846d2570ed8c19d7725 SHA512 8f327b621d7c964abcf3e64a866e4a0153f4d6c2347f06eda1535df4effec1d7b7391e55c9ff42a1da6764473a246c0d646a589a4aa6b225076f97fd22381acd
+DIST PySolFC-2.18.0.tar.xz 9134632 BLAKE2B 68d777afa058ce73d6888b40e5fef060257f7449e3c1dbf2ec02c4ab35c5917000be3d2ec815e02b2353b793d6a7e010721f498098786f7f172181cda01039a0 SHA512 6e8b46cf3271f8695da6b6fd3090a32839beeed237d35a77f47ad95dfe1690ea471f35e722af65dba9d908f74ace109d1c06d7dd37889962ca0d610c62215397
DIST PySolFC-Cardsets--Minimal-2.1.0.tar.xz 28484652 BLAKE2B a7537557ce978d296d1a11253a5bfa80a19fc67b495948e35d43d64bcc1283812e753ccf9ee1828461b723e6a21070b3003435f046a590507a7fa6f95bae09c2 SHA512 cc83a26470c2fb13e70741bd8caccb8bd3b0491672eae0caf7437cf38d57e324d225186dde3be49c091d6960dbaefaa23814bcdd7326b07f0f1e32dda15b251c
DIST PySolFC-Cardsets-2.1.tar.bz2 61214563 BLAKE2B 06bf69f22fdcdfbd652bbe75f05722a452609da435a688a04227d235f7a4bd618cb3832e9143d224571eb20c1948014a456d697923623354c81ec12eff365bd9 SHA512 64909dec3d7f0a683e3c0d536f2c3435d0b021b390e411bcd6c9774562483413864105837e57c3210168330f17eda779055a1ec3b52d91aa05f405b990bd6fca
diff --git a/games-board/pysolfc/pysolfc-2.16.0.ebuild b/games-board/pysolfc/pysolfc-2.18.0.ebuild
index d7a6144a6a8..c3338cd15fe 100644
--- a/games-board/pysolfc/pysolfc-2.16.0.ebuild
+++ b/games-board/pysolfc/pysolfc-2.18.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="tk"
inherit distutils-r1 xdg
diff --git a/games-board/scid/scid-4.7.0.ebuild b/games-board/scid/scid-4.7.0.ebuild
index ab2ebaf3830..a5feff4f315 100644
--- a/games-board/scid/scid-4.7.0.ebuild
+++ b/games-board/scid/scid-4.7.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..10} )
inherit cmake desktop optfeature python-single-r1
DESCRIPTION="Shane's Chess Information Database"
diff --git a/games-board/stockfish/Manifest b/games-board/stockfish/Manifest
index 56a3e17f5a6..46402e3653e 100644
--- a/games-board/stockfish/Manifest
+++ b/games-board/stockfish/Manifest
@@ -6,4 +6,6 @@ DIST stockfish-14.1-nn-13406b1dcbe0.nnue 47001243 BLAKE2B ef7deeeac9d4fb03e70695
DIST stockfish-14.1.tar.gz 187792 BLAKE2B 84ed9da634a1e52579d0aa1ef356cd31a350ecafc44ebc632080b1c6c2c01d7a2cab8d7ab44065abd140b74e65bdcea8e3cc0a5e5c5daca8060303798df90c6f SHA512 b45ec44ba88a22e528a9ae417135851ace75006d0295eb77ab92dd1dc08f3c445a50047b1f2a4a7ab73773b2ce07bd98b601e40c6f75a63586c565cec5e33039
DIST stockfish-14.tar.gz 183879 BLAKE2B fd2fbcd37f90baf6b81432ebee7aa5b949c05253e04ec361fa502687de597e90aa6c85a90a5fd1baea52da423264d8e14853303564c3bc6f37bc98de890c5d3c SHA512 90025c0559d09f950732c051362711bed7f22e5495daeadf1ac8d7b1be9ede7e9aff80ca8755fccd95bdb48e2b2ea4b4355e02cd9112ac8e5eec457774289f34
DIST stockfish-15-nn-6877cd24400e.nnue 47001499 BLAKE2B 12d9c250e7fc920aa1c575bdfa280ee648419307d7bb30dbda0e52a7a4b92a15063fba9a00e04c4201602d8778e181f8fff73a2f5a2963f197fb30020fdf78a0 SHA512 456961b01c7b7a852ac23eb9de8aca65204d5d0566868c998eb8918abd9c9eef7f7fb08ac08a7750eaede451859f93a15e92e1a14ecc269268dadb9a7b0eb135
+DIST stockfish-15.1-nn-ad9b42354671.nnue 47001499 BLAKE2B ae4caa4c7c68941fe57b03fe6c8df996dad9138e7a53caad6f08e3c8ce924c9445ecfba9f8ff3091380d4d7b0b932cff654ded7758b3abcec934cd322bf73418 SHA512 25114b2ada67cf1dd8a0a5ff78eb3b48e8406fb3e3851753d1293acf2512878856fac6c171e65b9d186e639482fd34e2b80553a1331ed73c7d40f85460a46d42
+DIST stockfish-15.1.tar.gz 193408 BLAKE2B 53f90d1ec35a96e804dc572ccc53f94b7d16686e02fb1c490f22129c313d74f39c3beeadf896016a0e0bdf9fd01bfec2f78efcaa1261869fbb599e45f8549a4b SHA512 86c0e7cdaf84b70078ab1c7db89e710ea20876952cfa726507e50d739aadcdf892bb1545bbc5fe1bf861bfbcd829e6414ee54dd9020763db9fd43617b7431532
DIST stockfish-15.tar.gz 189578 BLAKE2B 49af86be2d926ad51021edc119fee260d54fbb37d22d9e0883c382a60d6d0f742b7eee5df296b1dc85552e24269e97c172df70e0a894b328e5bfa92d0614d608 SHA512 d79f713654d5ff0b7f158394c887dce015ef613242e52ef55575c024255da6f6a6bdfe974ff1037599fc99ddfdc2774e37bbc6b8fc88ed0df59590f820a27ffa
diff --git a/games-board/stockfish/stockfish-15.1.ebuild b/games-board/stockfish/stockfish-15.1.ebuild
new file mode 100644
index 00000000000..41f4912b4c4
--- /dev/null
+++ b/games-board/stockfish/stockfish-15.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
+HOMEPAGE="https://stockfishchess.org/"
+
+NNUE_FILE="nn-ad9b42354671.nnue"
+
+SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz
+ https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
+ general-32 general-64 +optimize"
+
+DEPEND="|| ( app-arch/unzip app-arch/zip )"
+RDEPEND=""
+
+S="${WORKDIR}/Stockfish-sf_${PV}/src"
+
+src_prepare() {
+ default
+
+ # remove config sanity check that doesn't like our COMPILER settings
+ sed -i -e 's/ config-sanity//g' Makefile || die
+
+ cp "${DISTDIR}"/${P}-${NNUE_FILE} ${NNUE_FILE} || die "copying the nnue file failed"
+
+ # prevent pre-stripping
+ sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
+ || die 'failed to disable stripping in the Makefile'
+}
+
+src_compile() {
+ local my_arch
+
+ # generic unoptimized first
+ use general-32 && my_arch=general-32
+ use general-64 && my_arch=general-64
+
+ # x86
+ use x86 && my_arch=x86-32-old
+ use cpu_flags_x86_sse && my_arch=x86-32
+
+ # amd64
+ use amd64 && my_arch=x86-64
+ use cpu_flags_x86_popcnt && my_arch=x86-64-modern
+
+ # both bmi2 and avx2 are part of hni (haswell new instructions)
+ use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
+
+ # other architectures
+ use cpu_flags_arm_v7 && my_arch=armv7
+ use ppc && my_arch=ppc
+ use ppc64 && my_arch=ppc64
+
+ # There's a nice hack in the Makefile that overrides the value of CXX with
+ # COMPILER to support Travis CI and we abuse it to make sure that we
+ # build with our compiler of choice.
+ emake profile-build ARCH="${my_arch}" \
+ COMP="$(tc-getCXX)" \
+ COMPILER="$(tc-getCXX)" \
+ debug=$(usex debug "yes" "no") \
+ optimize=$(usex optimize "yes" "no")
+}
+
+src_install() {
+ dobin "${PN}"
+ dodoc ../AUTHORS ../README.md
+}
diff --git a/games-board/tali/Manifest b/games-board/tali/Manifest
index 93fb3c723cf..b4cdffa8587 100644
--- a/games-board/tali/Manifest
+++ b/games-board/tali/Manifest
@@ -1,2 +1,2 @@
-DIST tali-40.7.tar.xz 1684740 BLAKE2B ee913a4b0420b7751f26ecdb9805d74811330effb0e3d5e8fa6a4005a5ac410274120ac9c78ec240f062a094c603184c8a237d97b744641d3550db9b2a5a5ea9 SHA512 fc9a13b2d8b37fa5726d99f7ca8bde35b23cd210391d6f4309a0b952d28adc09c3566eb5c88d0dd30b39abbb4abe05ba2f441bad6a8598abfcb1189a3d87cce4
DIST tali-40.8.tar.xz 1686244 BLAKE2B ad55838f199cce1c5a9b9ff0fa97d8c933900d4917c7339ec3d78f39203802f0ef9b8008a3400a5bddffce62d5ab9daba2af3855ba8bd4c35c69c2fce8984e75 SHA512 fe7a0a0a58c32f09264c270402af94f71e790926bd3f3523d57049628c43bfaf8b0e1ed5c676ef02b817f354d6c3fe183799ee9ff9d7a5e2198e4a4066f3e93a
+DIST tali-40.9.tar.xz 1672980 BLAKE2B 124935274373b95c915938da7bf47f4a7bea33c95424e81d8c25586382e547786d68d3fe0128dc5d812651bd2f619a8f02aaf1ede3f36d8daa2d735edcdf4e48 SHA512 8c38919519be574e9a44a0fef3208f3ac1ca371cd9127fa0cff34f2572b50f8706c9872193d9414b6ad91f57d1a084861d395078fcb01ccde5dfd35717a063d8
diff --git a/games-board/tali/metadata.xml b/games-board/tali/metadata.xml
index 7b343b06be8..238a02301ec 100644
--- a/games-board/tali/metadata.xml
+++ b/games-board/tali/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnome@gentoo.org</email>
- <name>Gentoo GNOME Desktop</name>
-</maintainer>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/tali</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-board/tali/tali-40.8.ebuild b/games-board/tali/tali-40.8.ebuild
index a8290104752..143b0f4d03b 100644
--- a/games-board/tali/tali-40.8.ebuild
+++ b/games-board/tali/tali-40.8.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit gnome.org gnome2-utils meson python-any-r1 xdg
DESCRIPTION="Beat the odds in a poker-style dice game"
diff --git a/games-board/tali/tali-40.7.ebuild b/games-board/tali/tali-40.9.ebuild
index f4da8469f4d..51471437db0 100644
--- a/games-board/tali/tali-40.7.ebuild
+++ b/games-board/tali/tali-40.9.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit gnome.org gnome2-utils meson python-any-r1 xdg
DESCRIPTION="Beat the odds in a poker-style dice game"
@@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Tali https://gitlab.gnome.org/GNOME/tali"
LICENSE="GPL-2+ FDL-1.1+"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~riscv x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
DEPEND="
dev-libs/glib:2
diff --git a/games-board/xboard/metadata.xml b/games-board/xboard/metadata.xml
index 643fc2c1cd9..2ece8a89024 100644
--- a/games-board/xboard/metadata.xml
+++ b/games-board/xboard/metadata.xml
@@ -9,4 +9,7 @@
<flag name="zippy">Enable experimental zippy client</flag>
<flag name="default-font">Install the default font that xboard uses</flag>
</use>
+ <upstream>
+ <remote-id type="savannah">xboard</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-board/xboard/xboard-4.9.1.ebuild b/games-board/xboard/xboard-4.9.1.ebuild
index b68ccfc2f03..3d75e1499bd 100644
--- a/games-board/xboard/xboard-4.9.1.ebuild
+++ b/games-board/xboard/xboard-4.9.1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="GUI for gnuchess and for internet chess servers"
HOMEPAGE="https://www.gnu.org/software/xboard/"
SRC_URI="mirror://gnu/xboard/${P}.tar.gz"
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="+default-font gtk nls Xaw3d zippy"
diff --git a/games-board/xgammon/xgammon-0.98-r3.ebuild b/games-board/xgammon/xgammon-0.98-r3.ebuild
index 7d116d14a8e..b5c4afd2bee 100644
--- a/games-board/xgammon/xgammon-0.98-r3.ebuild
+++ b/games-board/xgammon/xgammon-0.98-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="very nice backgammon game for X"
HOMEPAGE="http://fawn.unibw-hamburg.de/steuer/xgammon/xgammon.html"
@@ -34,6 +34,8 @@ PATCHES=(
)
src_configure() {
+ append-cflags -std=gnu89 # old codebase, incompatible with c2x
+
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
}
diff --git a/games-board/xskat/files/xskat-4.0-clang16.patch b/games-board/xskat/files/xskat-4.0-clang16.patch
new file mode 100644
index 00000000000..c9bfe67e785
--- /dev/null
+++ b/games-board/xskat/files/xskat-4.0-clang16.patch
@@ -0,0 +1,8 @@
+https://bugs.gentoo.org/875473
+--- a/null.c
++++ b/null.c
+@@ -181,2 +181,4 @@
+ int minmaxfb(f,fb)
++int f;
++int fb;
+ {
diff --git a/games-board/xskat/xskat-4.0-r2.ebuild b/games-board/xskat/xskat-4.0-r2.ebuild
index da925919f0c..34b32c4049b 100644
--- a/games-board/xskat/xskat-4.0-r2.ebuild
+++ b/games-board/xskat/xskat-4.0-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit desktop toolchain-funcs
+inherit desktop flag-o-matic toolchain-funcs
DESCRIPTION="Famous german card game"
HOMEPAGE="http://www.xskat.de/xskat.html"
@@ -15,21 +15,28 @@ LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-DEPEND="x11-libs/libX11"
+COMMON_DEPEND="x11-libs/libX11"
RDEPEND="
- ${DEPEND}
+ ${COMMON_DEPEND}
media-fonts/font-misc-misc"
-BDEPEND="
- virtual/pkgconfig
+DEPEND="
+ ${COMMON_DEPEND}
x11-base/xorg-proto"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-clang16.patch
+)
src_configure() { :; }
src_compile() {
tc-export CC
+ append-cflags -std=gnu89 # old codebase, will break with c2x
local emakeargs=(
- CFLAGS="${CFLAGS} ${CPPFLAGS}"
+ CFLAGS="${CFLAGS} ${CPPFLAGS} $($(tc-getPKG_CONFIG) --cflags x11 || die)"
+ CPPFLAGS= # force everywhere above, but avoid implicit duplication
LDFLAGS="${LDFLAGS} $($(tc-getPKG_CONFIG) --libs x11 || die)"
)