commit:     332ed13c8b727ae7edd3fea2af19bf11e1d71d3e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 27 17:48:03 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 27 17:48:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=332ed13c

games-fps/tenebrae: treeclean

Closes: https://bugs.gentoo.org/77471 (pkgremoved)
Closes: https://bugs.gentoo.org/926465 (pkgremoved)
Closes: https://bugs.gentoo.org/941191 (pkgremoved)
Closes: https://bugs.gentoo.org/948965 (pkgremoved)
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 games-fps/tenebrae/Manifest                        |  2 -
 games-fps/tenebrae/files/1.04-glhax.patch          | 32 ----------
 .../tenebrae/files/tenebrae-1.04-exec-stack.patch  | 36 -----------
 games-fps/tenebrae/files/tenebrae-1.04-redef.patch | 19 ------
 games-fps/tenebrae/metadata.xml                    | 18 ------
 games-fps/tenebrae/tenebrae-1.04-r1.ebuild         | 70 ----------------------
 profiles/package.mask                              |  5 --
 7 files changed, 182 deletions(-)

diff --git a/games-fps/tenebrae/Manifest b/games-fps/tenebrae/Manifest
deleted file mode 100644
index e59e5bf59a16..000000000000
--- a/games-fps/tenebrae/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST tenebrae-1.04.tbz2 625988 BLAKE2B 
f6eebd483c9dc7d4df3484e6dc55cde6d4d6166c029ff73133217d36c8064175e57bc1a3578f6119884f2d4d471cf717902b490c9a308ea38414c60d1d0a1909
 SHA512 
f74d1dcaf5b29fcc047f93e4c99c8b5264751c5687370ba4605cad76f85fe346e0e17a6546b8766acedabf23fed69d6894dda6499c854ef0736dddeddc89e18e
-DIST tenebraedata.zip 3989498 BLAKE2B 
3f78240c0c3be4b265f4d8d1fc53f0ed331b01097afdb77c1146eef667330ae7ce8965a12a974ee23133a183e3dd92d39de320937cab2fcf10659d1d97f5162a
 SHA512 
c69e8e18ab0c7d10b5e1c9ad3b396b0906302e6d75c0969d8c2b513df0a11b410de86736a67632378bf28d564c04c3e937f164cb3850742e183616ddc8ac4742

diff --git a/games-fps/tenebrae/files/1.04-glhax.patch 
b/games-fps/tenebrae/files/1.04-glhax.patch
deleted file mode 100644
index ffabf36f1768..000000000000
--- a/games-fps/tenebrae/files/1.04-glhax.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- a/glquake.h
-+++ b/glquake.h
-@@ -34,6 +34,7 @@
- #else
- #include <GL/gl.h>
- #include <GL/glu.h>
-+#include <GL/glext.h>
- #endif /* __APPLE__ ||�MACOSX */
- 
- /* use the correct dynamic function address binder */  
-@@ -420,8 +421,10 @@
- void GL_Bind (int texnum);
- 
- #ifndef _WIN32
-+#ifndef APIENTRY
- #define APIENTRY /* */
- #endif
-+#endif
- 
- #if !defined (__APPLE__) && !defined (MACOSX)
- 
-@@ -1134,8 +1137,10 @@
- // <AWE> There are some diffs with the function parameters. wgl stuff not 
present with MacOS X. -DC- and SDL 
- #if defined (__APPLE__) || defined (MACOSX) || defined(SDL) || defined 
(__glx__)
- 
-+#ifndef GL_APPLE_vertex_array_range
- typedef void (APIENTRY * PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei 
length, const GLvoid *pointer);
- typedef void (APIENTRY * PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei size, const 
GLvoid *pointer);
-+#endif
- 
- extern PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC qglFlushVertexArrayRangeAPPLE;
- extern PFNGLVERTEXARRAYRANGEAPPLEPROC qglVertexArrayRangeAPPLE;

diff --git a/games-fps/tenebrae/files/tenebrae-1.04-exec-stack.patch 
b/games-fps/tenebrae/files/tenebrae-1.04-exec-stack.patch
deleted file mode 100644
index abc8bd4a2b87..000000000000
--- a/games-fps/tenebrae/files/tenebrae-1.04-exec-stack.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- a/math.s
-+++ b/math.s
-@@ -416,3 +416,6 @@
-       call    C(BOPS_Error)
- 
- #endif        // id386
-+#if defined(__linux__) && defined(__ELF__)
-+.section .note.GNU-stack,"",%progbits
-+#endif
---- a/snd_mixa.s
-+++ b/snd_mixa.s
-@@ -216,3 +216,6 @@
- 
- #endif        // id386
- 
-+#if defined(__linux__) && defined(__ELF__)
-+.section .note.GNU-stack,"",%progbits
-+#endif
---- a/sys_dosa.s
-+++ b/sys_dosa.s
-@@ -93,3 +93,6 @@
- 
-       ret
- 
-+#if defined(__linux__) && defined(__ELF__)
-+.section .note.GNU-stack,"",%progbits
-+#endif
---- a/worlda.s
-+++ b/worlda.s
-@@ -142,3 +142,6 @@
- 
- #endif        // id386
- 
-+#if defined(__linux__) && defined(__ELF__)
-+.section .note.GNU-stack,"",%progbits
-+#endif

