+++ /dev/null
-# ChangeLog for games-fps/quake1
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1/ChangeLog,v 1.11 2007/03/12 14:46:02 genone Exp $
-
- 12 Mar 2007; Marius Mauch <genone@gentoo.org> quake1-2.40-r1.ebuild:
- Replacing einfo with elog
-
- 21 Feb 2007; Piotr JaroszyĆski <peper@gentoo.org> ChangeLog:
- Transition to Manifest2.
-
- 05 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> quake1-2.40-r1.ebuild:
- Removing old virtual/x11 dependency.
-
- 15 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> quake1-2.40-r1.ebuild:
- Changed to use idsoftware thirdpartymirror and also closing bug #124327.
-
- 17 May 2005; Chris Gianelloni <wolf31o2@gentoo.org> quake1-2.40-r1.ebuild:
- Cleanup for bug #92745.
-
-*quake1-2.40-r1 (28 Dec 2004)
-
- 28 Dec 2004; Mike Frysinger <vapier@gentoo.org> +files/gentoo-paths.patch,
- +files/makefile-cflags.patch, -files/makefile-gcc2-cflags.patch,
- -files/makefile-gcc3-cflags.patch, +quake1-2.40-r1.ebuild,
- -quake1-2.40.ebuild:
- Make sure the game can find the data files #58849 by Olivier.
-
- 20 Nov 2004; Michael Sterrett <mr_bones_@gentoo.org> quake1-2.40.ebuild:
- tidy; error check
-
- 27 May 2004; Michael Sterrett <mr_bones_@gentoo.org> quake1-2.40.ebuild:
- use fixup
-
-*quake1-2.40 (14 Jul 2003)
-
- 14 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by me.
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX fix-sys_printf.patch 512 RMD160 c7144e07887a44a38ed95c4bb8dd75537e6d1dfd SHA1 4fb637aa29c768305fcbec10749af582b86d82a6 SHA256 1962412ac87b1a02b5558ae8ac0bd226e9267f0e255aa2bda43a5600645031ea
-MD5 fa192953363978707a7f5d8d3e42c943 files/fix-sys_printf.patch 512
-RMD160 c7144e07887a44a38ed95c4bb8dd75537e6d1dfd files/fix-sys_printf.patch 512
-SHA256 1962412ac87b1a02b5558ae8ac0bd226e9267f0e255aa2bda43a5600645031ea files/fix-sys_printf.patch 512
-AUX gentoo-paths.patch 1183 RMD160 309f98d7e2aa1764f6fc911067e9bd189bc1f4bb SHA1 a218ffdbce9cecc94457b9226828a4cec284feaf SHA256 38edbf6560e81b105ac9b1e59c4c575db678d787c3104bb7eb5b3a984359275d
-MD5 976762754aa92b2d6db912e4414ddf3b files/gentoo-paths.patch 1183
-RMD160 309f98d7e2aa1764f6fc911067e9bd189bc1f4bb files/gentoo-paths.patch 1183
-SHA256 38edbf6560e81b105ac9b1e59c4c575db678d787c3104bb7eb5b3a984359275d files/gentoo-paths.patch 1183
-AUX makefile-cflags.patch 709 RMD160 bee9c482c65aa0eef83b09f11834fcd8baab32aa SHA1 52c344e0dffe2598152749d14d37213bd35c85bc SHA256 b8babe0d21d3a1086523afb92826f25fc32998a209bec46c5b9fa22803d8423a
-MD5 b74e563d08363b8b88127fffaefb5944 files/makefile-cflags.patch 709
-RMD160 bee9c482c65aa0eef83b09f11834fcd8baab32aa files/makefile-cflags.patch 709
-SHA256 b8babe0d21d3a1086523afb92826f25fc32998a209bec46c5b9fa22803d8423a files/makefile-cflags.patch 709
-AUX makefile-path-fixes.patch 1539 RMD160 3242e8f52138317a09ce4273f20c7ccce604d107 SHA1 57ed742804aa0aa904ab88ba859fdd52a118c869 SHA256 aee91e7015d00332d442cc04540c41796ccc73e53732898f364a463219b6476e
-MD5 6a5b3a494d26b4f1b8d1063f9a0aa6e4 files/makefile-path-fixes.patch 1539
-RMD160 3242e8f52138317a09ce4273f20c7ccce604d107 files/makefile-path-fixes.patch 1539
-SHA256 aee91e7015d00332d442cc04540c41796ccc73e53732898f364a463219b6476e files/makefile-path-fixes.patch 1539
-AUX makefile-sedable.patch 1064 RMD160 fd62ad84ab3b56f76886add7f89203ad6f5ea4e0 SHA1 e1fdf1ce5944ef7906c52658d2b8f0978e01e62e SHA256 b05646dd2eb350f0f6fa565fa6fb4181348faee60a5bba213109d31733482fdd
-MD5 6f4c55f7cf280c7c87e1e5a20934b813 files/makefile-sedable.patch 1064
-RMD160 fd62ad84ab3b56f76886add7f89203ad6f5ea4e0 files/makefile-sedable.patch 1064
-SHA256 b05646dd2eb350f0f6fa565fa6fb4181348faee60a5bba213109d31733482fdd files/makefile-sedable.patch 1064
-DIST q1source.zip 3211531 RMD160 57a750e8644116d0d07a273ea6ad0b6d3071c89f SHA1 1f607e549c6aa3921797e51b7d2038e95116c989 SHA256 eb2f09f2432bcd4f5d64e7a29ae211c069c1110c7c5598fec135f6c3514ae39c
-EBUILD quake1-2.40-r1.ebuild 3080 RMD160 8418d4f71a13c8d7e9c9fdcd3f732914544a7cbc SHA1 2c0eca96f674d2fb537197510e708e7bc7488cd4 SHA256 113de9a3819b56db6a2014bec3b0cc25dc77341ec3ed867bd9671314937874be
-MD5 7f39b4286afefc601e5637dc63c4847a quake1-2.40-r1.ebuild 3080
-RMD160 8418d4f71a13c8d7e9c9fdcd3f732914544a7cbc quake1-2.40-r1.ebuild 3080
-SHA256 113de9a3819b56db6a2014bec3b0cc25dc77341ec3ed867bd9671314937874be quake1-2.40-r1.ebuild 3080
-MISC ChangeLog 1403 RMD160 b225f994826449e97605139223acdb95271a5fae SHA1 f74ef1e33fe177709d90a81d82bd198d9acc1d60 SHA256 94c40e09f91a0966a25fbda67d7a7906a2351cec028d75742c4ef64ac64d4028
-MD5 f4aada676b3c6926ee150e9bc8099830 ChangeLog 1403
-RMD160 b225f994826449e97605139223acdb95271a5fae ChangeLog 1403
-SHA256 94c40e09f91a0966a25fbda67d7a7906a2351cec028d75742c4ef64ac64d4028 ChangeLog 1403
-MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
-SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
-MD5 865e93323da48e02c6478e657e024c63 files/digest-quake1-2.40-r1 220
-RMD160 9a2cec13335cf7849d2f475e9a49b68307c79fdd files/digest-quake1-2.40-r1 220
-SHA256 c053f1159b0c3f14dd157a1ea61b419b8e0aea5c2ba6ffc8ac9b72141483ff9e files/digest-quake1-2.40-r1 220
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFF9Wiq6J2i8a8J4okRAhjxAKCThJDCnEdmJym+5NuBty/yqFoZEQCcD2l1
-HT2vKdClKxZsJL3DBYMNuzo=
-=fTHc
------END PGP SIGNATURE-----
+++ /dev/null
-MD5 70a802bd815a61a99e6c1c9a4eaeb0f2 q1source.zip 3211531
-RMD160 57a750e8644116d0d07a273ea6ad0b6d3071c89f q1source.zip 3211531
-SHA256 eb2f09f2432bcd4f5d64e7a29ae211c069c1110c7c5598fec135f6c3514ae39c q1source.zip 3211531
+++ /dev/null
---- WinQuake/sys_linux.c
-+++ WinQuake/sys_linux.c
-@@ -86,7 +86,7 @@
- void Sys_Printf (char *fmt, ...)
- {
- va_list argptr;
-- char text[1024];
-+ char text[4096];
- unsigned char *p;
-
- va_start (argptr,fmt);
---- QW/client/sys_linux.c
-+++ QW/client/sys_linux.c
-@@ -141,7 +141,7 @@
- void Sys_Error (char *error, ...)\r
- { \r
- va_list argptr;\r
-- char string[1024];\r
-+ char string[4096];\r
- \r
- // change stdin to non blocking\r
- fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) & ~FNDELAY);\r
+++ /dev/null
---- WinQuake/common.c.orig 2004-12-28 01:13:18.982915064 -0500
-+++ WinQuake/common.c 2004-12-28 01:16:01.038278904 -0500
-@@ -1775,11 +1775,16 @@
- // start up with GAMENAME by default (id1)\r
- //\r
- COM_AddGameDirectory (va("%s/"GAMENAME, basedir) );\r
-+ COM_AddGameDirectory (va("GENTOO_DATADIR/"GAMENAME) );
- \r
-- if (COM_CheckParm ("-rogue"))\r
-+ if (COM_CheckParm ("-rogue")) {
- COM_AddGameDirectory (va("%s/rogue", basedir) );\r
-- if (COM_CheckParm ("-hipnotic"))\r
-+ COM_AddGameDirectory (va("GENTOO_DATADIR/rogue") );
-+ }
-+ if (COM_CheckParm ("-hipnotic")) {
- COM_AddGameDirectory (va("%s/hipnotic", basedir) );\r
-+ COM_AddGameDirectory (va("GENTOO_DATADIR/hipnotic") );
-+ }
- \r
- //\r
- // -game <gamedir>\r
---- QW/client/common.c.orig 2004-12-28 01:20:42.280523584 -0500
-+++ QW/client/common.c 2004-12-28 01:21:14.960555464 -0500
-@@ -1845,6 +1845,8 @@
- //
- COM_AddGameDirectory (va("%s/id1", com_basedir) );
- COM_AddGameDirectory (va("%s/qw", com_basedir) );
-+ COM_AddGameDirectory (va("GENTOO_DATADIR/id1", com_basedir) );
-+ COM_AddGameDirectory (va("GENTOO_DATADIR/qw", com_basedir) );
-
- // any set gamedirs will be freed up to here
- com_base_searchpaths = com_searchpaths;
+++ /dev/null
---- WinQuake/Makefile.orig 2003-07-14 15:13:27.000000000 -0400
-+++ WinQuake/Makefile 2003-07-14 15:17:10.000000000 -0400
-@@ -39,3 +39,3 @@
- BASE_CFLAGS=-Dstricmp=strcasecmp
--RELEASE_CFLAGS=$(BASE_CFLAGS) -g -mpentiumpro -O6 -ffast-math -funroll-loops \
-+RELEASE_CFLAGS=$(BASE_CFLAGS) GENTOO_CFLAGS \
- -fomit-frame-pointer -fexpensive-optimizations
---- QW/Makefile.orig 2003-07-14 15:13:12.000000000 -0400
-+++ QW/Makefile 2003-07-14 15:15:41.000000000 -0400
-@@ -45,5 +45,3 @@
- else
--RELEASE_CFLAGS=$(BASE_CFLAGS) -m486 -O6 -ffast-math -funroll-loops \
-- -fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \
-- -malign-jumps=2 -malign-functions=2
-+RELEASE_CFLAGS=$(BASE_CFLAGS) GENTOO_CFLAGS
- endif
+++ /dev/null
---- WinQuake/Makefile.orig 2003-07-14 15:13:27.000000000 -0400
-+++ WinQuake/Makefile 2003-07-14 15:17:10.000000000 -0400
-@@ -27,4 +27,4 @@
-
--MOUNT_DIR=/grog/Projects/WinQuake
--MASTER_DIR=/grog/Projects/QuakeMaster
-+MOUNT_DIR=../WinQuake
-+MASTER_DIR=../QuakeMaster
- MESA_DIR=/usr/local/src/Mesa-2.6
-@@ -35,3 +35,3 @@
-
--EGCS=/usr/local/egcs-1.1.2/bin/gcc
-+EGCS=gcc
- CC=$(EGCS)
-@@ -47,5 +47,5 @@
-
--MESAGLLDFLAGS=-L/usr/X11/lib -L/usr/local/lib -L$(MESA_DIR)/lib -lMesaGL -lglide2x -lX11 -lXext -ldl
-+MESAGLLDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -L$(MESA_DIR)/lib -lMesaGL -lglide2x -lX11 -lXext -ldl
- TDFXGLLDFLAGS=-L$(TDFXGL_DIR)/release$(ARCH)$(GLIBC) -l3dfxgl -lglide2x -ldl
--GLLDFLAGS=-L/usr/X11/lib -L/usr/local/lib -lGL -lX11 -lXext -ldl -lXxf86dga -lXxf86vm -lm
-+GLLDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -lGL -lX11 -lXext -ldl -lXxf86dga -lXxf86vm -lm
- GLCFLAGS=-DGLQUAKE -I$(MESA_DIR)/include -I/usr/include/glide
---- QW/Makefile.orig 2003-07-14 15:13:12.000000000 -0400
-+++ QW/Makefile 2003-07-14 15:15:41.000000000 -0400
-@@ -29,3 +29,3 @@
-
--MAINDIR=/grog/Projects/QW
-+MAINDIR=../QW
-
-@@ -54,4 +54,4 @@
- XLDFLAGS=-L/usr/X11R6/lib -lX11 -lXext
--GL_SVGA_LDFLAGS=-L/usr/X11/lib -L/usr/local/src/Mesa-3.0/lib -lm -lMesaGL -lglide2x -lX11 -lXext -lvga
--GL_X11_LDFLAGS=-L/usr/X11/lib -L/usr/local/src/Mesa-3.0/lib -lm -lGL -lX11 -lXext
-+GL_SVGA_LDFLAGS=-L/usr/X11R6/lib -L/usr/local/src/Mesa-3.0/lib -lm -lMesaGL -lglide2x -lX11 -lXext -lvga
-+GL_X11_LDFLAGS=-L/usr/X11R6/lib -L/usr/local/src/Mesa-3.0/lib -lm -lGL -lX11 -lXext
-
+++ /dev/null
---- WinQuake/Makefile.orig 2003-07-14 15:13:27.000000000 -0400
-+++ WinQuake/Makefile 2003-07-14 15:43:31.000000000 -0400
-@@ -64,11 +64,12 @@
- # SETUP AND BUILD
- #############################################################################
-
--TARGETS=$(BUILDDIR)/bin/squake \
-- $(BUILDDIR)/bin/glquake \
-- $(BUILDDIR)/bin/glquake.glx \
-- $(BUILDDIR)/bin/glquake.3dfxgl \
-- $(BUILDDIR)/bin/quake.x11
-+TARGETS=\
-+ $(BUILDDIR)/bin/squake \
-+ $(BUILDDIR)/bin/glquake \
-+ $(BUILDDIR)/bin/glquake.glx \
-+ $(BUILDDIR)/bin/glquake.3dfxgl \
-+ $(BUILDDIR)/bin/quake.x11
- # $(BUILDDIR)/bin/unixded
-
- build_debug:
---- QW/Makefile.orig 2003-07-14 15:13:12.000000000 -0400
-+++ QW/Makefile 2003-07-14 15:44:00.000000000 -0400
-@@ -71,7 +71,12 @@
- TARGETS=$(BUILDDIR)/qwsv
- #$(BUILDDIR)/qwcl.x11
- else
--TARGETS=$(BUILDDIR)/qwsv $(BUILDDIR)/qwcl $(BUILDDIR)/qwcl.x11 $(BUILDDIR)/glqwcl $(BUILDDIR)/glqwcl.glx
-+TARGETS=\
-+ $(BUILDDIR)/qwsv \
-+ $(BUILDDIR)/qwcl \
-+ $(BUILDDIR)/qwcl.x11 \
-+ $(BUILDDIR)/glqwcl \
-+ $(BUILDDIR)/glqwcl.glx
- endif
-
- build_debug:
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1/quake1-2.40-r1.ebuild,v 1.9 2007/03/12 14:46:02 genone Exp $
-
-inherit eutils games
-
-DESCRIPTION="The original Quake engine straight from id !"
-HOMEPAGE="http://www.idsoftware.com/games/quake/quake/"
-SRC_URI="mirror://idsoftware/source/q1source.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-*"
-IUSE="cdinstall X opengl svga 3dfx"
-
-RDEPEND="X? ( x11-libs/libX11 )
- opengl? ( virtual/opengl )
- svga? ( media-libs/svgalib )
- 3dfx? ( media-libs/glide-v3 )"
-DEPEND="${RDEPEND}
- cdinstall? ( games-fps/quake1-data )
- app-arch/unzip"
-
-S=${WORKDIR}
-
-pkg_setup() {
- games_pkg_setup
- echo
- ewarn "You probably want games-fps/quakeforge if you're"
- ewarn "looking for a quake1 client ..."
- ebeep
- epause
-}
-
-src_unpack() {
- unpack ${A}
-
- epatch "${FILESDIR}"/fix-sys_printf.patch
-
- mv WinQuake/Makefile{.linuxi386,}
- mv QW/Makefile{.Linux,}
-
- epatch "${FILESDIR}"/makefile-path-fixes.patch
- epatch "${FILESDIR}"/gentoo-paths.patch
- sed -i -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/quake1:" \
- {QW/client,WinQuake}/common.c || die "setting data paths"
-
- epatch "${FILESDIR}"/makefile-cflags.patch
- sed -i "s:GENTOO_CFLAGS:${CFLAGS} -DGL_EXT_SHARED=1:" {WinQuake,QW}/Makefile
-
- cp QW/client/glquake.h{,.orig}
- (echo "#define APIENTRY";cat QW/client/glquake.h.orig) > QW/client/glquake.h
-
- epatch "${FILESDIR}"/makefile-sedable.patch
- if ! use 3dfx ; then
- sed -i 's:^ $(BUILDDIR)/bin/glquake ::' WinQuake/Makefile
- sed -i 's:^ $(BUILDDIR)/bin/glquake.3dfxgl ::' WinQuake/Makefile
- sed -i 's:^ $(BUILDDIR)/glqwcl ::' QW/Makefile
- fi
- if ! use X ; then
- sed -i 's:^ $(BUILDDIR)/bin/quake.x11 ::' WinQuake/Makefile
- sed -i 's:^ $(BUILDDIR)/qwcl.x11 ::' QW/Makefile
- fi
- if ! use opengl ; then
- sed -i 's:^ $(BUILDDIR)/bin/quake.glx ::' WinQuake/Makefile
- sed -i 's:^ $(BUILDDIR)/glqwcl.glx ::' QW/Makefile
- fi
- if ! use svga ; then
- sed -i 's:^ $(BUILDDIR)/bin/squake ::' WinQuake/Makefile
- sed -i 's:^ $(BUILDDIR)/qwcl ::' QW/Makefile
- fi
-}
-
-src_compile() {
- emake -j1 -C "${S}"/WinQuake build_release || die "failed to build WinQuake"
- emake -j1 -C "${S}"/QW build_release || die "failed to build QW"
-}
-
-src_install() {
- dogamesbin WinQuake/release*/bin/* QW/release*/*qw* || die "dogamesbin failed"
- dodoc readme.txt {WinQuake,QW}/*.txt
- 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"
-}