+++ /dev/null
-# ChangeLog for games-fps/doomlegacy
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/doomlegacy/ChangeLog,v 1.13 2006/12/04 23:03:00 wolf31o2 Exp $
-
- 04 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
- doomlegacy-1.42.ebuild:
- Removing old virtual/x11 dependency.
-
- 13 Feb 2006; <Tupone@gentoo.org> doomlegacy-1.42.ebuild:
- modular X dep
-
- 28 Sep 2005; Joseph Jezak <josejx@gentoo.org> doomlegacy-1.42.ebuild:
- Marked -ppc because it doesn't work well on ppc. Patches are welcome. Bug
- #74172.
-
- 24 Jun 2005; Michael Sterrett <mr_bones_@gentoo.org>
- doomlegacy-1.42.ebuild:
- disable SDL support for now since the code wants sdl-mixer internal functions
-
-*doomlegacy-1.42 (20 Jul 2004)
-
- 20 Jul 2004; Mike Frysinger <vapier@gentoo.org> +files/1.42-errno.patch,
- +files/1.42-makefile.patch, +files/1.42-sdl-gentoo-paths.patch,
- +doomlegacy-1.42.ebuild:
- Version bump #50549 by Florian Westphal and #41339 by Kimmo Sundqvist.
-
- 30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org>
- doomlegacy-1.41-r1.ebuild:
- don't rdepend on nasm, sed
-
- 12 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org>
- doomlegacy-1.41-r1.ebuild, metadata.xml:
- header fix; check return of sed
-
-*doomlegacy-1.41-r1 (13 Oct 2003)
-
- 29 Oct 2003; Mike Frysinger <vapier@gentoo.org> :
- Add optional SDL support #33710.
-
- 13 Oct 2003; Mike Frysinger <vapier@gentoo.org> :
- Fix typo in sed script and fix legacy.dat mirroring.
-
-*doomlegacy-1.41 (11 Oct 2003)
-
- 11 Oct 2003; Mike Frysinger <vapier@gentoo.org> :
- Version bumpage.
-
-*doomlegacy-1.40-r2 (13 Aug 2003)
-
- 13 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
- Remove x86 specific code (#26201). Add games.eclass support.
-
-*doomlegacy-1.40-r1 (06 Mar 2003)
-
- 29 Jul 2003; Michael Sterrett <msterret@gentoo.org>
- doomlegacy-1.40-r1.ebuild:
- use sed -i
-
- 06 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
- Added a patch to fix glibc errno (#16267) #16715.
- Also tweaked makefile patch to allow custom CFLAGS.
-
-*doomlegacy-1.40 (28 Oct 2002)
-
- 30 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
- Added a small patch for people who arent running with `opengl-update xfree`
-
- 28 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
- Initial import. Ebuild submitted by Dries Harnie <Bulletz_1900@hotmail.com>.
+++ /dev/null
-AUX 1.42-errno.patch 1327 RMD160 b15b901bb5cfb1e4d102b880e80cc2160c62a411 SHA1 a6156f1ea8cb3325b343ad80ffe402b2e7b22da3 SHA256 cc412d5b3b731ee157d03b03f0435c08873072ffb0cf40d22a4a4676031ad2c1
-MD5 0d6de7188dfe337db9cd0b99fc2dcf05 files/1.42-errno.patch 1327
-RMD160 b15b901bb5cfb1e4d102b880e80cc2160c62a411 files/1.42-errno.patch 1327
-SHA256 cc412d5b3b731ee157d03b03f0435c08873072ffb0cf40d22a4a4676031ad2c1 files/1.42-errno.patch 1327
-AUX 1.42-makefile.patch 4465 RMD160 e071d466f53c763194ac329197b714e85391c8fd SHA1 1cb9e5280d40a89fd1536e4630ff75fe3f1f9d91 SHA256 4a76d5c1fa544d662df83c02043f0910b4b5668ae7617c82bb12961e4dfb43c9
-MD5 e816487fa8ac743f0b6e9691e79bac01 files/1.42-makefile.patch 4465
-RMD160 e071d466f53c763194ac329197b714e85391c8fd files/1.42-makefile.patch 4465
-SHA256 4a76d5c1fa544d662df83c02043f0910b4b5668ae7617c82bb12961e4dfb43c9 files/1.42-makefile.patch 4465
-AUX 1.42-sdl-gentoo-paths.patch 495 RMD160 42908e59fc523679a23dc9e6e4018bc69e169035 SHA1 2e13da8a7ef2425bf4ff30f4ef74abec93cf336e SHA256 1cc2f13c64a6986e5447ac96ba90ba49dc8f90035b4f79c9f84e9074b7817710
-MD5 939a6e8bb2387591d70d271c6a5c55be files/1.42-sdl-gentoo-paths.patch 495
-RMD160 42908e59fc523679a23dc9e6e4018bc69e169035 files/1.42-sdl-gentoo-paths.patch 495
-SHA256 1cc2f13c64a6986e5447ac96ba90ba49dc8f90035b4f79c9f84e9074b7817710 files/1.42-sdl-gentoo-paths.patch 495
-DIST legacy-1.42.dat.bz2 314469 RMD160 650b943451cd210f6f015232d3c9724ba359fd68 SHA1 47e3db6704db3a27c88595b5311cc5f2a3223932 SHA256 a63f00855fc89412f006d6e46d2ae56b2746b96e8e58fdc744915b0ddfa0cc45
-DIST legacy_142_src.tar.gz 1687954 RMD160 887d5d5283db50fe6bc653071511c32bed3e5e2f SHA1 ccd0c7557bee6b7e6ee080836e17b59512eb990a SHA256 f5d80aaafddb1a9525af72f118cc63f724f3542c9f58496ad5eabd334b8e2d98
-EBUILD doomlegacy-1.42.ebuild 2886 RMD160 a96a4f0e9a4cc210b5526b040c82e316ebcc01ad SHA1 1458a2ab39014c0a1dd459fd959c7934cd44e4be SHA256 28d757cd2b8d359bc1d968985c3f3716b3089d775c9c6d3f0e117f85798b3da8
-MD5 d61776e8b1a6e4d5fe69206caabcc0b3 doomlegacy-1.42.ebuild 2886
-RMD160 a96a4f0e9a4cc210b5526b040c82e316ebcc01ad doomlegacy-1.42.ebuild 2886
-SHA256 28d757cd2b8d359bc1d968985c3f3716b3089d775c9c6d3f0e117f85798b3da8 doomlegacy-1.42.ebuild 2886
-MISC ChangeLog 2327 RMD160 1e9bbcfb701d38a03587e42ab29f11c3288e47b2 SHA1 48ed6578c11f5867504d8546a29a602af5196d4e SHA256 17eb1b5e31d5d154937f660720626aa2c7f4aba01cbf94b5a8b12395c461bc24
-MD5 4003e13b4bdb9e5e03d77ec17347d7c3 ChangeLog 2327
-RMD160 1e9bbcfb701d38a03587e42ab29f11c3288e47b2 ChangeLog 2327
-SHA256 17eb1b5e31d5d154937f660720626aa2c7f4aba01cbf94b5a8b12395c461bc24 ChangeLog 2327
-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 81bd5eda4d58449a0d6dcdf195fccfba files/digest-doomlegacy-1.42 485
-RMD160 d56895a9254f78836a92e96e5fd311f5528c972a files/digest-doomlegacy-1.42 485
-SHA256 9fbe10efcf5602379996d298801f528816629887954ef6262de25ebe1c3bbcbb files/digest-doomlegacy-1.42 485
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/doomlegacy/doomlegacy-1.42.ebuild,v 1.6 2007/01/27 00:50:44 mr_bones_ Exp $
-
-inherit eutils games
-
-DESCRIPTION="Doom legacy, THE doom port"
-HOMEPAGE="http://legacy.newdoom.com/"
-SRC_URI="mirror://sourceforge/doomlegacy/legacy_${PV/.}_src.tar.gz
- mirror://gentoo/legacy-${PV}.dat.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-ppc x86"
-IUSE="X dga esd" #sdl - broken with recent sdl-mixer releases
-
-RDEPEND="
- virtual/opengl
- virtual/glu
- x11-libs/libXxf86vm
- esd? ( media-sound/esound )"
- # broken with recent sdl-mixer releases
- #sdl? (
- #media-libs/libsdl
- #media-libs/sdl-mixer
- #)"
-DEPEND="${RDEPEND}
- x86? ( >=dev-lang/nasm-0.98 )
- x11-proto/xextproto
- x11-proto/xf86vidmodeproto
- dga? ( x11-proto/xf86dgaproto )"
-
-S=${WORKDIR}/doomlegacy_${PV/.}_src
-
-src_unpack() {
- unpack ${A}
- mkdir bin
- cd "${S}"
- epatch "${FILESDIR}"/${PV}-errno.patch
- epatch "${FILESDIR}"/${PV}-makefile.patch
- epatch "${FILESDIR}"/${PV}-sdl-gentoo-paths.patch
-
- # disable logfile writing
- sed -i \
- -e 's:#define LOGMESSAGES::' doomdef.h \
- || die 'sed failed'
-
- # make sure the games can find the wads/data files
- sed -i \
- -e "/#define DEFAULTWADLOCATION1/s:\".*\":\"${GAMES_DATADIR}/doom-data\":" \
- linux_x/i_system.c || die "sed linux_x/i_system.c failed"
- sed -i \
- -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/doom-data:" \
- sdl/i_system.c || die "sed failed"
-
- # move opengl lib file because it's not useful to anyone else
- sed -i \
- -e "s:\"r_opengl:\"${GAMES_LIBDIR}/${PN}/r_opengl:" \
- linux_x/i_video_xshm.c \
- || die "sed failed"
-
- cd linux_x/musserv
- make -f Makefile.linux clean
-}
-
-src_compile() {
- # this is ugly but it's late (here) and it works
- local makeopts i interfaces
-
- # broken with recent sdl-mixer releases
- #use sdl && interfaces="${interfaces} SDL"
- use X && interfaces="${interfaces} X"
- [ -z "${interfaces}" ] && interfaces="X"
- mkdir "${WORKDIR}"/my-bins
- for i in ${interfaces} ; do
- case ${i} in
- SDL)
- makeopts="LINUX=1 SDL=1 HAVE_MIXER=1" ;;
- X)
- makeopts="LINUX=1 X=1"
- use x86 && makeopts="${makeopts} USEASM=1"
- use dga && makeopts="${makeopts} WITH_DGA=1"
- use esd && makeopts="${makeopts} HAVE_ESD=1";;
- esac
- emake EXTRAOPTS="${CFLAGS}" ${makeopts} || die "build failed"
- mv \
- "${WORKDIR}"/bin/* \
- linux_x/musserv/linux/musserver \
- linux_x/sndserv/linux/llsndserv \
- "${WORKDIR}"/my-bins/
- rm "${WORKDIR}"/objs/*
- done
-}
-
-src_install() {
- dohtml _doc/*.html
- rm _doc/*.html
- dodoc _doc/*
-
- cd "${WORKDIR}"
- exeinto "${GAMES_LIBDIR}/${PN}"
- doexe my-bins/r_opengl.so || die "doexe failed"
- rm my-bins/r_opengl.so
- dogamesbin my-bins/* || die "dogamesbin failed"
-
- insinto "${GAMES_DATADIR}/doom-data"
- newins legacy-${PV}.dat legacy.dat || die "newins failed"
-
- prepgamesdirs
-}
+++ /dev/null
-diff -ur doomlegacy_142_src.orig/linux_x/i_sound.c doomlegacy_142_src/linux_x/i_sound.c
---- doomlegacy_142_src.orig/linux_x/i_sound.c 2004-05-09 11:51:20.908123440 +0200
-+++ doomlegacy_142_src/linux_x/i_sound.c 2004-05-09 11:40:26.257645440 +0200
-@@ -262,7 +262,6 @@
- void myioctl(int fd, int command, int *arg)
- {
- int rc;
-- extern int errno;
-
- rc = ioctl(fd, command, arg);
- if (rc < 0)
-diff -ur doomlegacy_142_src.orig/linux_x/i_video_xshm.c doomlegacy_142_src/linux_x/i_video_xshm.c
---- doomlegacy_142_src.orig/linux_x/i_video_xshm.c 2004-05-09 11:51:20.909123288 +0200
-+++ doomlegacy_142_src/linux_x/i_video_xshm.c 2004-05-09 11:40:15.969209520 +0200
-@@ -1401,7 +1401,6 @@
- id = shmget((key_t)key, size, IPC_CREAT|0777);
- if (id==-1)
- {
-- extern int errno;
- fprintf(stderr, "errno=%d\n", errno);
- I_Error("Could not get any shared memory");
- }
-diff -ur doomlegacy_142_src.orig/linux_x/sndserv/linux.c doomlegacy_142_src/linux_x/sndserv/linux.c
---- doomlegacy_142_src.orig/linux_x/sndserv/linux.c 2004-05-09 11:51:20.910123136 +0200
-+++ doomlegacy_142_src/linux_x/sndserv/linux.c 2004-05-09 11:39:50.198127320 +0200
-@@ -74,7 +74,6 @@
- int* arg )
- {
- int rc;
-- extern int errno;
-
- rc = ioctl(fd, command, arg);
- if (rc < 0)
+++ /dev/null
-diff -ur doomlegacy_142_src.orig/linux_x/musserv/Makefile.linux doomlegacy_142_src/linux_x/musserv/Makefile.linux
---- doomlegacy_142_src.orig/linux_x/musserv/Makefile.linux 2004-05-09 11:51:20.907123592 +0200
-+++ doomlegacy_142_src/linux_x/musserv/Makefile.linux 2004-05-09 11:59:20.982141096 +0200
-@@ -3,7 +3,7 @@
- #
-
- CC = gcc
--CFLAGS = -I. -Wall -O2 -m486
-+CFLAGS = -I. -Wall $(EXTRAOPTS)
- LDFLAGS =
- #LDFLAGS = -static
-
-diff -ur doomlegacy_142_src.orig/linux_x/sndserv/Makefile doomlegacy_142_src/linux_x/sndserv/Makefile
---- doomlegacy_142_src.orig/linux_x/sndserv/Makefile 2004-05-09 11:51:20.909123288 +0200
-+++ doomlegacy_142_src/linux_x/sndserv/Makefile 2004-05-09 11:59:20.983140944 +0200
-@@ -27,7 +27,7 @@
- #
-
- CC=gcc
--CFLAGS=-O2 -m486 -Wall -DNORMALUNIX -DLINUX
-+CFLAGS=$(EXTRAOPTS) -Wall -DNORMALUNIX -DLINUX
- ifdef FREEBSD
- CFLAGS:=${CFLAGS} -DFREEBSD
- endif
-diff -ur doomlegacy_142_src.orig/makefile doomlegacy_142_src/makefile
---- doomlegacy_142_src.orig/makefile 2004-05-09 11:51:20.934119488 +0200
-+++ doomlegacy_142_src/makefile 2004-05-09 11:59:20.982141096 +0200
-@@ -533,11 +533,11 @@
-
- ifndef SOLARIS
- ifdef GCC30
-- M5=-march=pentium
-- M4=-march=486
-+ M5=
-+ M4=
- else
-- M5=-mpentium
-- M4=-m486
-+ M5=
-+ M4=
- endif
- endif
-
-@@ -547,7 +547,7 @@
- ifdef PGCC
- CFLAGS = -g -pg -DPARANOIA -fwritable-strings $(OPTS)
- else
-- CFLAGS = -g -pg $(M4) -O3 -ffast-math -fwritable-strings $(OPTS)
-+ CFLAGS = -g -pg $(M4) $(OPTS) $(EXTRAOPTS)
- endif
- LDFLAGS = -g -pg -L/usr/X11R6/lib
- else
-@@ -555,13 +555,13 @@
-
- # build a normal optimised version
- ifdef PGCC
-- CFLAGS = $(OPTS) $(M5) -O6 -ffast-math -fomit-frame-pointer -fwritable-strings
-+ CFLAGS = $(OPTS) $(M5) -fwritable-strings $(EXTRAOPTS)
- # -fgcse -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -ffunction-cse \
- # -fexpensive-optimizations -fforce-mem -fstrength-reduce -fthread-jumps \
- # -fregmove -fschedule-insns -fschedule-insns2 -fmove-all-movables \
- # -fcaller-saves -finline-functions -mieee-fp -mfp-ret-in-387 -m80387 -mhard-float -finline
- else
-- CFLAGS = $(M4) -O3 -ffast-math -fomit-frame-pointer -fwritable-strings $(OPTS)
-+ CFLAGS = $(M4) -fwritable-strings $(OPTS) $(EXTRAOPTS)
- endif
- endif
-
-@@ -735,7 +735,7 @@
-
- #dll
- dll : $(O)/r_opengl.o $(O)/ogl_x11.o
-- $(CC) $(M5) -O6 -o $(BIN)/r_opengl.so -shared -nostartfiles $(O)/r_opengl.o $(O)/ogl_x11.o -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext -lGL -lGLU -lm
-+ $(CC) $(M5) -o $(BIN)/r_opengl.so -shared -nostartfiles $(O)/r_opengl.o $(O)/ogl_x11.o -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext -lGL -lGLU -lm
-
- musserv:
- @mkdir -p $(MUSSERV)/linux
-@@ -749,7 +749,7 @@
-
- ifdef LINUX
- $(O)/r_opengl.o: hardware/r_opengl/r_opengl.c hardware/r_opengl/r_opengl.h
-- $(CC) $(M5) -O6 -o $(O)/r_opengl.o -DHWRENDER -DVID_X11 -DLINUX $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/r_opengl.c
-+ $(CC) $(M5) -o $(O)/r_opengl.o -DHWRENDER -DVID_X11 -DLINUX $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/r_opengl.c
- endif
-
- ifdef SDL
-@@ -763,7 +763,7 @@
- $(CC) $(CFLAGS) $(LDFLAGS) $(WFLAGS) -I/usr/X11R6/include -c $< -o $@
- else #FBSD_SDL
- $(O)/r_opengl.o: hardware/r_opengl/r_opengl.c hardware/r_opengl/r_opengl.h
-- $(CC) $(M5) -O6 -o $(O)/r_opengl.o -DHWRENDER -DVID_X11 -DLINUX -DFREEBSD $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/r_opengl.c
-+ $(CC) $(M5) -o $(O)/r_opengl.o -DHWRENDER -DVID_X11 -DLINUX -DFREEBSD $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/r_opengl.c
- endif #FBSD_SDL
- endif #FREEBSD
-
-@@ -774,10 +774,10 @@
-
- ifndef FREEBSD
- $(O)/ogl_x11.o: hardware/r_opengl/ogl_x11.c hardware/r_opengl/r_opengl.h
-- $(CC) $(M5) -O6 -o $(O)/ogl_x11.o -DHWRENDER -DVID_X11 -DLINUX $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/ogl_x11.c
-+ $(CC) $(M5) -o $(O)/ogl_x11.o -DHWRENDER -DVID_X11 -DLINUX $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/ogl_x11.c
- else
- $(O)/ogl_x11.o: hardware/r_opengl/ogl_x11.c hardware/r_opengl/r_opengl.h
-- $(CC) $(M5) -O6 -o $(O)/ogl_x11.o -DHWRENDER -DVID_X11 -DLINUX -DFREEBSD $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/ogl_x11.c
-+ $(CC) $(M5) -o $(O)/ogl_x11.o -DHWRENDER -DVID_X11 -DLINUX -DFREEBSD $(POLL_POINTER) -shared -nostartfiles -I/usr/X11R6/include -c hardware/r_opengl/ogl_x11.c
- endif
-
-
+++ /dev/null
-diff -ur doomlegacy_142_src.orig/sdl/i_system.c doomlegacy_142_src/sdl/i_system.c
---- doomlegacy_142_src.orig/sdl/i_system.c 2004-05-09 11:51:20.913122680 +0200
-+++ doomlegacy_142_src/sdl/i_system.c 2004-05-09 14:54:23.716482784 +0200
-@@ -734,6 +734,11 @@
-
- void I_LocateWad(void) {
- // relict from the Linux version
-+#ifdef LINUX
-+#define WADLOCATION "GENTOO_DATADIR"
-+ if(chdir(WADLOCATION))
-+ fprintf (stderr, "Error: chdir() " WADLOCATION " failed\n");
-+#endif
- return;
- }
-
+++ /dev/null
-MD5 7910062a0c722f2a2a83f5ca90c72c90 legacy-1.42.dat.bz2 314469
-RMD160 650b943451cd210f6f015232d3c9724ba359fd68 legacy-1.42.dat.bz2 314469
-SHA256 a63f00855fc89412f006d6e46d2ae56b2746b96e8e58fdc744915b0ddfa0cc45 legacy-1.42.dat.bz2 314469
-MD5 62f5cdad464463038d568a53b13c22f7 legacy_142_src.tar.gz 1687954
-RMD160 887d5d5283db50fe6bc653071511c32bed3e5e2f legacy_142_src.tar.gz 1687954
-SHA256 f5d80aaafddb1a9525af72f118cc63f724f3542c9f58496ad5eabd334b8e2d98 legacy_142_src.tar.gz 1687954
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-</pkgmetadata>