mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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@gentoo.org>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST tenebrae-1.04.tbz2 625988 BLAKE2B f6eebd483c9dc7d4df3484e6dc55cde6d4d6166c029ff73133217d36c8064175e57bc1a3578f6119884f2d4d471cf717902b490c9a308ea38414c60d1d0a1909 SHA512 f74d1dcaf5b29fcc047f93e4c99c8b5264751c5687370ba4605cad76f85fe346e0e17a6546b8766acedabf23fed69d6894dda6499c854ef0736dddeddc89e18e
|
||||
DIST tenebraedata.zip 3989498 BLAKE2B 3f78240c0c3be4b265f4d8d1fc53f0ed331b01097afdb77c1146eef667330ae7ce8965a12a974ee23133a183e3dd92d39de320937cab2fcf10659d1d97f5162a SHA512 c69e8e18ab0c7d10b5e1c9ad3b396b0906302e6d75c0969d8c2b513df0a11b410de86736a67632378bf28d564c04c3e937f164cb3850742e183616ddc8ac4742
|
||||
@@ -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;
|
||||
@@ -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
|
||||
@@ -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):
|
||||
@@ -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>games@gentoo.org</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>
|
||||
@@ -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
|
||||
}
|
||||
@@ -143,11 +143,6 @@ kde-apps/cervisia
|
||||
>=dev-python/pygobject-3.52
|
||||
>=net-im/gajim-2.3.0
|
||||
|
||||
# Alexey Sokolov <alexey+gentoo@asokolov.org> (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 <alexey+gentoo@asokolov.org> (2025-06-09)
|
||||
# Dead upstream, fails to compile.
|
||||
# Removal on 2025-07-12. Bugs #919185, #882585, #871018, #913572
|
||||
|
||||
Reference in New Issue
Block a user