diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-03-20 02:44:00 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-03-20 02:44:00 +0000 |
commit | 9a97428795029adbf89e103e8fd2ce1d861f9003 (patch) | |
tree | af62cd8308bb18dc106a7619daa7a1e1131298b8 /games-fps | |
parent | old (diff) | |
download | gentoo-2-9a97428795029adbf89e103e8fd2ce1d861f9003.tar.gz gentoo-2-9a97428795029adbf89e103e8fd2ce1d861f9003.tar.bz2 gentoo-2-9a97428795029adbf89e103e8fd2ce1d861f9003.zip |
remove games-fps/cube
masked 06 Mar 2006; use games-fps/sauerbraten instead
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/cube/ChangeLog | 74 | ||||
-rw-r--r-- | games-fps/cube/Manifest | 55 | ||||
-rw-r--r-- | games-fps/cube/cube-20040522.ebuild | 99 | ||||
-rw-r--r-- | games-fps/cube/cube-20050829.ebuild | 102 | ||||
-rw-r--r-- | games-fps/cube/files/20040522-compile-fixes.patch | 13 | ||||
-rw-r--r-- | games-fps/cube/files/20040522-gentoo-paths.patch | 43 | ||||
-rw-r--r-- | games-fps/cube/files/cube-20050829-gentoo-paths.patch | 42 | ||||
-rw-r--r-- | games-fps/cube/files/cube_client-bin | 3 | ||||
-rw-r--r-- | games-fps/cube/files/cube_server-bin | 3 | ||||
-rw-r--r-- | games-fps/cube/files/digest-cube-20040522 | 3 | ||||
-rw-r--r-- | games-fps/cube/files/digest-cube-20050829 | 6 | ||||
-rw-r--r-- | games-fps/cube/metadata.xml | 5 |
12 files changed, 0 insertions, 448 deletions
diff --git a/games-fps/cube/ChangeLog b/games-fps/cube/ChangeLog deleted file mode 100644 index abd52488cc49..000000000000 --- a/games-fps/cube/ChangeLog +++ /dev/null @@ -1,74 +0,0 @@ -# ChangeLog for games-fps/cube -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/ChangeLog,v 1.18 2007/03/12 14:16:46 genone Exp $ - - 12 Mar 2007; Marius Mauch <genone@gentoo.org> cube-20040522.ebuild, - cube-20050829.ebuild: - Replacing einfo with elog - - 07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> cube-20040522.ebuild: - Change all instances of [ to [[. - - 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: - Transition to Manifest2. - - 06 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> cube-20040522.ebuild: - Removed sed-4 from *DEPEND. - - 02 Jan 2006; Michael Hanselmann <hansmi@gentoo.org> cube-20050829.ebuild: - Stable on ppc. - - 28 Dec 2005; Michael Sterrett <mr_bones_@gentoo.org> cube-20050829.ebuild: - stable for x86 - - 21 Nov 2005; Joseph Jezak <josejx@gentoo.org> cube-20040522.ebuild, - cube-20050829.ebuild: - Fixed the order of the inherit line. - - 21 Nov 2005; Joseph Jezak <josejx@gentoo.org> cube-20040522.ebuild, - cube-20050829.ebuild: - Added -fsigned-char to fix bug #98813. - -*cube-20050829 (25 Sep 2005) - - 25 Sep 2005; Mike Frysinger <vapier@gentoo.org> - +files/cube-20050829-gentoo-paths.patch, +cube-20050829.ebuild: - Version bump #104292 by a bunch of peeps. - - 11 Nov 2004; Simon Stelling <blubb@gentoo.org> cube-20040522.ebuild: - added ~amd64 - - 16 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org> cube-20040522.ebuild: - fix compile issue (bug #60453); more error checking; tidy - -*cube-20040522 (15 Aug 2004) - - 15 Aug 2004; Mike Frysinger <vapier@gentoo.org> - +files/20040522-compile-fixes.patch, +files/20040522-gentoo-paths.patch, - cube-20031223.ebuild, +cube-20040522.ebuild: - Version bump #52022 by Markus Rothe + Stefan Schweizer. - - 15 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> - cube-20021020-r2.ebuild, cube-20031223.ebuild: - fix IUSE; add error checking; enable parallel make - -*cube-20031223 (05 Jan 2004) - - 05 Jan 2004; Mike Frysinger <vapier@gentoo.org> : - Ugh, dont know what i was thinking ... the old ebuild was ugly as - hell. This new one should be nicer :) #36807. - -*cube-20021020-r2 (03 Mar 2003) - - 03 Mar 2003; Mike Frysinger <vapier@gentoo.org> : - Added binaries per #12997 to fix public network playing. - -*cube-20021020-r1 (28 Dec 2002) - - 28 Dec 2002; Mike Frysinger <vapier@gentoo.org> : - Added patch per #12997 to fix network hanging bug. - -*cube-20021020 (17 Dec 2002) - - 17 Dec 2002; Mike Frysinger <vapier@gentoo.org> : - Initial import. Ebuild submitted by me for #11975. diff --git a/games-fps/cube/Manifest b/games-fps/cube/Manifest deleted file mode 100644 index 8f280deea8b1..000000000000 --- a/games-fps/cube/Manifest +++ /dev/null @@ -1,55 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX 20040522-compile-fixes.patch 518 RMD160 f389b34700ad3cf198419f6950eb355e9b99f349 SHA1 dc8bd932e5b6e4e5db7d7c338a741524b3beef72 SHA256 942d7c2a0982e9066a02641457e119fca078147ecb24845d67bdb0138f421a9a -MD5 0065c156760f7881f90a23993a89343d files/20040522-compile-fixes.patch 518 -RMD160 f389b34700ad3cf198419f6950eb355e9b99f349 files/20040522-compile-fixes.patch 518 -SHA256 942d7c2a0982e9066a02641457e119fca078147ecb24845d67bdb0138f421a9a files/20040522-compile-fixes.patch 518 -AUX 20040522-gentoo-paths.patch 1423 RMD160 9191d377715864c09618aa0fcf124b7c21129d1a SHA1 8c07324394d1676d30bcc78074c3ed84e31e187e SHA256 ca2982f4757eeeca188e5bfd7f23fa8d85fdc2f3a06ce02cd2df5ac5321bd4b6 -MD5 f57600187e8eaa8d782ffd82c4aca198 files/20040522-gentoo-paths.patch 1423 -RMD160 9191d377715864c09618aa0fcf124b7c21129d1a files/20040522-gentoo-paths.patch 1423 -SHA256 ca2982f4757eeeca188e5bfd7f23fa8d85fdc2f3a06ce02cd2df5ac5321bd4b6 files/20040522-gentoo-paths.patch 1423 -AUX cube-20050829-gentoo-paths.patch 1282 RMD160 a45f6222e75e5b6e4d1fc7e7b5f6c4b7fc277d03 SHA1 7ca3fb830d94a7e6d8fc501a8e22be577a0d1791 SHA256 1ad5a3e6a6ead57560ca7d2b197b70adbc02367c8224bb9c11c309f501994891 -MD5 7ea8bd7da2fe80fdf9628413c1c1ac09 files/cube-20050829-gentoo-paths.patch 1282 -RMD160 a45f6222e75e5b6e4d1fc7e7b5f6c4b7fc277d03 files/cube-20050829-gentoo-paths.patch 1282 -SHA256 1ad5a3e6a6ead57560ca7d2b197b70adbc02367c8224bb9c11c309f501994891 files/cube-20050829-gentoo-paths.patch 1282 -AUX cube_client-bin 64 RMD160 77f6306ac872a0ceaeda539bd6f91c68841f46b2 SHA1 07880f06ff1fc9fb01c8abbefe8de60ee1c65466 SHA256 565f56db9297acd118897cc1fd063490a69f40b3352076ea3c297ae1a22f9f46 -MD5 d27138da021db62a9bf34a7ed5cc4cbb files/cube_client-bin 64 -RMD160 77f6306ac872a0ceaeda539bd6f91c68841f46b2 files/cube_client-bin 64 -SHA256 565f56db9297acd118897cc1fd063490a69f40b3352076ea3c297ae1a22f9f46 files/cube_client-bin 64 -AUX cube_server-bin 64 RMD160 32141467ff579a9e3cc8ccfea7d740cb4ad70ba2 SHA1 da78fe6dd14f4c2b6240e2c736d5ecac82dddbde SHA256 aa3b698444ff88ac0c2dd7fd0f35333f09b1d0adcc29b375e1a57aea0dedac47 -MD5 fa21f6283022cf16fb521d15cd55b52d files/cube_server-bin 64 -RMD160 32141467ff579a9e3cc8ccfea7d740cb4ad70ba2 files/cube_server-bin 64 -SHA256 aa3b698444ff88ac0c2dd7fd0f35333f09b1d0adcc29b375e1a57aea0dedac47 files/cube_server-bin 64 -DIST cube_2004_05_22.tar.gz 22566432 RMD160 4117c551c66c75bf5fa154a113b2fc9a50b424b4 SHA1 029d574149a781e0c39742c12a67fd0f118540e1 SHA256 12a575d0395e341d229aa602022a84a0e6520e42ead69f9d914688462d3c36fb -DIST cube_2005_08_29_src.zip 482335 RMD160 da0617f10e8a3d7da68c723462a0231fd4b448ee SHA1 607aaf0c327d4c8963153fc2222c9304df074e8a SHA256 e92f65b51693b5d4991408f1ce2c0a974e7a0606720c3e0502bb719b4150d1f0 -DIST cube_2005_08_29_unix.tar.gz 30412318 RMD160 bfdecc1cdba604fa342d78ff655be8dd683dddb0 SHA1 95406b1ddcbfce6817c11db3355faa0f0053b66d SHA256 f531fdeaa30e5af430b1c9c8eaeb44c92e349490d6235261368049e3915720c4 -EBUILD cube-20040522.ebuild 2831 RMD160 631a453e552c5f7bace2cda67648cb5d95ae2e3a SHA1 672174141e2e7a30afde864158c0df5d5de5371f SHA256 fa530520bd334523cd99863b19d3733f89533decedf859f8f1f6d135eed1fceb -MD5 c5fc467afe2474400bcac73235d816f6 cube-20040522.ebuild 2831 -RMD160 631a453e552c5f7bace2cda67648cb5d95ae2e3a cube-20040522.ebuild 2831 -SHA256 fa530520bd334523cd99863b19d3733f89533decedf859f8f1f6d135eed1fceb cube-20040522.ebuild 2831 -EBUILD cube-20050829.ebuild 2837 RMD160 d74513ac6103b9e31d61c577104d1e00711b9194 SHA1 724f2997019a46f9270981373a085058d2026efd SHA256 0e0f89b9f3dd3c6b13daf094ffb3eed69191d1c2011dd6edee74b64138a5f715 -MD5 276033cdc3df1043d187e9965ad5757a cube-20050829.ebuild 2837 -RMD160 d74513ac6103b9e31d61c577104d1e00711b9194 cube-20050829.ebuild 2837 -SHA256 0e0f89b9f3dd3c6b13daf094ffb3eed69191d1c2011dd6edee74b64138a5f715 cube-20050829.ebuild 2837 -MISC ChangeLog 2551 RMD160 92bfb459416d18bae3c8890f98a147be7b6c4ce9 SHA1 21c3091fc0625ee9a9700bd6afee8057db57bf80 SHA256 da3f2f04996d3f9d5f5508d12688ebe1f5ba844779c9fec8c3435b5c2e890a2b -MD5 dbda8c4154d708efd963e54f8438ca08 ChangeLog 2551 -RMD160 92bfb459416d18bae3c8890f98a147be7b6c4ce9 ChangeLog 2551 -SHA256 da3f2f04996d3f9d5f5508d12688ebe1f5ba844779c9fec8c3435b5c2e890a2b ChangeLog 2551 -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 8997caf7664ec0aa5611d13a97eab80e files/digest-cube-20040522 253 -RMD160 f37389a04d0f428328ecb890e267666720e939ec files/digest-cube-20040522 253 -SHA256 c104f27c2d2d1f647288e2e0c94a598abb309bc4e82e67b54454567e01b93d66 files/digest-cube-20040522 253 -MD5 46bc07773f7d507c6a258b83d630a60e files/digest-cube-20050829 518 -RMD160 768f15260a93e3f2f48b539cee04e04ddcf17799 files/digest-cube-20050829 518 -SHA256 f0325858d3a39deecec0e2d748083e589fc10966e39c625c7412a9b22174b117 files/digest-cube-20050829 518 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) - -iD8DBQFF9WHQ6J2i8a8J4okRAq0fAJ9WRw4NK73a5OgIxIfr1FtRrKgBoQCePfc6 -gNFcaHueXyjps1gYCHmB2V4= -=XWdI ------END PGP SIGNATURE----- diff --git a/games-fps/cube/cube-20040522.ebuild b/games-fps/cube/cube-20040522.ebuild deleted file mode 100644 index 012a48684b58..000000000000 --- a/games-fps/cube/cube-20040522.ebuild +++ /dev/null @@ -1,99 +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/cube/cube-20040522.ebuild,v 1.11 2007/03/12 14:16:46 genone Exp $ - -inherit eutils flag-o-matic games - -MY_PV="2004_05_22" -MY_P=${PN}_${MY_PV} -DESCRIPTION="Landscape-style engine that pretends to be an indoor first person shooter engine" -HOMEPAGE="http://wouter.fov120.com/cube/" -SRC_URI="mirror://sourceforge/cube/${MY_P}.tar.gz" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="hppa ppc x86 ~amd64" -IUSE="" - -RDEPEND="virtual/opengl - virtual/glu - media-libs/libsdl - media-libs/sdl-mixer - media-libs/sdl-image - sys-libs/zlib - media-libs/libpng" -DEPEND="${RDEPEND} - app-arch/unzip" - -S="${WORKDIR}/cube" -CUBE_DATADIR="${GAMES_DATADIR}/${PN}/" - -src_unpack() { - unpack ${A} - - cd ${S}/source - unzip -qn ${MY_P}_src.zip || die - epatch ${FILESDIR}/${PV}-compile-fixes.patch - - cd src - epatch ${FILESDIR}/${PV}-gentoo-paths.patch - echo "#define GAMES_DATADIR \"${CUBE_DATADIR}\"" >> tools.h - echo "#define GAMES_DATADIR_LEN ${#CUBE_DATADIR}" >> tools.h - sed -i \ - -e "s:packages/:${CUBE_DATADIR}packages/:" \ - renderextras.cpp rendermd2.cpp sound.cpp worldio.cpp \ - || die "fixing data path failed" - # enable parallel make - sed -i \ - -e 's/make -C/$(MAKE) -C/' \ - Makefile \ - || die "sed Makefile failed" - edos2unix *.cpp - chmod a+x ${S}/source/enet/configure -} - -src_compile() { - append-flags -fsigned-char - cd source/enet - econf || die - emake || die "emake failed" - cd ../src - einfo "Compiling in $(pwd)" - emake CXXOPTFLAGS="-DHAS_SOCKLEN_T=1 -fpermissive ${CXXFLAGS}" \ - || die "emake failed" -} - -src_install() { - dogamesbin source/src/cube_{client,server} || die "dogamesbin failed" - exeinto "${GAMES_LIBDIR}/${PN}" - if [[ "${ARCH}" == "x86" ]] ; then - newexe bin_unix/linux_client cube_client || die "newexe failed" - newexe bin_unix/linux_server cube_server || die "newexe failed" - elif [[ "${ARCH}" == "ppc" ]] ; then - newexe bin_unix/ppc_linux_client cube_client || die "newexe failed" - newexe bin_unix/ppc_linux_server cube_server || die "newexe failed" - fi - dogamesbin "${FILESDIR}/cube_"{client,server}-bin \ - || die "dogamesbin failed (bin)" - sed -i \ - -e "s:GENTOO_DATADIR:${CUBE_DATADIR}:" \ - -e "s:GENTOO_LIBDIR:${GAMES_LIBDIR}/${PN}:" \ - "${D}/${GAMES_BINDIR}/cube_"{client,server}-bin \ - || die "sed failed" - - dodir "${CUBE_DATADIR}" - cp -r *.cfg data packages "${D}/${CUBE_DATADIR}" \ - || die "cp failed" - - dodoc source/src/CUBE_TODO.txt - dohtml -r docs/ - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - elog "You now have 2 clients and 2 servers:" - elog "cube_client-bin prebuilt version (needed to play on public multiplayer servers)" - elog "cube_client custom client built from source" - elog "Parallel versions of the server have been installed" -} diff --git a/games-fps/cube/cube-20050829.ebuild b/games-fps/cube/cube-20050829.ebuild deleted file mode 100644 index a329c754d77b..000000000000 --- a/games-fps/cube/cube-20050829.ebuild +++ /dev/null @@ -1,102 +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/cube/cube-20050829.ebuild,v 1.6 2007/03/12 14:16:46 genone Exp $ - -inherit eutils flag-o-matic games - -MY_PV=${PV:0:4}_${PV:4:2}_${PV:6:2} -MY_P=${PN}_${MY_PV} -DESCRIPTION="Landscape-style engine that pretends to be an indoor first person shooter engine" -HOMEPAGE="http://www.cubeengine.com/" -SRC_URI="mirror://sourceforge/cube/${MY_P}_unix.tar.gz - mirror://sourceforge/cube/${MY_P}_src.zip" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~amd64 ~hppa ppc x86" -IUSE="dedicated" - -RDEPEND="virtual/opengl - virtual/glu - media-libs/libsdl - media-libs/sdl-mixer - media-libs/sdl-image - sys-libs/zlib - media-libs/libpng" -DEPEND="${RDEPEND} - app-arch/unzip" - -S=${WORKDIR}/cube_source -S_BIN=${WORKDIR}/cube -CUBE_DATADIR=${GAMES_DATADIR}/${PN}/ - -src_unpack() { - unpack ${A} - - cd "${S}"/src - epatch "${FILESDIR}"/${P}-gentoo-paths.patch - echo "#define GAMES_DATADIR \"${CUBE_DATADIR}\"" >> tools.h - echo "#define GAMES_DATADIR_LEN ${#CUBE_DATADIR}" >> tools.h - sed -i \ - -e "s:packages/:${CUBE_DATADIR}packages/:" \ - renderextras.cpp rendermd2.cpp sound.cpp worldio.cpp \ - || die "fixing data path failed" - # enable parallel make - sed -i \ - -e 's/make -C/$(MAKE) -C/' \ - Makefile \ - || die "sed Makefile failed" - edos2unix *.cpp - chmod a+x "${S}"/enet/configure -} - -src_compile() { - append-flags -fsigned-char - cd enet - egamesconf || die "egamesconf failed" - emake || die "emake failed" - cd ../src - einfo "Compiling in $(pwd)" - emake CXXOPTFLAGS="-DHAS_SOCKLEN_T=1 -fpermissive ${CXXFLAGS}" \ - || die "emake failed" -} - -src_install() { - dogamesbin src/cube_client || die "dogamesbin client failed" - if use dedicated ; then - dogamesbin src/cube_server "${S_BIN}"/bin_unix/linux_server \ - || die "dogamesbin server failed" - fi - dodoc src/CUBE_TODO.txt - - cd "${S_BIN}" - insinto "${CUBE_DATADIR}" - doins -r *.cfg data packages || die "doins failed" - dohtml -r docs readme.html - - if [[ ${ARCH} == "x86" ]] ; then - exeinto "${GAMES_LIBDIR}"/${PN} - newexe bin_unix/linux_client cube_client || die "newexe server failed" - games_make_wrapper cube_client-bin \ - "${GAMES_LIBDIR}"/${PN}/cube_client "${GAMES_DATADIR}"/${PN} \ - || die "games_make_wrapper client failed" - make_desktop_entry cube_client-bin "Cube Client" - else - make_desktop_entry cube_client "Cube Client" - fi - - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - if [[ ${ARCH} == "x86" ]] ; then - elog "You now have 2 clients and 2 servers:" - elog "cube_client-bin prebuilt version (needed to play on public multiplayer servers)" - else - elog "You only have 1 client and 1 server:" - fi - elog "cube_client custom client built from source" - use dedicated && \ - elog "Parallel versions of the server have been installed" -} diff --git a/games-fps/cube/files/20040522-compile-fixes.patch b/games-fps/cube/files/20040522-compile-fixes.patch deleted file mode 100644 index c92d281cfc22..000000000000 --- a/games-fps/cube/files/20040522-compile-fixes.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- src/clientgame.cpp.orig 2004-07-29 22:42:36.297967768 +0200 -+++ src/clientgame.cpp 2004-07-29 22:42:50.019881720 +0200 -@@ -200,8 +200,8 @@ -
- int sleepwait = 0;
- string sleepcmd;
--void sleep(char *msec, char *cmd) { sleepwait = atoi(msec)+lastmillis; strcpy_s(sleepcmd, cmd); };
--COMMAND(sleep, ARG_2STR);
-+void mysleep(char *msec, char *cmd) { sleepwait = atoi(msec)+lastmillis; strcpy_s(sleepcmd, cmd); };
-+COMMAND(mysleep, ARG_2STR);
-
- void updateworld(int millis) // main game update loop
- {
diff --git a/games-fps/cube/files/20040522-gentoo-paths.patch b/games-fps/cube/files/20040522-gentoo-paths.patch deleted file mode 100644 index 594a0714e5fb..000000000000 --- a/games-fps/cube/files/20040522-gentoo-paths.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- tools.cpp.orig 2002-12-17 09:35:55.000000000 -0500 -+++ tools.cpp 2002-12-17 09:39:28.000000000 -0500 -@@ -100,8 +100,19 @@ -
- ///////////////////////// misc tools ///////////////////////
-
-+char *addfullpath(char *s) {
-+ static char ret[256]; // choose a reasonable max buffer size
-+ if (s[0] == '/') { return s; }
-+ int slen = strlen(s);
-+ memset(ret, 0x00, 256);
-+ memcpy(ret, GAMES_DATADIR, GAMES_DATADIR_LEN);
-+ memcpy(ret+GAMES_DATADIR_LEN, s, slen);
-+ return ret;
-+}
-+
- char *path(char *s)
- {
-+ s = addfullpath(s);
- for(char *t = s; t = strpbrk(t, "/\\"); *t++ = PATHDIV);
- return s;
- };
---- rendergl.cpp.orig 2002-12-17 09:48:00.000000000 -0500 -+++ rendergl.cpp 2002-12-17 09:50:19.000000000 -0500 -@@ -59,6 +59,7 @@ -
- bool installtex(int tnum, char *texname, int &xs, int &ys, bool clamp)
- {
-+ texname = addfullpath(texname);
- SDL_Surface *s = IMG_Load(texname);
- if(!s) { conoutf("couldn't load texture %s", (int)texname); return false; };
- if(s->format->BitsPerPixel!=24) { conoutf("texture must be 24bpp: %s", (int)texname); return false; };
---- tools.h.orig 2002-12-17 09:51:06.000000000 -0500 -+++ tools.h 2002-12-17 09:50:59.000000000 -0500 -@@ -96,7 +96,7 @@ - #endif
-
-
--
-+extern char *addfullpath(char *s);
- extern char *path(char *s);
- extern char *loadfile(char *fn, int *size);
- extern void endianswap(void *, int, int);
diff --git a/games-fps/cube/files/cube-20050829-gentoo-paths.patch b/games-fps/cube/files/cube-20050829-gentoo-paths.patch deleted file mode 100644 index 137bcb7b5470..000000000000 --- a/games-fps/cube/files/cube-20050829-gentoo-paths.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- tools.cpp -+++ tools.cpp -@@ -100,8 +100,19 @@ -
- ///////////////////////// misc tools ///////////////////////
-
-+char *addfullpath(char *s) {
-+ static char ret[256]; // choose a reasonable max buffer size
-+ if (s[0] == '/') { return s; }
-+ int slen = strlen(s);
-+ memset(ret, 0x00, 256);
-+ memcpy(ret, GAMES_DATADIR, GAMES_DATADIR_LEN);
-+ memcpy(ret+GAMES_DATADIR_LEN, s, slen);
-+ return ret;
-+ }
-+
- char *path(char *s)
- {
-+ s = addfullpath(s);
- for(char *t = s; t = strpbrk(t, "/\\"); *t++ = PATHDIV);
- return s;
- };
---- rendergl.cpp.origin 2005-08-30 17:07:30.000000000 +0200 -+++ rendergl.cpp 2005-08-30 17:12:52.000000000 +0200 -@@ -69,6 +69,7 @@ -
- bool installtex(int tnum, char *texname, int &xs, int &ys, bool clamp)
- {
-+ texname = addfullpath(texname);
- SDL_Surface *s = IMG_Load(texname);
- if(!s) { conoutf("couldn't load texture %s", texname); return false; };
- if(s->format->BitsPerPixel!=24) { conoutf("texture must be 24bpp: %s", texname); return false; };
---- tools.h -+++ tools.h -@@ -110,6 +110,7 @@ -
-
-
-+extern char *addfullpath(char *s); - extern char *path(char *s);
- extern char *loadfile(char *fn, int *size);
- extern void endianswap(void *, int, int);
diff --git a/games-fps/cube/files/cube_client-bin b/games-fps/cube/files/cube_client-bin deleted file mode 100644 index 74dd0c72cbfb..000000000000 --- a/games-fps/cube/files/cube_client-bin +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -cd GENTOO_DATADIR -exec GENTOO_LIBDIR/cube_client "$@" diff --git a/games-fps/cube/files/cube_server-bin b/games-fps/cube/files/cube_server-bin deleted file mode 100644 index 8ddd9ce43204..000000000000 --- a/games-fps/cube/files/cube_server-bin +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -cd GENTOO_DATADIR -exec GENTOO_LIBDIR/cube_server "$@" diff --git a/games-fps/cube/files/digest-cube-20040522 b/games-fps/cube/files/digest-cube-20040522 deleted file mode 100644 index 55cbb08f5c7d..000000000000 --- a/games-fps/cube/files/digest-cube-20040522 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a0ae899d9af6ab65970d81bf3ccd94ee cube_2004_05_22.tar.gz 22566432 -RMD160 4117c551c66c75bf5fa154a113b2fc9a50b424b4 cube_2004_05_22.tar.gz 22566432 -SHA256 12a575d0395e341d229aa602022a84a0e6520e42ead69f9d914688462d3c36fb cube_2004_05_22.tar.gz 22566432 diff --git a/games-fps/cube/files/digest-cube-20050829 b/games-fps/cube/files/digest-cube-20050829 deleted file mode 100644 index 2775a8d3fcde..000000000000 --- a/games-fps/cube/files/digest-cube-20050829 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 e376c49ac209b095cb6d29490834d060 cube_2005_08_29_src.zip 482335 -RMD160 da0617f10e8a3d7da68c723462a0231fd4b448ee cube_2005_08_29_src.zip 482335 -SHA256 e92f65b51693b5d4991408f1ce2c0a974e7a0606720c3e0502bb719b4150d1f0 cube_2005_08_29_src.zip 482335 -MD5 e77f3cf85292bf61100d2f8511a254cc cube_2005_08_29_unix.tar.gz 30412318 -RMD160 bfdecc1cdba604fa342d78ff655be8dd683dddb0 cube_2005_08_29_unix.tar.gz 30412318 -SHA256 f531fdeaa30e5af430b1c9c8eaeb44c92e349490d6235261368049e3915720c4 cube_2005_08_29_unix.tar.gz 30412318 diff --git a/games-fps/cube/metadata.xml b/games-fps/cube/metadata.xml deleted file mode 100644 index d3c2cc926f0b..000000000000 --- a/games-fps/cube/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>games</herd> -</pkgmetadata> |