commit:     37d74a15b5ccf1cc0a35778c834417cd6e8b8b5c
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 24 12:18:02 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Nov 24 12:18:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d74a15

games-arcade/commandergenius: Drop old 2.4.0-r1

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-arcade/commandergenius/Manifest              |  1 -
 .../commandergenius-2.4.0-r1.ebuild                | 93 ----------------------
 .../files/commandergenius-2.3.1-paths.patch        | 11 ---
 .../files/commandergenius-2.4.0-gcc13.patch        | 23 ------
 4 files changed, 128 deletions(-)

diff --git a/games-arcade/commandergenius/Manifest 
b/games-arcade/commandergenius/Manifest
index bb0667e29442..07adee494f7a 100644
--- a/games-arcade/commandergenius/Manifest
+++ b/games-arcade/commandergenius/Manifest
@@ -1,2 +1 @@
-DIST Commander-Genius-v2.4.0.tar.bz2 62351265 BLAKE2B 
0a3338bee2e494f415ce5072978f050766fff16e5df5e7b27824fb4d4c699d2e5a690924f339189325383bee273cbfa5424f43aa9dc87ae4abf63c7cbf1ea6cd
 SHA512 
76eda96fade00d164d3ea5b95acadfb28a3b24864a5ce3f2c9317837a1027cd8d0282a474b8d25bacc26008a26a6adc5062ee655f9abd350d44db58aa70d3b3b
 DIST Commander-Genius-v3.6.1.tar.bz2 55509384 BLAKE2B 
2b98d9629128f0fe7b0d688d79d695b0cf3f36f13c009b81537a1bedc6bb04d15ef0fc17634af5692c3d022a40e098c83c2601862b9a2579db049ec471ad72e9
 SHA512 
d0e2a074c75d2634900d31308fe42c117f676c4d88786a977207f25cedf6ec22b365098176de24109ba2d50c4c693f29dd11dd6edce50aaafc043c5fa205b20a

diff --git a/games-arcade/commandergenius/commandergenius-2.4.0-r1.ebuild 
b/games-arcade/commandergenius/commandergenius-2.4.0-r1.ebuild
deleted file mode 100644
index 7bf9865f3344..000000000000
--- a/games-arcade/commandergenius/commandergenius-2.4.0-r1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# note: version >=2.5.0 switches from python to lua
-PYTHON_COMPAT=( python3_{11..13} python3_13t )
-inherit cmake flag-o-matic python-single-r1 xdg
-
-MY_P=Commander-Genius-v${PV}
-
-DESCRIPTION="Open Source Commander Keen clone (needs original game files)"
-HOMEPAGE="https://clonekeenplus.sourceforge.io/";
-SRC_URI="https://gitlab.com/Dringgstein/Commander-Genius/-/archive/v${PV}/${MY_P}.tar.bz2";
-S=${WORKDIR}/${MY_P}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+downloader opengl +python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="mirror" # contains keen files, but we do not install them
-
-RDEPEND="
-       media-libs/libsdl2[opengl?,video]
-       media-libs/sdl2-image
-       media-libs/sdl2-mixer[vorbis]
-       media-libs/sdl2-ttf
-       virtual/minizip:=
-       downloader? ( net-misc/curl )
-       opengl? ( virtual/opengl )
-       python? ( ${PYTHON_DEPS} )
-"
-DEPEND="
-       ${RDEPEND}
-       dev-libs/boost
-"
-BDEPEND="python? ( ${PYTHON_DEPS} )"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-2.3.1-build.patch
-       "${FILESDIR}"/${PN}-2.3.1-paths.patch
-       "${FILESDIR}"/${P}-gcc13.patch
-)
-
-pkg_setup() {
-       use python && python-single-r1_pkg_setup
-}
-
-src_configure() {
-       filter-lto #858530
-
-       local mycmakeargs=(
-               -DAPPDIR="${EPREFIX}"/usr/bin
-               -DDOCDIR="${EPREFIX}"/usr/share/doc/${PF}
-               -DGAMES_SHAREDIR="${EPREFIX}"/usr/share
-               -DDOWNLOADER=$(usex downloader)
-               -DUSE_OPENGL=$(usex opengl)
-               -DUSE_PYTHON3=$(usex python)
-               -DUSE_SDL2=yes
-               -DUSE_SDL_TTF=yes # crashes when disabled
-               $(usev python -DPython3_EXECUTABLE="${PYTHON}")
-       )
-
-       cmake_src_configure
-}
-
-src_install() {
-       local DOCS=() # skip .in template file, can drop this on bump
-       cmake_src_install
-
-       # default executable name is weird
-       dosym CGeniusExe /usr/bin/${PN}
-
-       # game data can be manually installed here
-       keepdir /usr/share/${PN}/games
-}
-
-pkg_postinst() {
-       xdg_pkg_postinst
-
-       elog "Run ${PN} to start the game. It will search for game data"
-       elog "in ~/.CommanderGenius/games and ${EPREFIX}${GAMESDIR}."
-       elog "You can also specify paths in cgenius.cfg or pass paths as an"
-       elog "argument."
-       elog
-       use downloader && elog "Data for some games can be downloaded from the 
menu."
-       elog
-       elog "Check your settings in ~/.CommanderGenius/cgenius.cfg after you 
have"
-       elog "started the game for the first time."
-       elog
-       use opengl && elog "You may also want to set \"OpenGL = true\"."
-}

