diff options
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/raptor2/ChangeLog | 57 | ||||
-rw-r--r-- | games-action/raptor2/Manifest | 32 | ||||
-rw-r--r-- | games-action/raptor2/files/1.0.0-chdir.patch | 10 | ||||
-rw-r--r-- | games-action/raptor2/files/digest-raptor2-1.0.0-r1 | 3 | ||||
-rw-r--r-- | games-action/raptor2/files/digest-raptor2-1.2.0 | 3 | ||||
-rw-r--r-- | games-action/raptor2/files/raptor2-1.2.0-gentoo-paths.patch | 87 | ||||
-rw-r--r-- | games-action/raptor2/metadata.xml | 5 | ||||
-rw-r--r-- | games-action/raptor2/raptor2-1.0.0-r1.ebuild | 36 | ||||
-rw-r--r-- | games-action/raptor2/raptor2-1.2.0.ebuild | 41 |
9 files changed, 0 insertions, 274 deletions
diff --git a/games-action/raptor2/ChangeLog b/games-action/raptor2/ChangeLog deleted file mode 100644 index 06e51c0e7aae..000000000000 --- a/games-action/raptor2/ChangeLog +++ /dev/null @@ -1,57 +0,0 @@ -# ChangeLog for games-action/raptor2 -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/raptor2/ChangeLog,v 1.15 2006/12/05 18:11:16 wolf31o2 Exp $ - - 05 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> - raptor2-1.0.0-r1.ebuild: - Removed sed-4 from *DEPEND. - - 27 Nov 2006; <blubb@gentoo.org> raptor2-1.0.0-r1.ebuild: - stable on amd64 - - 09 Feb 2006; Aron Griffis <agriffis@gentoo.org> raptor2-1.0.0-r1.ebuild: - Mark 1.0.0-r1 stable on alpha - -*raptor2-1.2.0 (18 Oct 2005) - - 18 Oct 2005; Mike Frysinger <vapier@gentoo.org> - +files/raptor2-1.2.0-gentoo-paths.patch, +raptor2-1.2.0.ebuild: - Version bump #58858 Patrick Dawson and egore. - - 25 Aug 2005; Aron Griffis <agriffis@gentoo.org> raptor2-1.0.0-r1.ebuild: - stable on ia64 - - 11 Aug 2005; Carlos Silva <r3pek@gentoo.org> raptor2-1.0.0-r1.ebuild: - marked ~amd64. closes bug #102054 - - 08 Nov 2004; Joseph Jezak <josejx@gentoo.org> raptor2-1.0.0-r1.ebuild: - Marked ppc stable. - - 30 Apr 2004; David Holm <dholm@gentoo.org> raptor2-1.0.0-r1.ebuild: - Added to ~ppc. - - 27 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> - raptor2-1.0.0-r1.ebuild: - IUSE fix; use sed -i; error check - - 27 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> raptor2-1.0.0.ebuild: - clean extra ebuild - - 19 Mar 2004; Aron Griffis <agriffis@gentoo.org> raptor2-1.0.0-r1.ebuild, - raptor2-1.0.0.ebuild: - add ~alpha and ~ia64 - -*raptor2-1.0.0-r1 (20 Jul 2003) - - 20 Jul 2003; jje <jje@gentoo.org> raptor2-1.0.0-r1.ebuild, - raptor2-1.0.0.ebuild: - New revision to use split dumb / allegro builds. - Submitted by: Ben Davis <entheh@users.sf.net> - - 04 Jul 2003; Michael Sterrett <msterret@gentoo.org> raptor2-1.0.0.ebuild: - use sed -i - -*raptor2-1.0.0 (09 Mar 2003) - - 09 Mar 2003; Mike Frysinger <vapier@gentoo.org> : - Initial import. Ebuild submitted by Daniel Mannarino <thesnark@operamail.com> #16985. diff --git a/games-action/raptor2/Manifest b/games-action/raptor2/Manifest deleted file mode 100644 index 65bae3ba4995..000000000000 --- a/games-action/raptor2/Manifest +++ /dev/null @@ -1,32 +0,0 @@ -AUX 1.0.0-chdir.patch 291 RMD160 90bed404f14803190a598aac22ca8c75a557b45b SHA1 1d3ec2b791ca93830b033c402428aa36fc40ef01 SHA256 f5ba3bab11cb14ae14881176029371b5b27beb8686073857b49bef679c75a75a -MD5 563987e822f08af130b65e3862776d6c files/1.0.0-chdir.patch 291 -RMD160 90bed404f14803190a598aac22ca8c75a557b45b files/1.0.0-chdir.patch 291 -SHA256 f5ba3bab11cb14ae14881176029371b5b27beb8686073857b49bef679c75a75a files/1.0.0-chdir.patch 291 -AUX raptor2-1.2.0-gentoo-paths.patch 2499 RMD160 fcb6b640cee7cf1e8934ce6d4f19fcec878dddd7 SHA1 910326841c356d1e224a073fca5e99016cfb6769 SHA256 7c3d44052839000e7dc93ccb5abfc9d94393971b892c88940fb05288f2c092ef -MD5 cc6d76fa2f34830fdefb5426152ec2c6 files/raptor2-1.2.0-gentoo-paths.patch 2499 -RMD160 fcb6b640cee7cf1e8934ce6d4f19fcec878dddd7 files/raptor2-1.2.0-gentoo-paths.patch 2499 -SHA256 7c3d44052839000e7dc93ccb5abfc9d94393971b892c88940fb05288f2c092ef files/raptor2-1.2.0-gentoo-paths.patch 2499 -DIST raptor-1.0.0.tar.gz 5190559 RMD160 b88f8454830119718f653910ecc8a9e3214da9bb SHA1 a94177abdb214442d320566997dd123ac4b08fec SHA256 6b223eafe669e6c617d3741f4fd30940c4c3489c69ca04533ee0c89949a8d583 -DIST raptor-1.2.0.tar.gz 6171815 RMD160 0faf1a5994c9879fd9843bc1b94aba35a69204d1 SHA1 4a96005dced39b79ae6830aefaeda114fc802115 SHA256 b8a465ea6c60fcdab60ed9499b2f6432916f4e42a2af54ef0dd150ab4959cfb1 -EBUILD raptor2-1.0.0-r1.ebuild 955 RMD160 5028afefd375a428b62ca3cee2e0d92c5bad030d SHA1 74354266f90270dbb461d09312be0275fd3ee440 SHA256 ad0d2176a5f87dcf7e13eea57aab36146f74f2f23a63cc847c135920308ef2f0 -MD5 6796d6018a321ec7bab418e71494c89e raptor2-1.0.0-r1.ebuild 955 -RMD160 5028afefd375a428b62ca3cee2e0d92c5bad030d raptor2-1.0.0-r1.ebuild 955 -SHA256 ad0d2176a5f87dcf7e13eea57aab36146f74f2f23a63cc847c135920308ef2f0 raptor2-1.0.0-r1.ebuild 955 -EBUILD raptor2-1.2.0.ebuild 1025 RMD160 87329e1969018d565d48987483b044be74d8a38d SHA1 fd39f111d76d0bdf3db7a7d33d95b97a2f12a7b0 SHA256 ad9d8957605c771335fe1c4eb5c9c0cc2bc56056225476b1d761212e781ec7bf -MD5 96fc455c579abab8af896e0edf0eab91 raptor2-1.2.0.ebuild 1025 -RMD160 87329e1969018d565d48987483b044be74d8a38d raptor2-1.2.0.ebuild 1025 -SHA256 ad9d8957605c771335fe1c4eb5c9c0cc2bc56056225476b1d761212e781ec7bf raptor2-1.2.0.ebuild 1025 -MISC ChangeLog 1914 RMD160 630b34fe898b640cbb398d697e985b54c263972d SHA1 3ec388fc9441b292e8e195ecf881bb6627822a44 SHA256 c496289bb87336dfceb7118d71a31061d492bba31a36413401e0e74d9deb0802 -MD5 99d45127a2fe52bf0056a2561ba75ea3 ChangeLog 1914 -RMD160 630b34fe898b640cbb398d697e985b54c263972d ChangeLog 1914 -SHA256 c496289bb87336dfceb7118d71a31061d492bba31a36413401e0e74d9deb0802 ChangeLog 1914 -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 2a7e053c367215d297a7e4e9e1a84bb6 files/digest-raptor2-1.0.0-r1 241 -RMD160 3fffbe6c48d5952206a65930be734dc8c38654e4 files/digest-raptor2-1.0.0-r1 241 -SHA256 7c0db6e5aee533b07681c69d9e0764b5ef2f4a0adce9181377340d8bd7bad235 files/digest-raptor2-1.0.0-r1 241 -MD5 4bb9205774591ac87dfc1937bd23d1af files/digest-raptor2-1.2.0 241 -RMD160 c58c3396d977e0c0397aa4544f99bf7f6b8edd24 files/digest-raptor2-1.2.0 241 -SHA256 49cc5c5f17bcf42e078192e8f4308b2d78df32dd51ea14523c08c07c54c4b70c files/digest-raptor2-1.2.0 241 diff --git a/games-action/raptor2/files/1.0.0-chdir.patch b/games-action/raptor2/files/1.0.0-chdir.patch deleted file mode 100644 index 4b0db360ff5f..000000000000 --- a/games-action/raptor2/files/1.0.0-chdir.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- /root/raptor.cpp Wed Mar 5 22:19:53 2003 -+++ src/raptor.cpp Wed Mar 5 22:20:53 2003 -@@ -478,6 +478,7 @@ - bool dl = true; - int gs = 40; - -+ chdir ("GENTOO_DATADIR"); - printf("raptor -h for help screen\n"); - for ( int q = 1; q < argc; q++ ) { - if ( strcmp( argv[q], "-h" ) == 0 || diff --git a/games-action/raptor2/files/digest-raptor2-1.0.0-r1 b/games-action/raptor2/files/digest-raptor2-1.0.0-r1 deleted file mode 100644 index c2539a147ce6..000000000000 --- a/games-action/raptor2/files/digest-raptor2-1.0.0-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f30a75ca2f3b6caddee3eb036d0a3a99 raptor-1.0.0.tar.gz 5190559 -RMD160 b88f8454830119718f653910ecc8a9e3214da9bb raptor-1.0.0.tar.gz 5190559 -SHA256 6b223eafe669e6c617d3741f4fd30940c4c3489c69ca04533ee0c89949a8d583 raptor-1.0.0.tar.gz 5190559 diff --git a/games-action/raptor2/files/digest-raptor2-1.2.0 b/games-action/raptor2/files/digest-raptor2-1.2.0 deleted file mode 100644 index be5917470852..000000000000 --- a/games-action/raptor2/files/digest-raptor2-1.2.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d6b5cddfd5fc21c5199d7d3e3089b245 raptor-1.2.0.tar.gz 6171815 -RMD160 0faf1a5994c9879fd9843bc1b94aba35a69204d1 raptor-1.2.0.tar.gz 6171815 -SHA256 b8a465ea6c60fcdab60ed9499b2f6432916f4e42a2af54ef0dd150ab4959cfb1 raptor-1.2.0.tar.gz 6171815 diff --git a/games-action/raptor2/files/raptor2-1.2.0-gentoo-paths.patch b/games-action/raptor2/files/raptor2-1.2.0-gentoo-paths.patch deleted file mode 100644 index 453c9281c62d..000000000000 --- a/games-action/raptor2/files/raptor2-1.2.0-gentoo-paths.patch +++ /dev/null @@ -1,87 +0,0 @@ ---- src/defs.cpp -+++ src/defs.cpp -@@ -183,7 +183,7 @@ - //char * file_place = new char[ 6 ]; - char file_place[ 30 ]; - //file_place = strdup( "data" ); -- sprintf( file_place, "data" ); -+ sprintf( file_place, "GENTOO_DATADIR" ); - put_backslash( file_place ); - char * final = append( file_place, file_name ); - //delete[] file_place; ---- src/loadsave.h -+++ src/loadsave.h -@@ -4,5 +4,6 @@ - class SpaceObject; - int savePlayer( SpaceObject * player, int game_slot ); - SpaceObject * loadPlayer( int game_slot ); -+const char *getSaveName(int game_slot); - - #endif ---- src/loadsave.cpp -+++ src/loadsave.cpp -@@ -48,6 +48,20 @@ - #define debug printf("File: %s Line: %d\n", __FILE__, __LINE__ ); - #endif - -+const char *getSaveName(int i) -+{ -+ static char savename[1024]; -+ const char *homedir = getenv("HOME"); -+ if (homedir == NULL) { -+ fprintf(stderr, "HOME is not set, unable to save games"); -+ exit(1); -+ } -+ snprintf(savename, sizeof(savename), "%s/." PACKAGE, homedir); -+ mkdir(savename, 0755); -+ snprintf(savename, sizeof(savename), "%s/." PACKAGE "/player%d.rap", homedir, i); -+ return savename; -+} -+ - /* savePlayer: - * Saves the player in at player#.rap where # = game_slot - */ -@@ -56,8 +68,7 @@ - if ( player == NULL ) return 1; - printf("Save player\n"); - -- char filename[ 64 ]; -- snprintf( filename, 64, "player%d.rap", game_slot ); -+ const char *filename = getSaveName(game_slot); - - // PlayerHull * hull = dynamic_cast<PlayerHull *>(player->getHull()); - PlayerHull * hull = dynamic_cast<PlayerHull *>(player->getHull() ); -@@ -227,8 +238,7 @@ - - FILE * fv; - -- char filename[ 64 ]; -- snprintf( filename, 64, "player%d.rap", game_slot ); -+ const char *filename = getSaveName(game_slot); - fv = fopen( filename, "rb" ); - if ( fv == NULL ){ - printf("Could not open %s\n", filename ); ---- src/menu.cpp -+++ src/menu.cpp -@@ -575,8 +575,7 @@ - char * menuClass::getFileInfo( int number ){ - - char * temp = (char *)malloc( sizeof(char) * 1024 ); -- char buf[ 64 ]; -- sprintf( buf, "player%d.rap", number+1 ); -+ const char *buf = getSaveName(number+1); - FILE * fv = fopen( buf, "rb" ); - if ( !fv ){ - sprintf( temp, "Slot %d Empty", number+1 ); ---- src/raptor.cpp -+++ src/raptor.cpp -@@ -216,8 +216,7 @@ - - menu->clear(); - for ( int q = 0; q < 6; q++ ){ -- char filename[ 64 ]; -- snprintf( filename, 64, "player%d.rap", q+1 ); -+ const char *filename = getSaveName(q+1);; - if ( exists( filename ) ){ - time_t tl = file_time( filename ); - struct tm * real_time = localtime( &tl ); diff --git a/games-action/raptor2/metadata.xml b/games-action/raptor2/metadata.xml deleted file mode 100644 index d3c2cc926f0b..000000000000 --- a/games-action/raptor2/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> diff --git a/games-action/raptor2/raptor2-1.0.0-r1.ebuild b/games-action/raptor2/raptor2-1.0.0-r1.ebuild deleted file mode 100644 index 5e7f5abf0208..000000000000 --- a/games-action/raptor2/raptor2-1.0.0-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/raptor2/raptor2-1.0.0-r1.ebuild,v 1.13 2006/12/05 18:11:16 wolf31o2 Exp $ - -inherit eutils games - -MY_P="raptor-${PV}" -DESCRIPTION="space shoot-em-up game" -HOMEPAGE="http://raptorv2.sourceforge.net/" -SRC_URI="mirror://sourceforge/raptorv2/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ia64 ppc x86" -IUSE="" - -RDEPEND=">=media-libs/allegro-4.0.0 - >=media-libs/aldumb-0.9.2" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} && cd ${S} - epatch ${FILESDIR}/${PV}-chdir.patch - sed -i \ - -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}/:" src/raptor.cpp \ - || die "sed src/raptor.cpp failed" -} - -src_install() { - dogamesbin src/raptor || die "dogamesbin failed" - insinto "${GAMES_DATADIR}/${PN}/data" - doins data/* || die "doins failed" - dodoc AUTHORS ChangeLog README NEWS - prepgamesdirs -} diff --git a/games-action/raptor2/raptor2-1.2.0.ebuild b/games-action/raptor2/raptor2-1.2.0.ebuild deleted file mode 100644 index 33b9e5369f60..000000000000 --- a/games-action/raptor2/raptor2-1.2.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/raptor2/raptor2-1.2.0.ebuild,v 1.1 2005/10/18 03:03:00 vapier Exp $ - -inherit eutils games - -MY_P="raptor-${PV}" -DESCRIPTION="space shoot-em-up game" -HOMEPAGE="http://raptorv2.sourceforge.net/" -SRC_URI="mirror://sourceforge/raptorv2/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86" -IUSE="" - -DEPEND=">=media-libs/allegro-4.0.0 - >=media-libs/aldumb-0.9.2" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - sed -i \ - -e '/AM_CXXFLAGS/s:-O3 -s::' \ - src/Makefile.in || die - epatch "${FILESDIR}"/${P}-gentoo-paths.patch - sed -i \ - -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}/:" \ - src/defs.cpp \ - || die "sed src/raptor.cpp failed" -} - -src_install() { - dogamesbin src/raptor || die "dogamesbin failed" - insinto "${GAMES_DATADIR}/${PN}" - doins data/* || die "doins failed" - dodoc AUTHORS ChangeLog NEWS README - prepgamesdirs -} |