summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-fps/nprquake-sdl/ChangeLog29
-rw-r--r--games-fps/nprquake-sdl/Manifest6
-rw-r--r--games-fps/nprquake-sdl/files/1-gentoo.patch94
-rw-r--r--games-fps/nprquake-sdl/files/nprquake-sdl-1-exec-stack.patch36
-rw-r--r--games-fps/nprquake-sdl/metadata.xml15
-rw-r--r--games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild68
6 files changed, 0 insertions, 248 deletions
diff --git a/games-fps/nprquake-sdl/ChangeLog b/games-fps/nprquake-sdl/ChangeLog
deleted file mode 100644
index e17bdd88d423..000000000000
--- a/games-fps/nprquake-sdl/ChangeLog
+++ /dev/null
@@ -1,29 +0,0 @@
-# ChangeLog for games-fps/nprquake-sdl
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/nprquake-sdl/ChangeLog,v 1.8 2007/12/25 22:45:44 solar Exp $
-
- 25 Dec 2007; <solar@gentoo.org> nprquake-sdl-1-r1.ebuild:
- - binary packages that are linked with libc.so.6 need to use sys-libs/glibc
- in RDEPEND
-
- 02 Jul 2007; Tristan Heaven <nyhm@gentoo.org>
- +files/nprquake-sdl-1-exec-stack.patch, files/1-gentoo.patch,
- nprquake-sdl-1-r1.ebuild:
- remove need for an executable stack
-
- 12 Mar 2007; Marius Mauch <genone@gentoo.org> nprquake-sdl-1-r1.ebuild:
- Replacing einfo with elog
-
- 26 Sep 2005; Chris Gianelloni <wolf31o2@gentoo.org>
- nprquake-sdl-1-r1.ebuild:
- Making games last on inherit line.
-
-*nprquake-sdl-1-r1 (28 Sep 2003)
-
- 28 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
- Add ${GAMES_DATADIR}/quake-data to the pak file search path #29710.
-
-*nprquake-sdl-1 (17 Jul 2003)
-
- 17 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by me.
diff --git a/games-fps/nprquake-sdl/Manifest b/games-fps/nprquake-sdl/Manifest
deleted file mode 100644
index 25505f2d5282..000000000000
--- a/games-fps/nprquake-sdl/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX 1-gentoo.patch 2681 RMD160 5fda684a1ef65e7ff39ec1b09f0ab439a9561542 SHA1 cf6c6accd782b3ca6b80bc939e7cca18f5737914 SHA256 f98a084e455abb5577ecabfa70acff1f1d0dbf2322cc4a982de1f52773107340
-AUX nprquake-sdl-1-exec-stack.patch 738 RMD160 038cae0a46a15512a6fddacae7168a9ae60903ce SHA1 b61e8a1217af34a94e9f2f02382ab4e5d190f783 SHA256 cc82f9cd428bdfa9cc63a539692321573a415c18b6a442665a219f915294c868
-DIST NPRQuake-SDL.tar.gz 3393497 RMD160 dc0359a4504c7dc5b751bacf2442c926684626ab SHA1 1efd4df26c9f6e3e1dc7e0d9b14f6f08ae896fb7 SHA256 f4c88c1f31909d2e870d331d1f0badaa8ff787f56521cd2d449f279a62fb3e46
-EBUILD nprquake-sdl-1-r1.ebuild 1969 RMD160 89e8365ccefb138e4c520fbbef1d8f3bd793f196 SHA1 3529b51dac6be852908e27e6e964da10c9f2f4d2 SHA256 c0c536ceb3d9a1f47a5e59a6c9f1deb7eb44da28b3fdb9b9f42704214d564562
-MISC ChangeLog 1053 RMD160 37d70ed1845f0ad302df93229dd27805bc24f85c SHA1 4a8f7745b334b577a264d611a0efa7f34fc47fbd SHA256 8957a813adba14a1c79a13dcbf1d4cb10dde40826cfd61f3c0345fce789478be
-MISC metadata.xml 791 RMD160 65ab8ee79685914dc959e723201d6218ce43f9f2 SHA1 de924251db2ada8bc3b12bcd344a0606654b0c9f SHA256 eeb2e808574f5573b21cf3a2231ec32e90654ef0ec91c0ef0646cc9e4eb9d0f0
diff --git a/games-fps/nprquake-sdl/files/1-gentoo.patch b/games-fps/nprquake-sdl/files/1-gentoo.patch
deleted file mode 100644
index 0f1ec8dcba2d..000000000000
--- a/games-fps/nprquake-sdl/files/1-gentoo.patch
+++ /dev/null
@@ -1,94 +0,0 @@
---- Makefile
-+++ Makefile
-@@ -1,10 +1,10 @@
--RELEASE_CFLAGS=-Dstricmp=strcasecmp -mcpu=i586 -march=i586 -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
-+RELEASE_CFLAGS=-Dstricmp=strcasecmp $(OPTFLAGS) -DGENTOO_LIBDIR='\"$(GENTOO_LIBDIR)\"' -DGENTOO_DATADIR='\"$(GENTOO_DATADIR)\"'
-
- DEBUG_CFLAGS=-Dstricmp=strcasecmp -g
-
- CFLAGS=$(RELEASE_CFLAGS)
-
--DR_FLAGS=-DGLQUAKE -D_DLL_BUILD -shared
-+DR_FLAGS=-DGLQUAKE -D_DLL_BUILD -shared -fPIC
-
- renderers=build/dr_default.so build/brush.so build/bprint.so build/sketch.so
-
---- NPRQuakeSrc/common.c
-+++ NPRQuakeSrc/common.c
-@@ -1775,11 +1775,16 @@
- // start up with GAMENAME by default (id1)
- //
- COM_AddGameDirectory (va("%s/"GAMENAME, basedir) );
-+ COM_AddGameDirectory (GENTOO_DATADIR"/"GAMENAME);
-
-- if (COM_CheckParm ("-rogue"))
-+ if (COM_CheckParm ("-rogue")) {
- COM_AddGameDirectory (va("%s/rogue", basedir) );
-- if (COM_CheckParm ("-hipnotic"))
-+ COM_AddGameDirectory (GENTOO_DATADIR"/rogue");
-+ }
-+ if (COM_CheckParm ("-hipnotic")) {
- COM_AddGameDirectory (va("%s/hipnotic", basedir) );
-+ COM_AddGameDirectory (GENTOO_DATADIR"/hipnotic");
-+ }
-
- //
- // -game <gamedir>
-@@ -1790,6 +1795,7 @@
- {
- com_modified = true;
- COM_AddGameDirectory (va("%s/%s", basedir, com_argv[i+1]));
-+ COM_AddGameDirectory (va(GENTOO_DATADIR"/%s", com_argv[i+1]));
- }
-
- //
---- NPRQuakeSrc/gl_rmisc.c
-+++ NPRQuakeSrc/gl_rmisc.c
-@@ -563,13 +563,15 @@
-
- // this should be as big as the number of functions we pull out.
- void * tf[25];
-+ char * libz0r[1024];
-
- memset( tf, 0, sizeof( void * ) * 25 );
-
- #ifdef _WIN32 //JG
- hnewlib = LoadLibrary( lib );
- #else
-- hnewlib = dlopen( lib, RTLD_LAZY | RTLD_GLOBAL );
-+ sprintf(libz0r, GENTOO_LIBDIR "/%s", lib);
-+ hnewlib = dlopen( libz0r, RTLD_LAZY | RTLD_GLOBAL );
- #endif
-
- if( hnewlib == NULL ) {
---- NPRQuakeSrc/Makefile
-+++ NPRQuakeSrc/Makefile
-@@ -29,7 +29,7 @@
-
- CC=gcc
-
--RELEASE_CFLAGS=$(BASE_CFLAGS) -mcpu=i586 -march=i586 -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
-+RELEASE_CFLAGS=$(BASE_CFLAGS) $(OPTFLAGS) -DGENTOO_LIBDIR='\"$(GENTOO_LIBDIR)\"' -DGENTOO_DATADIR='\"$(GENTOO_DATADIR)\"'
- DEBUG_CFLAGS=$(BASE_CFLAGS) -g
- LDFLAGS=-lm
- CFLAGS=$(RELEASE_CFLAGS)
-@@ -176,7 +176,7 @@
- $(DO_GL_CC)
-
- $(BUILDDIR)/glquake/common.o : common.c
-- $(DO_GL_DEBUG_CC)
-+ $(DO_GL_CC)
-
- $(BUILDDIR)/glquake/console.o : console.c
- $(DO_GL_CC)
---- NPRQuakeSrc/sys_linux.c
-+++ NPRQuakeSrc/sys_linux.c
-@@ -86,7 +86,7 @@
- void Sys_Printf (char *fmt, ...)
- {
- va_list argptr;
-- char text[2048];
-+ char text[4096];
- unsigned char *p;
-
- va_start (argptr,fmt);
diff --git a/games-fps/nprquake-sdl/files/nprquake-sdl-1-exec-stack.patch b/games-fps/nprquake-sdl/files/nprquake-sdl-1-exec-stack.patch
deleted file mode 100644
index 99edb83a1b32..000000000000
--- a/games-fps/nprquake-sdl/files/nprquake-sdl-1-exec-stack.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- NPRQuakeSrc/math.s
-+++ NPRQuakeSrc/math.s
-@@ -416,3 +416,6 @@
- call C(BOPS_Error)
-
- #endif // id386
-+#if defined(__linux__) && defined(__ELF__)
-+.section .note.GNU-stack,"",%progbits
-+#endif
---- NPRQuakeSrc/snd_mixa.s
-+++ NPRQuakeSrc/snd_mixa.s
-@@ -216,3 +216,6 @@
-
- #endif // id386
-
-+#if defined(__linux__) && defined(__ELF__)
-+.section .note.GNU-stack,"",%progbits
-+#endif
---- NPRQuakeSrc/sys_dosa.s
-+++ NPRQuakeSrc/sys_dosa.s
-@@ -93,3 +93,6 @@
-
- ret
-
-+#if defined(__linux__) && defined(__ELF__)
-+.section .note.GNU-stack,"",%progbits
-+#endif
---- NPRQuakeSrc/worlda.s
-+++ NPRQuakeSrc/worlda.s
-@@ -142,3 +142,6 @@
-
- #endif // id386
-
-+#if defined(__linux__) && defined(__ELF__)
-+.section .note.GNU-stack,"",%progbits
-+#endif
diff --git a/games-fps/nprquake-sdl/metadata.xml b/games-fps/nprquake-sdl/metadata.xml
deleted file mode 100644
index ff731bc4a22b..000000000000
--- a/games-fps/nprquake-sdl/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-<longdescription>
-Non-PhotoRealistic Rendering (npr) is often considered the task of taking a 3d
-environment and displaying it as if it were (for example) hand-drawn. Stylization is
-the main purpose of an npr, as is with most pencil-and-paper artists (imagine if
-everyone who drew cartoons tried to make them look as realistic as possible -
-boring!). NPRQuake attempts to capture the elements of different drawing techniques,
-and immerse the viewer in worlds drawn entirely in the prescribed style. If you have
-ever imagined running around inside a painting or a drawing, you are beginning to
-get the idea.
-</longdescription>
-</pkgmetadata>
diff --git a/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild b/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild
deleted file mode 100644
index ba9000717505..000000000000
--- a/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild,v 1.14 2007/12/25 22:45:44 solar Exp $
-
-inherit eutils games
-
-DESCRIPTION="quake1 utilizing a hand drawn engine"
-HOMEPAGE="http://www.cs.wisc.edu/graphics/Gallery/NPRQuake/ http://www.tempestgames.com/ryan/"
-SRC_URI="http://www.tempestgames.com/ryan/downloads/NPRQuake-SDL.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE="cdinstall"
-
-DEPEND="media-libs/libsdl sys-libs/glibc"
-RDEPEND="${DEPEND}
- cdinstall? ( games-fps/quake1-data )"
-
-S=${WORKDIR}/NPRQuake-SDL
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch \
- "${FILESDIR}"/${PV}-gentoo.patch \
- "${FILESDIR}"/${P}-exec-stack.patch
-}
-
-src_compile() {
- emake \
- GENTOO_LIBDIR="$(games_get_libdir)/${PN}" \
- GENTOO_DATADIR="${GAMES_DATADIR}/quake1" \
- OPTFLAGS="${CFLAGS}" \
- release \
- || die "emake failed"
-}
-
-src_install() {
- dodoc README CHANGELOG
- newgamesbin NPRQuakeSrc/release*/bin/* nprquake-sdl \
- || die "newgamesbin failed"
- dodir "$(games_get_libdir)/${PN}"
- cp -r build/* "${D}/$(games_get_libdir)/${PN}/" || die "cp failed"
- cd "${D}/$(games_get_libdir)/${PN}"
- mv dr_default.so default.so
- ln -s sketch.so dr_default.so
- prepgamesdirs
-}
-
-pkg_postinst() {
- # same warning used in quake1 / quakeforge / nprquake-sdl
- games_pkg_postinst
- echo
- elog "Before you can play, you must make sure"
- elog "${PN} can find your Quake .pak files"
- elog
- elog "You have 2 choices to do this"
- elog "1 Copy pak*.pak files to ${GAMES_DATADIR}/quake1/id1"
- elog "2 Symlink pak*.pak files in ${GAMES_DATADIR}/quake1/id1"
- elog
- elog "Example:"
- elog "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/"
- elog "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak ${GAMES_DATADIR}/quake1/id1/pak0.pak"
- elog
- elog "You only need pak0.pak to play the demo version,"
- elog "the others are needed for registered version"
-}