diff --git 
a/games-arcade/commandergenius/files/commandergenius-2.3.1-paths.patch 
b/games-arcade/commandergenius/files/commandergenius-2.3.1-paths.patch
deleted file mode 100644
index 50fb90b95022..000000000000
--- a/games-arcade/commandergenius/files/commandergenius-2.3.1-paths.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur a/GsKit/base/utils/FindFile.cpp b/GsKit/base/utils/FindFile.cpp
---- a/GsKit/base/utils/FindFile.cpp    2019-02-08 15:17:29.000000000 +0000
-+++ b/GsKit/base/utils/FindFile.cpp    2019-02-19 23:14:32.299939859 +0000
-@@ -493,7 +493,6 @@
- #else
-       AddToFileList(&basesearchpaths, "${HOME}/.CommanderGenius");
- #endif
--      AddToFileList(&basesearchpaths, ".");
-       AddToFileList(&basesearchpaths, SYSTEM_DATA_DIR"/commandergenius"); // 
no use of ${SYSTEM_DATA}, because it is uncommon and could cause confusion to 
the user
- #endif
- }

diff --git 
a/games-arcade/commandergenius/files/commandergenius-2.4.0-gcc13.patch 
b/games-arcade/commandergenius/files/commandergenius-2.4.0-gcc13.patch
deleted file mode 100644
index 866905c251b8..000000000000
--- a/games-arcade/commandergenius/files/commandergenius-2.4.0-gcc13.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-https://gitlab.com/Dringgstein/Commander-Genius/-/commit/f9fb2808acfca598fe6e6963c84fe9afe5bcd89e
-
-From f9fb2808acfca598fe6e6963c84fe9afe5bcd89e Mon Sep 17 00:00:00 2001
-From: Jan Engelhardt <[email protected]>
-Date: Tue, 28 Mar 2023 10:56:06 +0200
-Subject: [PATCH] build: resolve compile error with gcc-13
-
-GsKit/base/utils/Unicode.h:16:9: error: 'uint32_t' does not name a type
-GsKit/base/utils/Unicode.h:17:27: error: 'UnicodeChar' was not declared in 
this scope
-GsKit/base/utils/Unicode.h:17:38: error: template argument 1 is invalid
-...
---- a/GsKit/base/utils/Unicode.h
-+++ b/GsKit/base/utils/Unicode.h
-@@ -11,6 +11,7 @@
- #ifndef __UNICODE_H__
- #define __UNICODE_H__
- 
-+#include <cstdint>
- #include <string>
- 
- typedef uint32_t UnicodeChar;
--- 
-GitLab

Reply via email to