+++ /dev/null
-# ChangeLog for games-action/d1x
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/d1x/ChangeLog,v 1.9 2007/03/12 13:15:09 genone Exp $
-
- 12 Mar 2007; Marius Mauch <genone@gentoo.org> d1x-20040118.ebuild:
- Replacing einfo with elog
-
- 07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> d1x-20040118.ebuild:
- Change all instances of [ to [[.
-
- 24 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> d1x-20040118.ebuild:
- Moved cdrom_get_cds to src_unpack since binary packages don't require the
- original media to install.
-
- 13 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org> d1x-20040118.ebuild:
- Moved games_pkg_setup to the beginning of pkg_setup.
-
- 25 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> d1x-20040118.ebuild:
- unpack in src_unpack; tidy
-
- 30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> d1x-20040118.ebuild:
- don't rdepend on nasm; depend on sed >= 4
-
-*d1x-20040118 (19 Jan 2004)
-
- 19 Jan 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> d1x-20040118.ebuild,
- metadata.xml, files/d1x-makefile-linux.patch, files/d1x-missiondir.patch:
- Initial import.
-
+++ /dev/null
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX d1x-makefile-linux.patch 1074 RMD160 7ad070a0b47ea4f43ef1510d741b3b97296cda9d SHA1 6b6cc5d4a664c1cb550b35f591c35267cfb5292c SHA256 3e983c8b9d2da6e3b6d3bc9fcebc448e462066862ce4735d80d1a6431d032728
-MD5 951de74e67288963ee03c3719074f3fb files/d1x-makefile-linux.patch 1074
-RMD160 7ad070a0b47ea4f43ef1510d741b3b97296cda9d files/d1x-makefile-linux.patch 1074
-SHA256 3e983c8b9d2da6e3b6d3bc9fcebc448e462066862ce4735d80d1a6431d032728 files/d1x-makefile-linux.patch 1074
-AUX d1x-missiondir.patch 754 RMD160 b9a840a21882ed802083625c1dafcd11b6cfb605 SHA1 282277ffee2ae710957a3ddea11064072853f6f9 SHA256 3f5c4dac6a463d63de0647e2dececfdc5295672f2e796587ab6241c6b4faa09f
-MD5 fe21a7e67ef24de5864a502206052663 files/d1x-missiondir.patch 754
-RMD160 b9a840a21882ed802083625c1dafcd11b6cfb605 files/d1x-missiondir.patch 754
-SHA256 3f5c4dac6a463d63de0647e2dececfdc5295672f2e796587ab6241c6b4faa09f files/d1x-missiondir.patch 754
-DIST d1x-20040118.tar.bz2 1372821 RMD160 878411cac2c9ff916668b7cbe89b07292587c3c3 SHA1 7f7bbade13ebc26da4d858bb316a3559ee4b7a97 SHA256 d81d8f53638e27213c79b1736b63f7af9b97a9cecfa464cb8b31317a242f4fe6
-DIST descent1.5-patch.tar.bz2 193041 RMD160 ce7567ecd6be06b6fb994b0a414672ae388b26a2 SHA1 0348d0c5088add62e453930774a0e60d0bc73700 SHA256 74af8df601b73e2e69add033a63071cd09af5e35ce61b7340d2a3be441b597b3
-EBUILD d1x-20040118.ebuild 3017 RMD160 ff799f225fee6ec262b6973332cb8491788af070 SHA1 c562d22562298164dc06ac266564603774348a51 SHA256 7d5303496e2cb73011b0b3c26ec8f8ba2ab2d4cdda1c21851b438373fe913a22
-MD5 b816a266708b420612bcc8b4c9ce2f84 d1x-20040118.ebuild 3017
-RMD160 ff799f225fee6ec262b6973332cb8491788af070 d1x-20040118.ebuild 3017
-SHA256 7d5303496e2cb73011b0b3c26ec8f8ba2ab2d4cdda1c21851b438373fe913a22 d1x-20040118.ebuild 3017
-MISC ChangeLog 1153 RMD160 858c2c6292d9926529583f6f1f80d2d1c360e216 SHA1 30967fa16ca4dc336f1194d2d5592ca2ad678803 SHA256 355dae2116b862cfe8ee66f70fbb99c8a2b93a69d0583fb85994647caabb7ef5
-MD5 b086eebc6e9e28322c3d47016ee31971 ChangeLog 1153
-RMD160 858c2c6292d9926529583f6f1f80d2d1c360e216 ChangeLog 1153
-SHA256 355dae2116b862cfe8ee66f70fbb99c8a2b93a69d0583fb85994647caabb7ef5 ChangeLog 1153
-MISC metadata.xml 459 RMD160 de22145c6bcce005c0b5964e6adb2d035585d46c SHA1 397474ab4f958bb4932d84306643eba171978074 SHA256 69db7eaa03285604b47e7a25dab05f7fb2eb65b5d1643fec1635b85a85dfc289
-MD5 3b90dbebc21faee848d364a02fc20bac metadata.xml 459
-RMD160 de22145c6bcce005c0b5964e6adb2d035585d46c metadata.xml 459
-SHA256 69db7eaa03285604b47e7a25dab05f7fb2eb65b5d1643fec1635b85a85dfc289 metadata.xml 459
-MD5 f024cb963f320aaf563b31a61f028a99 files/digest-d1x-20040118 497
-RMD160 d5595eb9e8f68967b7986a68569447c35ec3cd19 files/digest-d1x-20040118 497
-SHA256 51b8c4c39fa5be0f54c56ed3b3d29e89cabc29e48f183b915f208f31642cb893 files/digest-d1x-20040118 497
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
-
-iD8DBQFGFY3Edz7hIScOURERAvldAJ9/BbppLLB2Q6sbaT4eWWQoW23qfQCg4ixN
-uIYSiNj6KZyAK8S1VoHS1xA=
-=J75V
------END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/d1x/d1x-20040118.ebuild,v 1.10 2007/04/06 00:01:01 nyhm Exp $
-
-inherit eutils games
-
-DESCRIPTION="Descent 1 Source Project"
-HOMEPAGE="http://d1x.warpcore.org"
-SRC_URI="mirror://gentoo/${P}.tar.bz2 mirror://gentoo/descent1.5-patch.tar.bz2"
-
-LICENSE="Descent1 D1X"
-SLOT="0"
-KEYWORDS="x86"
-IUSE="opengl"
-
-RDEPEND="media-libs/libsdl
- opengl? (
- virtual/opengl
- media-libs/libpng
- sys-libs/zlib )"
-
-DEPEND="${RDEPEND}
- >=dev-lang/nasm-0.97"
-
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- cdrom_get_cds descent
- unpack ${A}
-
- mkdir "${WORKDIR}/descent1-data" || die
-
- # Copy data files
- cd "${CDROM_ROOT}/descent" || die
-
- cp chaos.hog chaos.msn descent.b50 descent.dem descent.hog \
- descent.m50 descent.phx descent.pig descent2.adv descentg.ini \
- level18.dem miniboss.dem readme.txt descent.faq orderfrm.txt \
- devteam.pcx \
- "${WORKDIR}/descent1-data" || die
-
- # Apply 1.0 -> 1.5 patch
- cd "${WORKDIR}/descent1.5-patch" || die
- for x in *.patch; do
- if patch "${WORKDIR}/descent1-data/${x%%.patch}" < "${x}" &>/dev/null ; then
- einfo "Patched ${x%%.patch} to version 1.5"
- fi
- done
-
- cd "${S}" || die
- epatch "${FILESDIR}/d1x-missiondir.patch" || die
-
- cp defines.in defines.mak || die
- epatch "${FILESDIR}/d1x-makefile-linux.patch" || die
-
- if use opengl; then
- sed -i -e 's/^#\(SDLGL_IO = 1\)/\1/' defines.mak || die
- else
- sed -i -e 's/^#\(SDL_IO = 1\)/\1/' defines.mak || die
- fi
-
- sed -i \
- -e 's/make /$(MAKE) /' \
- makefile rules.mak default.mak \
- || die "sed failed"
-
- binname="d1x143"
- if use opengl; then
- binname="d1x143_ogl"
- fi
-
- cat > "${T}"/d1x <<-EOS
- #!/bin/sh
- if [[ ! -e "\${HOME}/.d1x" ]] ; then
- mkdir "\${HOME}/.d1x"
- cp "${GAMES_DATADIR}/d1x/d1x.ini" "\${HOME}/.d1x/"
- fi
-
- cd "\${HOME}/.d1x/"
- exec "$(games_get_libdir)"/${PN}/${binname} -missiondir "${GAMES_DATADIR}/d1x" "\$@"
- EOS
-}
-
-src_compile() {
- emake dep || die
- emake -j1 || die
-}
-
-src_install() {
- # Install D1X documentation
- cd "${S}"
- dodoc d1x.faq d1x.txt d1x140.txt readme.d1x readme.org todo.txt \
- bugs.txt || die
-
- # Copy data files
- cd "${WORKDIR}/descent1-data" || die
-
- insinto "${GAMES_DATADIR}/d1x"
- doins chaos.hog chaos.msn descent.b50 descent.dem descent.hog \
- descent.m50 descent.phx descent.pig descent2.adv descentg.ini \
- level18.dem miniboss.dem || die
-
- # Install original documentation files
- dodoc "readme.txt" "descent.faq" "orderfrm.txt" "devteam.pcx"
-
- # Copy d1x.ini
- cd "${S}"
- insinto "${GAMES_DATADIR}/d1x"
- doins d1x.ini || die
-
- # Install the binary executable
- insinto "$(games_get_libdir)/${PN}"
- insopts -m0750
- doins "${binname}"
-
- dogamesbin "${T}/d1x" || die "dogamesbin failed"
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- echo
- elog "You may want to install the additional map package, which contains"
- elog "popular third-party multiplayer maps."
- echo
- elog "To do so, run: emerge games-fps/descent1-maps"
-}
+++ /dev/null
---- defines.mak.orig 2004-01-18 22:48:53.176558208 -0500
-+++ defines.mak 2004-01-18 22:56:45.215797336 -0500
-@@ -1,5 +1,5 @@
- # NOERROR: make sure there are no warnings in compile
--NOERROR = 1
-+#NOERROR = 1
-
- # NO_ASM: don't use assembler
- #NO_ASM = 1
-@@ -38,12 +38,12 @@
- RELEASE = 1
-
- # environment
--ENV_DJGPP = 1
-+#ENV_DJGPP = 1
- #ENV_DJGPP_REALDOS =1
- #ENV_MINGW32 = 1
- #ENV_CYGWIN = 1
- #ENV_MSVC = 1
--#ENV_LINUX = 1
-+ENV_LINUX = 1
-
- # if compiling with Cygwin, you need extra mingw compatible c++ libraries (see compile.txt)
- #MINGW_EXTRA = /Cygnus/mingw/
-@@ -79,7 +79,7 @@
- #GLX_IO = 1
-
- # linux audio options (choose one)
--#SDL_AUDIO = 1
-+SDL_AUDIO = 1
- #ALSA_AUDIO = 1
-
- # secondary compiler options
-@@ -93,7 +93,7 @@
- #sound options for dos: choose which
- #MIKMOD = 1 #MikMod digital, can be used with allg_midi
- #ALLG_MIDI = 1 #Allegro midi, can be used with mikmod
--ALLEGRO = 1 #Allegro for midi and digi, should be used alone
-+#ALLEGRO = 1 #Allegro for midi and digi, should be used alone
-
- #music options for linux:
- #HMIPLAY = 1
+++ /dev/null
-diff -ur d1x.orig/main/inferno.c d1x/main/inferno.c
---- d1x.orig/main/inferno.c 2003-11-18 23:31:29.000000000 -0500
-+++ d1x/main/inferno.c 2004-01-18 22:48:53.122566416 -0500
-@@ -1144,6 +1144,11 @@
- // Things to initialize before anything else
- arch_init_start();
-
-+ if ((t = FindArg( "-missiondir" )))
-+ cfile_use_alternate_hogdir(Args[t+1]);
-+ else
-+ cfile_use_alternate_hogdir("");
-+
- load_text();
-
- // set_exit_message("\n\n%s", TXT_THANKS);
-@@ -1172,11 +1177,6 @@
- }
- //end this section addition - VR
-
-- if ((t = FindArg( "-missiondir" )))
-- cfile_use_alternate_hogdir(Args[t+1]);
-- else
-- cfile_use_alternate_hogdir("");
--
- if ((t=FindArg("-tmap"))){
- select_tmap(Args[t+1]);
- }else
+++ /dev/null
-MD5 882b249c0b5c6bf0f0a830cba2c0234d d1x-20040118.tar.bz2 1372821
-RMD160 878411cac2c9ff916668b7cbe89b07292587c3c3 d1x-20040118.tar.bz2 1372821
-SHA256 d81d8f53638e27213c79b1736b63f7af9b97a9cecfa464cb8b31317a242f4fe6 d1x-20040118.tar.bz2 1372821
-MD5 f761763c7b3b0e0597db84dfdf4496ac descent1.5-patch.tar.bz2 193041
-RMD160 ce7567ecd6be06b6fb994b0a414672ae388b26a2 descent1.5-patch.tar.bz2 193041
-SHA256 74af8df601b73e2e69add033a63071cd09af5e35ce61b7340d2a3be441b597b3 descent1.5-patch.tar.bz2 193041
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>games</herd>
-<longdescription>
-Descent 1 is a classic first-person shooter released in 1995 by Interplay
-and Parallax. It was one of the first games with true 3-dimensional
-graphics, movement, and light sourcing. D1X is a modification of the
-Descent 1 source that was released by Parallax.
-</longdescription>
-</pkgmetadata>