diff --git a/games-fps/tenebrae/files/tenebrae-1.04-redef.patch 
b/games-fps/tenebrae/files/tenebrae-1.04-redef.patch
deleted file mode 100644
index abcfacec180c..000000000000
--- a/games-fps/tenebrae/files/tenebrae-1.04-redef.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/sys_dosa.s
-+++ b/sys_dosa.s
-@@ -44,6 +44,8 @@
- 
-       .text
- 
-+// Falls back to an empty stub on non-i386, in sys_linux.c
-+#if     id386
- .globl C(Sys_LowFPPrecision)
- C(Sys_LowFPPrecision):
-       fldcw   single_cw
-@@ -55,6 +57,7 @@
-       fldcw   full_cw
- 
-       ret
-+#endif
- 
- .globl C(Sys_PushFPCW_SetHigh)
- C(Sys_PushFPCW_SetHigh):

diff --git a/games-fps/tenebrae/metadata.xml b/games-fps/tenebrae/metadata.xml
deleted file mode 100644
index 22b67990e52c..000000000000
--- a/games-fps/tenebrae/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Gentoo Games Project</name>
-       </maintainer>
-       <longdescription>
-       Tenebrae is a modification of the quake source that adds stencil shadows
-       and per pixel lights to quake. Stencil shadows allow for realistic
-       shadow effects on every object in the game world. Per pixel lighting
-       allows you to have fine surface details correctly lit. These are
-       essentially the same algorithms as used by the new Doom game.
-       </longdescription>
-       <upstream>
-               <remote-id type="sourceforge">tenebrae</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/games-fps/tenebrae/tenebrae-1.04-r1.ebuild 
b/games-fps/tenebrae/tenebrae-1.04-r1.ebuild
deleted file mode 100644
index 433bb4b09774..000000000000
--- a/games-fps/tenebrae/tenebrae-1.04-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-#ECVS_SERVER="cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae"
-#ECVS_MODULE="tenebrae_0"
-
-inherit toolchain-funcs
-
-DESCRIPTION="Adds stencil shadows and per pixel lights to quake"
-HOMEPAGE="https://tenebrae.sourceforge.net/";
-SRC_URI="https://downloads.sourceforge.net/tenebrae/tenebraedata.zip
-       mirror://gentoo/${P}.tbz2"
-S="${WORKDIR}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-
-RDEPEND="
-       media-libs/libpng:0
-       virtual/glu
-       virtual/opengl
-       x11-libs/libXxf86dga
-       x11-libs/libXxf86vm
-"
-DEPEND="
-       ${RDEPEND}
-       x11-base/xorg-proto
-"
-BDEPEND="app-arch/unzip"
-
-PATCHES=(
-       "${FILESDIR}"/${PV}-glhax.patch
-       "${FILESDIR}"/${P}-exec-stack.patch
-       "${FILESDIR}"/${P}-redef.patch
-)
-
-src_prepare() {
-       cd tenebrae_0 || die "cd failed"
-
-       sed -i \
-               -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:g' 
\
-               gl_warp.c || die
-
-       default
-
-       cd linux || die "cd failed"
-       sed \
-               -e "/^LDFLAGS/s:=:+=:" \
-               -e "s:-mpentiumpro -O6:${CFLAGS}:" \
-               -e "s:CC.*= /usr/bin/gcc:CC?=/usr/bin/gcc:" \
-               Makefile.i386linux > Makefile || die
-}
-
-src_compile() {
-       tc-export CC
-
-       cd "${S}"/tenebrae_0/linux || die "cd failed"
-       emake MASTER_DIR="/usr/share/quake1" build_release
-}
-
-src_install() {
-       newbin tenebrae_0/linux/release*/bin/tenebrae.run tenebrae
-
-       insinto /usr/share/quake1/tenebrae
-       doins "${WORKDIR}"/tenebrae/*
-       dodoc tenebrae_0/linux/README "${WORKDIR}"/Tenebrae_Readme.txt
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 7be5605ee2bd..031f92a6ee03 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -143,11 +143,6 @@ kde-apps/cervisia
 >=dev-python/pygobject-3.52
 >=net-im/gajim-2.3.0
 
-# Alexey Sokolov <[email protected]> (2025-06-09)
-# Unmaintained upstream since 2008, doesn't build. x86-only.
-# Removal on 2025-07-12. Bugs #77471, #926465, #941191, #948965.
-games-fps/tenebrae
-
 # Alexey Sokolov <[email protected]> (2025-06-09)
 # Dead upstream, fails to compile.
 # Removal on 2025-07-12. Bugs #919185, #882585, #871018, #913572

Reply via email to