summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-31 05:12:44 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-31 05:12:44 +0000
commit1fd4cf4d6ea1baf494700983e181aeda73e74473 (patch)
tree98a32ff19393e8ad9b27c39664b6dde7b6a5e769
parentfix sed DEPEND #44817 (Manifest recommit) (diff)
downloadgentoo-2-1fd4cf4d6ea1baf494700983e181aeda73e74473.tar.gz
gentoo-2-1fd4cf4d6ea1baf494700983e181aeda73e74473.tar.bz2
gentoo-2-1fd4cf4d6ea1baf494700983e181aeda73e74473.zip
old
-rw-r--r--games-emulation/nwwine/files/digest-nwwine-200207031
-rw-r--r--games-emulation/nwwine/files/digest-nwwine-200306184
-rw-r--r--games-emulation/nwwine/files/digest-nwwine-200307093
-rw-r--r--games-emulation/nwwine/files/nwwine-20020703-fake_windows.tar.bz2bin500 -> 0 bytes
-rw-r--r--games-emulation/nwwine/files/nwwine-20020703-misc.tar.bz2bin4603 -> 0 bytes
-rw-r--r--games-emulation/nwwine/nwwine-20020703.ebuild114
-rw-r--r--games-emulation/nwwine/nwwine-20030618.ebuild124
-rw-r--r--games-emulation/nwwine/nwwine-20030709.ebuild122
-rw-r--r--games-emulation/nwwine/nwwine-20030911.ebuild3
-rw-r--r--games-emulation/visualboyadvance/files/digest-visualboyadvance-1.7.1-r11
-rw-r--r--games-emulation/visualboyadvance/visualboyadvance-1.7.1-r1.ebuild49
-rw-r--r--games-fps/doomlegacy/doomlegacy-1.41-r1.ebuild113
-rw-r--r--games-fps/doomlegacy/files/1.41-errno.patch30
-rw-r--r--games-fps/doomlegacy/files/1.41-makefile.patch105
-rw-r--r--games-fps/doomlegacy/files/digest-doomlegacy-1.41-r13
-rw-r--r--games-fps/duke3d/duke3d-20030817-r1.ebuild110
-rw-r--r--games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch13
-rw-r--r--games-fps/duke3d/files/20030817-credits.patch38
-rw-r--r--games-fps/duke3d/files/20030817-duke3d-makefile-opts.patch33
19 files changed, 1 insertions, 865 deletions
diff --git a/games-emulation/nwwine/files/digest-nwwine-20020703 b/games-emulation/nwwine/files/digest-nwwine-20020703
deleted file mode 100644
index 0dcb9187c341..000000000000
--- a/games-emulation/nwwine/files/digest-nwwine-20020703
+++ /dev/null
@@ -1 +0,0 @@
-MD5 47972dc42e8eb2dc062463bd61318d2e nwwine-20020703.tar.gz 7701588
diff --git a/games-emulation/nwwine/files/digest-nwwine-20030618 b/games-emulation/nwwine/files/digest-nwwine-20030618
deleted file mode 100644
index bc6988e63fbb..000000000000
--- a/games-emulation/nwwine/files/digest-nwwine-20030618
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 9f71d94bdd166bf6ad5d29fd1f3c067f nwwine-20030618-misc.tar.bz2 4603
-MD5 9b9fc6e2368037fb8956b4d4ef1d94e2 nwwine-based-on-20030618.tar.gz 8922762
-MD5 af8da46a0e51578ff1e18e399141d628 nwwine-20030618-fake_windows.tar.bz2 500
-MD5 35f5ecf311952d369a24bdf7477c59df wine-nvidia-fix.patch.gz 6124
diff --git a/games-emulation/nwwine/files/digest-nwwine-20030709 b/games-emulation/nwwine/files/digest-nwwine-20030709
deleted file mode 100644
index 814e5deb3a95..000000000000
--- a/games-emulation/nwwine/files/digest-nwwine-20030709
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 9f71d94bdd166bf6ad5d29fd1f3c067f nwwine-20030618-misc.tar.bz2 4603
-MD5 6e282b59a9b861b493a430e6064da7f6 nwwine-based-on-20030709.tar.gz 9138320
-MD5 af8da46a0e51578ff1e18e399141d628 nwwine-20030618-fake_windows.tar.bz2 500
diff --git a/games-emulation/nwwine/files/nwwine-20020703-fake_windows.tar.bz2 b/games-emulation/nwwine/files/nwwine-20020703-fake_windows.tar.bz2
deleted file mode 100644
index d60f11e08ee3..000000000000
--- a/games-emulation/nwwine/files/nwwine-20020703-fake_windows.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/games-emulation/nwwine/files/nwwine-20020703-misc.tar.bz2 b/games-emulation/nwwine/files/nwwine-20020703-misc.tar.bz2
deleted file mode 100644
index 4db1affaf4bf..000000000000
--- a/games-emulation/nwwine/files/nwwine-20020703-misc.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/games-emulation/nwwine/nwwine-20020703.ebuild b/games-emulation/nwwine/nwwine-20020703.ebuild
deleted file mode 100644
index b7cc9122874e..000000000000
--- a/games-emulation/nwwine/nwwine-20020703.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/nwwine/nwwine-20020703.ebuild,v 1.5 2004/08/29 05:02:26 mr_bones_ Exp $
-
-DESCRIPTION="A special version of wine for the Neverwinter Nights toolkit"
-HOMEPAGE="http://www.winehq.com/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 -ppc -sparc"
-IUSE="X alsa arts cups debug nas opengl tcltk"
-
-DEPEND="sys-devel/gcc
- sys-devel/flex
- dev-util/yacc
- >=sys-apps/sed-4
- >=sys-libs/ncurses-5.2
- >=media-libs/freetype-2.0.0
- X? ( virtual/x11 )
- tcltk? ( dev-lang/tcl dev-lang/tk )
- arts? ( kde-base/arts )
- alsa? ( media-libs/alsa-lib )
- nas? ( media-libs/nas )
- cups? ( net-print/cups )
- opengl? ( virtual/opengl )"
-
-src_compile() {
- # there's no configure flag for cups, arts, alsa and nas, it's supposed to be autodetected
-
- # use the default setting in ./configure over the /etc/make.conf setting
- unset CFLAGS CXXFLAGS
-
- ./configure \
- --prefix=/usr/lib/${PN} \
- --sysconfdir=/etc/${PN} \
- --host=${CHOST} \
- --enable-curses \
- `use_enable opengl` \
- `use_enable debug trace` \
- `use_enable debug` \
- || die "configure failed"
-
- sed -i -e 's:wine.pm:include/wine.pm:' ${S}/programs/winetest/Makefile || \
- die "sed programs/winetest/Makefile failed"
-
- # No parallel make
- make depend all || die "make depend all failed"
- cd programs && emake || die
-}
-
-src_install() {
- local WINEMAKEOPTS="prefix=${D}/usr/lib/${PN}"
-
- ### Install wine to ${D}
- make ${WINEMAKEOPTS} install || die
- cd ${S}/programs
- make ${WINEMAKEOPTS} install || die
-
- # Needed for later installation
- dodir /usr/bin
-
- ### Creation of /usr/lib/${PN}/.data
- # set up fake_windows
- dodir /usr/lib/${PN}/.data
- cd ${D}/usr/lib/nwwine/.data
- tar jxvf ${FILESDIR}/${P}-fake_windows.tar.bz2
- chown root:root fake_windows/ -R
-
- # unpack the miscellaneous files
- tar jxvf ${FILESDIR}/${P}-misc.tar.bz2
- chown root:root config
-
- # move wrappers to bin/
- insinto /usr/bin
- dobin regedit-nwwine nwwine
- rm regedit-nwwine nwwine
-
- # put winedefault.reg into .data
- insinto /usr/lib/${PN}/.data
- doins ${WORKDIR}/${P}/winedefault.reg
-
- # set up this dynamic data
- cd ${S}
- insinto /usr/lib/${PN}/.data/fake_windows/Windows
- doins documentation/samples/system.ini
- doins documentation/samples/generic.ppd
- ## Setup of .data complete
-
- ### Misc tasks
- # take care of the documentation
- cd ${S}
- dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
-
- # manpage setup
- cp ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1
- doman ${D}/usr/lib/${PN}/man/man1/${PN}.1
- rm ${D}/usr/lib/${PN}/man/man1/${PN}.1
-
- # remove the executable flag from those libraries.
- cd ${D}/usr/lib/${PN}/lib/wine
- chmod a-x *.so
-}
-
-pkg_postinst() {
- einfo "Use /usr/bin/nwwine to start wine. This is a wrapper-script"
- einfo "which will take care of everything else."
- einfo ""
- einfo "Use /usr/bin/regedit-nwwine to import registry files into the"
- einfo "wine registry."
- einfo ""
- einfo "If you have further questions, enhancements or patches"
- einfo "send an email to phoenix@gentoo.org"
-}
diff --git a/games-emulation/nwwine/nwwine-20030618.ebuild b/games-emulation/nwwine/nwwine-20030618.ebuild
deleted file mode 100644
index 502d32b1dd1b..000000000000
--- a/games-emulation/nwwine/nwwine-20030618.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/nwwine/nwwine-20030618.ebuild,v 1.6 2004/08/29 05:02:26 mr_bones_ Exp $
-
-inherit eutils
-
-DESCRIPTION="A special version of wine for the Neverwinter Nights toolkit"
-HOMEPAGE="http://www.winehq.com/ http://republika.pl/nwnlinux/"
-SRC_URI="mirror://gentoo/${P}-misc.tar.bz2
- ftp://128.173.184.249/Linux/nwwine/nwwine-based-on-${PV}.tar.gz
- mirror://gentoo/${P}-fake_windows.tar.bz2
- mirror://gentoo/wine-nvidia-fix.patch.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 -ppc -sparc"
-IUSE="X alsa arts cups debug nas opengl tcltk"
-
-DEPEND="sys-devel/gcc
- sys-devel/flex
- dev-util/yacc
- >=sys-apps/sed-4
- >=sys-libs/ncurses-5.2
- >=media-libs/freetype-2.0.0
- X? ( virtual/x11 )
- tcltk? ( dev-lang/tcl dev-lang/tk )
- arts? ( kde-base/arts )
- alsa? ( media-libs/alsa-lib )
- nas? ( media-libs/nas )
- cups? ( net-print/cups )
- opengl? ( virtual/opengl )"
-
-S=${WORKDIR}/nwwine-based-on-${PV}
-
-src_compile() {
- cd ${S}/dlls/opengl32
- epatch ${WORKDIR}/wine-nvidia-fix.patch
-
- cd ${S}
- #fix the nwwine wrapper
- mv nwwine.sh nwwine.old
- sed -e "s:wine:/usr/lib/nwwine/bin/wine:" nwwine.old > nwwine.sh
-
- # there's no configure flag for cups, arts, alsa and nas, it's supposed to be autodetected
-
- # use the default setting in ./configure over the /etc/make.conf setting
- unset CFLAGS CXXFLAGS
-
- ./configure \
- --prefix=/usr/lib/${PN} \
- --sysconfdir=/etc/${PN} \
- --host=${CHOST} \
- --enable-curses \
- `use_enable opengl` \
- `use_enable debug trace` \
- `use_enable debug` \
- || die "configure failed"
-
- # No parallel make
- make depend all || die "make depend all failed"
- cd programs && emake || die
-}
-
-src_install() {
- local WINEMAKEOPTS="prefix=${D}/usr/lib/${PN}"
-
- ### Install wine to ${D}
- make ${WINEMAKEOPTS} install || die
- cd ${S}/programs
- make ${WINEMAKEOPTS} install || die
-
- # Needed for later installation
- dodir /usr/bin
-
- ### Creation of /usr/lib/${PN}/.data
- # set up fake_windows
- dodir /usr/lib/${PN}/.data
- cd ${D}/usr/lib/nwwine/.data
- cp -r ${WORKDIR}/fake_windows .
-
- # copy config
- cp ${WORKDIR}/config .
-
- # put winedefault.reg into .data
- cp ${S}/winedefault.reg .
-
- # move wrappers to bin/
- cd ${WORKDIR}
- insinto /usr/bin
- dobin regedit-nwwine nwwine
- rm regedit-nwwine nwwine
-
- # set up this dynamic data
- cd ${S}
- insinto /usr/lib/${PN}/.data/fake_windows/Windows
- doins documentation/samples/system.ini
- doins documentation/samples/generic.ppd
- ## Setup of .data complete
-
- ### Misc tasks
- # take care of the documentation
- cd ${S}
- dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
-
- # manpage setup
- mv ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1
- doman ${D}/usr/lib/${PN}/man/man1/${PN}.1
- rm ${D}/usr/lib/${PN}/man/man1/${PN}.1
-
- # remove the executable flag from those libraries.
- cd ${D}/usr/lib/${PN}/lib/wine
- chmod a-x *.so
-}
-
-pkg_postinst() {
- einfo "Use /usr/bin/nwwine to start wine. This is a wrapper-script"
- einfo "which will take care of everything else."
- einfo ""
- einfo "Use /usr/bin/regedit-nwwine to import registry files into the"
- einfo "wine registry."
- einfo ""
- einfo "If you have bugs, enhancements or patches"
- einfo "report a bug and assign it to wine@gentoo.org"
-}
diff --git a/games-emulation/nwwine/nwwine-20030709.ebuild b/games-emulation/nwwine/nwwine-20030709.ebuild
deleted file mode 100644
index 69e31a62cc2b..000000000000
--- a/games-emulation/nwwine/nwwine-20030709.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/nwwine/nwwine-20030709.ebuild,v 1.6 2004/08/29 05:02:26 mr_bones_ Exp $
-
-DESCRIPTION="A special version of wine for the Neverwinter Nights toolkit"
-SRC_URI="mirror://gentoo/nwwine-20030618-misc.tar.bz2
- ftp://128.173.184.249/Linux/nwwine/nwwine-based-on-${PV}.tar.gz
- mirror://gentoo/nwwine-20030618-fake_windows.tar.bz2"
-
-HOMEPAGE="http://www.winehq.com/ http://republika.pl/nwnlinux/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 -ppc -sparc"
-IUSE="X alsa arts cups nas opengl tcltk"
-S=${WORKDIR}/nwwine-based-on-${PV}
-
-DEPEND="sys-devel/gcc
- sys-devel/flex
- dev-util/yacc
- >=sys-apps/sed-4
- >=sys-libs/ncurses-5.2
- >=media-libs/freetype-2.0.0
- X? ( virtual/x11 )
- tcltk? ( dev-lang/tcl dev-lang/tk )
- arts? ( kde-base/arts )
- alsa? ( media-libs/alsa-lib )
- nas? ( media-libs/nas )
- cups? ( net-print/cups )
- opengl? ( virtual/opengl )"
-RDEPEND=""
-
-src_compile() {
- cd ${S}/dlls/opengl32
-
- cd ${S}
- #fix the nwwine wrapper
- mv nwwine.sh nwwine.old
- sed -e "s:wine:/usr/lib/nwwine/bin/wine:" nwwine.old > nwwine.sh
-
- local myconf
-
- use opengl && myconf="--enable-opengl" || myconf="--disable-opengl"
- [ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug"
- # there's no configure flag for cups, arts, alsa and nas, it's supposed to be autodetected
-
- # use the default setting in ./configure over the /etc/make.conf setting
- unset CFLAGS CXXFLAGS
-
- ./configure --prefix=/usr/lib/${PN} \
- --sysconfdir=/etc/${PN} \
- --host=${CHOST} \
- --enable-curses \
- ${myconf} || die "configure failed"
-
- # No parallel make
- make depend all || die "make depend all failed"
- cd programs && emake || die
-}
-
-src_install () {
- local WINEMAKEOPTS="prefix=${D}/usr/lib/${PN}"
-
- ### Install wine to ${D}
- cd ${S}
- make ${WINEMAKEOPTS} install || die
- cd ${S}/programs
- make ${WINEMAKEOPTS} install || die
-
- # Needed for later installation
- dodir /usr/bin
-
- ### Creation of /usr/lib/${PN}/.data
- # set up fake_windows
- dodir /usr/lib/${PN}/.data
- cd ${D}/usr/lib/nwwine/.data
- cp -r ${WORKDIR}/fake_windows .
-
- # copy config
- cp ${WORKDIR}/config .
-
- # put winedefault.reg into .data
- cp ${S}/winedefault.reg .
-
- # move wrappers to bin/
- cd ${WORKDIR}
- insinto /usr/bin
- dobin regedit-nwwine nwwine
- rm regedit-nwwine nwwine
-
- # set up this dynamic data
- cd ${S}
- insinto /usr/lib/${PN}/.data/fake_windows/Windows
- doins documentation/samples/system.ini
- doins documentation/samples/generic.ppd
- ## Setup of .data complete
-
- ### Misc tasks
- # take care of the documentation
- cd ${S}
- dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
-
- # manpage setup
- mv ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1
- doman ${D}/usr/lib/${PN}/man/man1/${PN}.1
- rm ${D}/usr/lib/${PN}/man/man1/${PN}.1
-
- # remove the executable flag from those libraries.
- cd ${D}/usr/lib/${PN}/lib/wine
- chmod a-x *.so
-}
-
-pkg_postinst() {
- einfo "Use /usr/bin/nwwine to start wine. This is a wrapper-script"
- einfo "which will take care of everything else."
- einfo ""
- einfo "Use /usr/bin/regedit-nwwine to import registry files into the"
- einfo "wine registry."
- einfo ""
- einfo "If you have bugs, enhancements or patches"
- einfo "report a bug and assign it to wine@gentoo.org"
-}
diff --git a/games-emulation/nwwine/nwwine-20030911.ebuild b/games-emulation/nwwine/nwwine-20030911.ebuild
index f73c221d7fc0..c4298b0bba14 100644
--- a/games-emulation/nwwine/nwwine-20030911.ebuild
+++ b/games-emulation/nwwine/nwwine-20030911.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/nwwine/nwwine-20030911.ebuild,v 1.4 2004/08/29 05:02:26 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/nwwine/nwwine-20030911.ebuild,v 1.5 2004/10/31 05:10:22 vapier Exp $
inherit eutils
@@ -20,7 +20,6 @@ S=${WORKDIR}/nwwine-based-on-${PV}
DEPEND="sys-devel/gcc
sys-devel/flex
dev-util/yacc
- >=sys-apps/sed-4
>=sys-libs/ncurses-5.2
>=media-libs/freetype-2.0.0
X? ( virtual/x11 )
diff --git a/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.7.1-r1 b/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.7.1-r1
deleted file mode 100644
index f738a3be8d64..000000000000
--- a/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.7.1-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 4147eeac55ecf713397f19eae636eef3 VisualBoyAdvance-src-1.7.1.tar.gz 1001727
diff --git a/games-emulation/visualboyadvance/visualboyadvance-1.7.1-r1.ebuild b/games-emulation/visualboyadvance/visualboyadvance-1.7.1-r1.ebuild
deleted file mode 100644
index f6ee865ec41a..000000000000
--- a/games-emulation/visualboyadvance/visualboyadvance-1.7.1-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/visualboyadvance-1.7.1-r1.ebuild,v 1.4 2004/06/24 22:37:12 agriffis Exp $
-
-inherit games
-
-DESCRIPTION="gameboy, gameboy color, and gameboy advance emulator"
-HOMEPAGE="http://vba.ngemu.com/"
-SRC_URI="mirror://sourceforge/vba/VisualBoyAdvance-src-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc ~amd64"
-IUSE="mmx debug"
-
-# wrapper script uses sed -i to needs to be in RDEPEND
-RDEPEND="virtual/x11
- media-libs/libpng
- sys-libs/zlib
- media-libs/libsdl
- >=sys-apps/sed-4"
-DEPEND="${RDEPEND}
- mmx? ( dev-lang/nasm )"
-
-S="${WORKDIR}/VisualBoyAdvance-${PV}"
-
-src_compile() {
- egamesconf \
- --enable-c-core \
- $(use_with debug profiling) \
- $(use_with mmx) \
- || die
- if ! use debug ; then
- sed -i \
- -e 's:prof/libprof.a::' \
- src/Makefile \
- || die "sed src/Makefile failed"
- fi
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dogamesbin ${FILESDIR}/visualboyadvance || die "dogamesbin failed"
- insinto ${GAMES_DATADIR}/VisualBoyAdvance
- doins src/VisualBoyAdvance.cfg
- dodoc AUTHORS ChangeLog INSTALL NEWS README README-win.txt
- prepgamesdirs
-}
diff --git a/games-fps/doomlegacy/doomlegacy-1.41-r1.ebuild b/games-fps/doomlegacy/doomlegacy-1.41-r1.ebuild
deleted file mode 100644
index 7038ba3d0f37..000000000000
--- a/games-fps/doomlegacy/doomlegacy-1.41-r1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/doomlegacy/doomlegacy-1.41-r1.ebuild,v 1.6 2004/06/24 22:41:23 agriffis 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
- http://www.lbjhs.net/~jessh/lsdldoom/doom1.wad.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc"
-IUSE="sdl X dga esd"
-
-RDEPEND="
- virtual/opengl
- virtual/x11
- esd? ( media-sound/esound )
- sdl? (
- media-libs/libsdl
- media-libs/sdl-mixer
- )"
-DEPEND="${RDEPEND}
- x86? ( >=dev-lang/nasm-0.98 )
- >=sys-apps/sed-4"
-
-S="${WORKDIR}/legacy_${PV//.}_src"
-
-src_unpack() {
- unpack ${A}
- mkdir bin
- cd ${S}
- epatch ${FILESDIR}/${PV}-errno.patch
- epatch ${FILESDIR}/${PV}-makefile.patch
-
- # disable logfile writing
- sed -i \
- -e 's:#define LOGMESSAGES::' doomdef.h \
- || die 'sed doomdef.h failed'
-
- # make sure the games can find the wads/data files
- sed -i \
- -e "/#define DEFAULTWADLOCATION1/s:\".*\":\"${GAMES_DATADIR}/${PN}\":" \
- linux_x/i_system.c \
- || die "sed linux_x/i_system.c 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 linux_x/i_video_xshm.c 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=""
- local redosnd=0
- local interfaces=""
- use sdl && interfaces="${interfaces} SDL"
- use X && interfaces="${interfaces} X"
- [ -z "${interfaces}" ] && interfaces="X"
- mkdir ${WORKDIR}/my-bins
- for i in ${interfaces} ; do
- redosnd=0
- case ${i} in
- SDL)
- makeopts="SDL=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} || redosnd=1
- if [ ${redosnd} -eq 1 ] ; then
- cd linux_x/sndserv
- emake clean || die "clean snd srv failed"
- emake EXTRAOPTS="${CFLAGS}" || die "snd serv failed"
- fi
- cd ${S}
- 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
- rm my-bins/r_opengl.so
- dogamesbin my-bins/*
-
- insinto ${GAMES_DATADIR}/${PN}
- doins doom1.wad
- newins legacy-${PV}.dat legacy.dat
-
- prepgamesdirs
-}
diff --git a/games-fps/doomlegacy/files/1.41-errno.patch b/games-fps/doomlegacy/files/1.41-errno.patch
deleted file mode 100644
index c9aa3c6ffef0..000000000000
--- a/games-fps/doomlegacy/files/1.41-errno.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -ur legacy_141_src.orig/linux_x/i_video_xshm.c legacy_141_src/linux_x/i_video_xshm.c
---- legacy_141_src.orig/linux_x/i_video_xshm.c 2003-10-11 00:28:13.262502728 -0400
-+++ legacy_141_src/linux_x/i_video_xshm.c 2003-10-11 00:29:16.525885232 -0400
-@@ -1561,7 +1561,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 legacy_141_src.orig/linux_x/sndserv/linux.c legacy_141_src/linux_x/sndserv/linux.c
---- legacy_141_src.orig/linux_x/sndserv/linux.c 2003-10-11 00:28:13.264502424 -0400
-+++ legacy_141_src/linux_x/sndserv/linux.c 2003-10-11 00:28:40.480364984 -0400
-@@ -42,6 +42,7 @@
- //
- //-----------------------------------------------------------------------------
-
-+#include <errno.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <fcntl.h>
-@@ -68,7 +69,6 @@
- void myioctl(int fd, int command, int *arg)
- {
- int rc;
-- extern int errno;
-
- rc = ioctl(fd, command, arg);
- if (rc < 0)
diff --git a/games-fps/doomlegacy/files/1.41-makefile.patch b/games-fps/doomlegacy/files/1.41-makefile.patch
deleted file mode 100644
index c48890f4af15..000000000000
--- a/games-fps/doomlegacy/files/1.41-makefile.patch
+++ /dev/null
@@ -1,105 +0,0 @@
---- makefile.orig 2003-10-11 00:47:50.326561792 -0400
-+++ makefile 2003-10-11 00:50:16.859285432 -0400
-@@ -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
-
-
---- linux_x/musserv/Makefile.linux.orig 2003-10-11 00:51:31.193984840 -0400
-+++ linux_x/musserv/Makefile.linux 2003-10-11 00:51:36.756139264 -0400
-@@ -3,7 +3,7 @@
- #
-
- CC = gcc
--CFLAGS = -I. -Wall -O2 -m486
-+CFLAGS = -I. -Wall $(EXTRAOPTS)
- LDFLAGS =
- #LDFLAGS = -static
-
---- linux_x/sndserv/Makefile.orig 2003-10-11 00:50:41.640518112 -0400
-+++ linux_x/sndserv/Makefile 2003-10-11 00:50:58.250992936 -0400
-@@ -30,7 +30,7 @@
- #
-
- CC=gcc
--CFLAGS=-O2 -m486 -Wall -DNORMALUNIX -DLINUX
-+CFLAGS=$(EXTRAOPTS) -Wall -DNORMALUNIX -DLINUX
- ifdef FREEBSD
- CFLAGS:=${CFLAGS} -DFREEBSD
- endif
diff --git a/games-fps/doomlegacy/files/digest-doomlegacy-1.41-r1 b/games-fps/doomlegacy/files/digest-doomlegacy-1.41-r1
deleted file mode 100644
index 504a132d5375..000000000000
--- a/games-fps/doomlegacy/files/digest-doomlegacy-1.41-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 4e64cb19e0e57055e664bdf09bce14d2 legacy_141_src.tar.gz 1600679
-MD5 03aad1e378ea16cad26c59c63c28c2eb legacy-1.41.dat.bz2 314470
-MD5 66851d7cecbc7845d612e7073c1355ad doom1.wad.gz 1765820
diff --git a/games-fps/duke3d/duke3d-20030817-r1.ebuild b/games-fps/duke3d/duke3d-20030817-r1.ebuild
deleted file mode 100644
index 3d3de736ffe5..000000000000
--- a/games-fps/duke3d/duke3d-20030817-r1.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/duke3d-20030817-r1.ebuild,v 1.17 2004/07/14 14:43:54 agriffis Exp $
-
-ECVS_PASS="anonymous"
-ECVS_SERVER="icculus.org:/cvs/cvsroot"
-ECVS_MODULE="duke3d"
-inherit eutils flag-o-matic games
-#inherit cvs
-
-DESCRIPTION="port of the original DukeNukem 3D"
-HOMEPAGE="http://icculus.org/projects/duke3d/"
-SRC_URI="mirror://gentoo/${P}.tbz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc"
-IUSE="opengl" # nophysfs"
-
-RDEPEND="virtual/x11
- media-libs/libsdl
- media-libs/sdl-mixer
- media-sound/timidity++
- media-sound/timidity-eawpatches
- opengl? ( virtual/opengl )"
-DEPEND="${RDEPEND}
- x86? ( dev-lang/nasm )
- >=sys-apps/sed-4"
-
-S="${WORKDIR}/${ECVS_MODULE}"
-
-use_tf() { use ${1} > /dev/null && echo "true" || echo "false"; }
-
-src_unpack() {
- local fromcvs=0
- if [ ${fromcvs} -eq 1 ] ; then
- cvs_src_unpack
- cd duke3d/source
- ECVS_MODULE="buildengine"
- cvs_src_unpack
- else
- unpack ${A}
- fi
-
- # configure buildengine
- cd ${S}/source/buildengine
- sed -i \
- -e "/^useperl := / s:=.*:= $(use_tf perl):" \
- -e "/^useopengl := / s:=.*:= $(use_tf opengl):" \
- -e "/^usephysfs := / s:=.*:= false:" Makefile \
- || die "sed Makefile failed"
- if use x86 ; then
- sed -i \
- -e 's:^#USE_ASM:USE_ASM:' Makefile \
- || die "sed Makefile failed (x86)"
- fi
- epatch "${FILESDIR}/${PV}-buildengine-makefile-cflags.patch"
- sed -i \
- -e 's:/usr/lib/perl5/i386-linux/CORE/libperl.a::' Makefile \
- || die "sed Makefile failed (libperl)"
-
- # configure duke3d
- cd ${S}/source
- epatch "${FILESDIR}/${PV}-credits.patch"
- epatch "${FILESDIR}/${PV}-duke3d-makefile-opts.patch"
- if use x86 ; then
- sed -i \
- -e '/^#use_asm/s:#::' Makefile \
- || die "sed Makefile failed"
- fi
- if use opengl ; then
- sed -i \
- -e '/^#use_opengl/s:#::' Makefile \
- || die "sed Makefile failed"
- fi
-}
-
-src_compile() {
- # -O3 fails on athlon with gcc 3.2.3, maybe others.
- replace-flags "-O3" "-O2"
- cd source/buildengine
- emake OPTFLAGS="${CFLAGS}" || die "buildengine failed"
- cd ..
- emake OPTIMIZE="${CFLAGS}" || die "duke3d failed"
-}
-
-src_install() {
- games_make_wrapper duke3d "${GAMES_BINDIR}/duke3d.bin" "${GAMES_DATADIR}/${PN}"
- newgamesbin source/duke3d duke3d.bin || die "newgamesbin failed"
-
- dodoc readme.txt
-
- cd testdata
- insinto "${GAMES_DATADIR}/${PN}"
- newins defs.con DEFS.CON
- newins game.con GAME.CON
- newins user.con USER.CON
- doins "${FILESDIR}/network.cfg"
- insinto "${GAMES_SYSCONFDIR}"
- doins "${FILESDIR}/duke3d.cfg"
- dosym "${GAMES_SYSCONFDIR}/duke3d.cfg" "${GAMES_DATADIR}/${PN}/DUKE3D.CFG"
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- einfo "Just put the data files in ${GAMES_DATADIR}/${PN}"
- einfo "before playing !"
-}
diff --git a/games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch b/games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch
deleted file mode 100644
index b8a8434bf1a6..000000000000
--- a/games-fps/duke3d/files/20030817-buildengine-makefile-cflags.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.orig 2003-08-17 17:03:30.643555488 -0400
-+++ Makefile 2003-08-17 17:03:50.415549688 -0400
-@@ -195,8 +195,8 @@
- ENGINEDIR = .
- ASMFLAGS = -f $(ASMOBJFMT) $(ASMDEFS)
- LINKER = gcc
--CFLAGS += $(USE_ASM) -funsigned-char -O2 -DPLATFORM_UNIX -g -Wall $(SDL_CFLAGS) -fno-omit-frame-pointer
--LDFLAGS += -g $(SDL_LDFLAGS)
-+CFLAGS += $(USE_ASM) $(OPTFLAGS) -funsigned-char -DPLATFORM_UNIX -Wall $(SDL_CFLAGS) -fno-omit-frame-pointer
-+LDFLAGS += $(SDL_LDFLAGS)
-
- # Rules for turning source files into .o files
- %.o: %.c
diff --git a/games-fps/duke3d/files/20030817-credits.patch b/games-fps/duke3d/files/20030817-credits.patch
deleted file mode 100644
index 5aea61558395..000000000000
--- a/games-fps/duke3d/files/20030817-credits.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- menues.c 2003-08-17 22:16:10.000000000 +0200
-+++ menues.c 2004-03-29 01:59:28.000000000 +0200
-@@ -1747,9 +1747,10 @@
- case 996:
- case 997:
-
--// rotatesprite(c<<16,200<<15,65536L,0,MENUSCREEN,16,0,10+64,0,0,xdim-1,ydim-1);
--// rotatesprite(c<<16,19<<16,65536L,0,MENUBAR,16,0,10,0,0,xdim-1,ydim-1);
--// menutext(c,24,0,0,"CREDITS");
-+ c = (320>>1);
-+ rotatesprite(c<<16,200<<15,65536L,0,MENUSCREEN,16,0,10+64,0,0,xdim-1,ydim-1);
-+ rotatesprite(c<<16,19<<16,65536L,0,MENUBAR,16,0,10,0,0,xdim-1,ydim-1);
-+ menutext(c,24,0,0,"CREDITS");
-
- if(KB_KeyPressed(sc_Escape)) { cmenu(0); break; }
-
-@@ -1926,6 +1927,21 @@
-
- menutext(c,67+16+16+16+16+16,SHX(-7),PHX(-7),"QUIT");
-
-+ gametext(c,67+16+16+16+16+16+16+16,"Duke Nukem 3D for "
-+#if defined PLATFORM_MACOSX
-+ "MacOS"
-+#elif defined PLATFORM_DOS
-+ "MS-Dos"
-+#elif defined PLATFORM_WIN32
-+ "Win32"
-+#elif defined PLATFORM_UNIX
-+ "Gentoo Linux"
-+#else
-+ "unknown"
-+#endif
-+ ,16,2+8+16);
-+ gametext(c,67+16+16+16+16+16+16+16+9,"build " __DATE__ " " __TIME__,16,2+8+16);
-+
- break;
- // CTW END - MODIFICATION
-
diff --git a/games-fps/duke3d/files/20030817-duke3d-makefile-opts.patch b/games-fps/duke3d/files/20030817-duke3d-makefile-opts.patch
deleted file mode 100644
index 6f961a11eb27..000000000000
--- a/games-fps/duke3d/files/20030817-duke3d-makefile-opts.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- Makefile.orig 2003-08-17 17:45:35.948650760 -0400
-+++ Makefile 2003-08-17 17:46:36.894385600 -0400
-@@ -4,6 +4,8 @@
- beos := false
- macosx := false
- #use_asm := true
-+#use_opengl := true
-+#use_physfs := true
-
- #-----------------------------------------------------------------------------#
- # If this makefile fails to detect Cygwin correctly, or you want to force
-@@ -80,6 +81,10 @@
- buildengine/pragmas.o \
- buildengine/unix_compat.o
-
-+ifeq ($(strip $(use_opengl)),true)
-+ BUILDOBJS += buildengine/buildgl.o
-+endif
-+
- ifeq ($(strip $(use_asm)),true)
- BUILDOBJS += buildengine/a_gnu.o buildengine/a_nasm.o
- else
-@@ -106,6 +106,10 @@
-
- LDLIBS = $(SDL_LDFLAGS) -lSDL -lSDL_mixer $(EXTRALDFLAGS)
-
-+ifeq ($(strip $(use_physfs)),true)
-+ LDLIBS += -lphysfs
-+endif
-+
- # !!! FIXME: Do we even need this? It doesn't fly on MacOS X. --ryan.
- #LDLIBS += -Wl,-E
-