diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-11-14 04:08:12 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-11-14 04:08:12 +0000 |
commit | ade69d4db239e32feca2848a1d80eae33c8ca1ef (patch) | |
tree | 1eae9df289d97d9867c45f114954d3c746127f29 /games-roguelike | |
parent | Version bump, EAPI-4 (bug 203808) (diff) | |
download | historical-ade69d4db239e32feca2848a1d80eae33c8ca1ef.tar.gz historical-ade69d4db239e32feca2848a1d80eae33c8ca1ef.tar.bz2 historical-ade69d4db239e32feca2848a1d80eae33c8ca1ef.zip |
games-roguelike/fargoal is gone
Diffstat (limited to 'games-roguelike')
-rw-r--r-- | games-roguelike/fargoal/ChangeLog | 42 | ||||
-rw-r--r-- | games-roguelike/fargoal/Manifest | 16 | ||||
-rw-r--r-- | games-roguelike/fargoal/fargoal-20040629.ebuild | 50 | ||||
-rw-r--r-- | games-roguelike/fargoal/files/fargoal-20040629-underlink.patch | 10 | ||||
-rw-r--r-- | games-roguelike/fargoal/files/gentoo-home-write.patch | 206 | ||||
-rw-r--r-- | games-roguelike/fargoal/metadata.xml | 5 |
6 files changed, 0 insertions, 329 deletions
diff --git a/games-roguelike/fargoal/ChangeLog b/games-roguelike/fargoal/ChangeLog deleted file mode 100644 index 3fa06bdfc87d..000000000000 --- a/games-roguelike/fargoal/ChangeLog +++ /dev/null @@ -1,42 +0,0 @@ -# ChangeLog for games-roguelike/fargoal -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/ChangeLog,v 1.10 2011/10/14 06:16:42 vapier Exp $ - - 14 Oct 2011; Mike Frysinger <vapier@gentoo.org> fargoal-20040629.ebuild: - Use a SLOT dep instead of "<" for allegro. - - 21 Jun 2011; Tupone Alfredo <tupone@gentoo.org> fargoal-20040629.ebuild, - +files/fargoal-20040629-underlink.patch: - EAPI=2 - Fix underlink. Bug #372127 by Diego Elio Pettenò - - 26 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> fargoal-20040629.ebuild: - Pin media-libs/allegro to old version. - - 29 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> - fargoal-20040629.ebuild: - Fixed binaries being pre-stripped. Thanks to Tristan Heaven - <tristanheaven@gmail.com> for the patch. Closing bug #137753. - - 27 Jun 2005; Simon Stelling <blubb@gentoo.org> fargoal-20040629.ebuild: - added ~amd64 keyword - -*fargoal-20040629 (06 Mar 2005) - - 06 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org> - -fargoal-20030731b.ebuild, +fargoal-20040629.ebuild: - version bump; clean old version - - 17 Dec 2004; Joseph Jezak <josejx@gentoo.org> fargoal-20030731b.ebuild: - Marked ppc stable. - - 15 Mar 2004; David Holm <dholm@gentoo.org> fargoal-20030731b.ebuild: - Added to ~ppc. - -*fargoal-20030731b (24 Jan 2004) - - 24 Jan 2004; Michael Sterrett <mr_bones_@gentoo.org> - fargoal-20030731b.ebuild, metadata.xml, files/gentoo-home-write.patch: - initial commit; ebuild based on the one provided by Minati jean michel via bug - 38905 - diff --git a/games-roguelike/fargoal/Manifest b/games-roguelike/fargoal/Manifest deleted file mode 100644 index d13c1edd847f..000000000000 --- a/games-roguelike/fargoal/Manifest +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX fargoal-20040629-underlink.patch 294 RMD160 763645e84a7c0b09c2366dad3bf4ea349b8b3164 SHA1 721b4f4e7e7cf49ae6180d92ddd998996d5d59bd SHA256 6b4291da32a0cd0b64d383c8f48e49a256bca7de5b17c018f1d5775975db605b -AUX gentoo-home-write.patch 5709 RMD160 b9148434aede84e67789f7fa1e11216d2e843bff SHA1 e7dc37a3658b3e3b30a1cfa404252b94343e4917 SHA256 5a7c800936bc74942f259f19c4d385192d23b3ce0b9291ea24ea7ff98b61c198 -DIST fargoal20040629.zip 792975 RMD160 e6c4fe30d477085a6134fa0c55d8312db8ed23e5 SHA1 464280129e757516496fb74c5f5a62fc5c02ef21 SHA256 956398936873b74c3758f59f841d70df7834d2537f2bc9f0a91f9ba395e60899 -EBUILD fargoal-20040629.ebuild 1383 RMD160 bf07a83fc13808ea27997b5993b4ba7582eb45b7 SHA1 9cbaee1dd867c5fa9413d9d69c9943858cf6498e SHA256 7d2ba4b0fe6e3202a746f02fec52868471a0444203fc9e0f88ae3313484fde4c -MISC ChangeLog 1563 RMD160 e76887cbc8bb7454fc5810f38c1dbb8c02866b1e SHA1 0f5ae8bf4b405ce95a06e8ddc89e447327e616ea SHA256 71fe8d045f52c933b1f871c79da15c98db1a42d5a3612a9354c906da5012562d -MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) - -iF4EAREIAAYFAk6X09IACgkQaC/OocHi7JZuPQD7BMwwJU4MeepEpFDNYYUnGEd3 -w+OmYeqizEvHuDSNlIsA/3E6Qiw1HBsZk5+mnXkZK7jv0YGZfn15213HgigAqE4h -=XoVM ------END PGP SIGNATURE----- diff --git a/games-roguelike/fargoal/fargoal-20040629.ebuild b/games-roguelike/fargoal/fargoal-20040629.ebuild deleted file mode 100644 index 1e158c9fd9d0..000000000000 --- a/games-roguelike/fargoal/fargoal-20040629.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/fargoal-20040629.ebuild,v 1.6 2011/10/14 06:16:42 vapier Exp $ - -EAPI="2" - -inherit eutils games - -DESCRIPTION="The Sword of Fargoal - a remake of C64's old dungeon crawler game" -HOMEPAGE="http://squidfighter.sourceforge.net/fargoal/" -SRC_URI="mirror://sourceforge/squidfighter/${P/-}.zip" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ppc x86" -IUSE="" - -RDEPEND="media-libs/allegro:0" -DEPEND="${RDEPEND} - app-arch/unzip" - -S="${WORKDIR}"/${PN}/src - -src_prepare() { - epatch "${FILESDIR}/gentoo-home-write.patch" - sed -i \ - -e "s/-O3/${CFLAGS}/" \ - -e '/^LDFLAGS/d' Makefile \ - || die "sed failed" - sed -i \ - -e "s:sfx/:${GAMES_DATADIR}/${PN}/sfx/:g" \ - -e "s:gfx/:${GAMES_DATADIR}/${PN}/gfx/:g" \ - -e "s:data/:${GAMES_DATADIR}/${PN}/data/:g" {*,../data/sof.cfg} \ - || die "sed failed" - sed -i \ - -e "s:agreement.txt:${GAMES_DATADIR}/${PN}/&:" main.c \ - || die "sed failed" - epatch "${FILESDIR}"/${P}-underlink.patch -} - -src_install() { - cd .. - # install as fargoal instead of sword since that may conflict with - # other packages. - newgamesbin sword fargoal || die "newgamesbin failed" - insinto "${GAMES_DATADIR}"/${PN} - doins -r agreement.txt {data,gfx,sfx} || die "doins failed" - dohtml readme.html - prepgamesdirs -} diff --git a/games-roguelike/fargoal/files/fargoal-20040629-underlink.patch b/games-roguelike/fargoal/files/fargoal-20040629-underlink.patch deleted file mode 100644 index ffc38f584b6e..000000000000 --- a/games-roguelike/fargoal/files/fargoal-20040629-underlink.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- Makefile.old 2011-06-21 16:29:54.921651946 +0200 -+++ Makefile 2011-06-21 16:30:21.145295079 +0200 -@@ -8,6 +8,6 @@ - LDLIBS := -lalleg - CFLAGS += -DMINGW - else --LDLIBS := `allegro-config --libs` -+LDLIBS := `allegro-config --libs` -lm - CFLAGS += `allegro-config --cflags` -DLINUX - endif diff --git a/games-roguelike/fargoal/files/gentoo-home-write.patch b/games-roguelike/fargoal/files/gentoo-home-write.patch deleted file mode 100644 index a87455e2e73e..000000000000 --- a/games-roguelike/fargoal/files/gentoo-home-write.patch +++ /dev/null @@ -1,206 +0,0 @@ -diff -ru fargoal.orig/src/config.c fargoal/src/config.c ---- fargoal.orig/src/config.c 2003-07-31 10:06:51.000000000 -0700 -+++ fargoal/src/config.c 2004-01-23 23:42:56.000000000 -0800 -@@ -6,7 +6,7 @@ - void - save_settings (void) - { -- set_config_file ("data/settings.cfg"); -+ set_config_file ("./settings.cfg"); - set_config_int ("SOF", "colordepth", colordepth); - set_config_int ("SOF", "fullscreen", fullscreen); - set_config_int ("SOF", "scheme", scheme); -@@ -27,7 +27,7 @@ - void - load_settings (void) - { -- set_config_file ("data/settings.cfg"); -+ set_config_file ("./settings.cfg"); - colordepth = get_config_int ("SOF", "colordepth", desktop_color_depth ()); - fullscreen = get_config_int ("SOF", "fullscreen", 0); - scheme = get_config_int ("SOF", "scheme", 0); -diff -ru fargoal.orig/src/main.c fargoal/src/main.c ---- fargoal.orig/src/main.c 2003-07-31 10:06:51.000000000 -0700 -+++ fargoal/src/main.c 2004-01-23 23:50:26.000000000 -0800 -@@ -2,6 +2,9 @@ - #include <stdio.h> - #include <stdlib.h> - #include <time.h> -+#include <sys/stat.h> -+#include <sys/types.h> -+#include <unistd.h> - - #include "main.h" - #include "game.h" -@@ -334,6 +337,18 @@ - exit (0); - } - -+ if (!getenv("HOME")) { -+ fprintf (stderr, "Environment variable HOME not set. Exiting."); -+ exit(1); -+ } -+ chdir(getenv("HOME")); -+ /* Don't check the return here because it may already exist. */ -+ mkdir(".fargoal", 0744); -+ if (chdir(".fargoal") != 0) { -+ fprintf (stderr, "Failed to change directories to ~/.fargoal"); -+ exit(1); -+ } -+ - allegro_init (); - - srand ((unsigned) time (NULL)); -@@ -442,7 +457,7 @@ - #endif - } - -- remove ("data/last.log"); -+ remove ("./last.log"); - save_settings (); - - run_exit (); -diff -ru fargoal.orig/src/menu.c fargoal/src/menu.c ---- fargoal.orig/src/menu.c 2003-07-31 10:06:51.000000000 -0700 -+++ fargoal/src/menu.c 2004-01-23 23:53:48.000000000 -0800 -@@ -265,8 +265,8 @@ - - message (FPS / 2, NULL, "Quest %i selected!!", menu_selected - 1); - -- set_config_file ("data/settings.cfg"); -- sprintf (str, "data/save%i.dat", quest_number); -+ set_config_file ("./settings.cfg"); -+ sprintf (str, "./save%i.dat", quest_number); - sprintf (entry, "Beginning"); - - set_config_string ("SOF", str, entry); -@@ -305,8 +305,8 @@ - if (menu_selected >= 2 && menu_selected <= 10) - { - char str[100]; -- set_config_file ("data/settings.cfg"); -- sprintf (str, "data/save%i.dat", menu_selected - 1); -+ set_config_file ("./settings.cfg"); -+ sprintf (str, "./save%i.dat", menu_selected - 1); - - if (!get_config_string ("SOF", str, NULL)) - { -@@ -346,8 +346,8 @@ - if (menu_selected >= 2 && menu_selected <= 10) - { - char str[100]; -- set_config_file ("data/settings.cfg"); -- sprintf (str, "data/save%i.dat", menu_selected - 1); -+ set_config_file ("./settings.cfg"); -+ sprintf (str, "./save%i.dat", menu_selected - 1); - if (game_delete (menu_selected - 1) || - get_config_string ("SOF", str, NULL)) - { -@@ -653,7 +653,7 @@ - int i; - char str[100]; - -- set_config_file ("data/settings.cfg"); -+ set_config_file ("./settings.cfg"); - - if (!notrunning) - { -@@ -662,14 +662,14 @@ - list[1].current_level, list[1].lev, - won ? "won" : gameover ? "dead" : swordrun ? "running out of time" : "alive"); - game_save (quest_number); -- sprintf (str, "data/save%i.dat", quest_number); -+ sprintf (str, "./save%i.dat", quest_number); - set_config_string ("SOF", str, entry); - } - - for (i = 0; i < 9; i++) - { - char const *entry; -- sprintf (str, "data/save%i.dat", i + 1); -+ sprintf (str, "./save%i.dat", i + 1); - entry = get_config_string ("SOF", str, "empty"); - sprintf (savenames[i], "%i: %s", i + 1, entry); - menu_delete_text[2 + i] = savenames[i]; -diff -ru fargoal.orig/src/message.c fargoal/src/message.c ---- fargoal.orig/src/message.c 2003-07-31 10:06:51.000000000 -0700 -+++ fargoal/src/message.c 2004-01-23 23:51:12.000000000 -0800 -@@ -79,11 +79,11 @@ - - if (filename) - { -- file_copy (filename, "data/last.log", 0); -- messagefile = fopen ("data/last.log", "a"); -+ file_copy (filename, "./last.log", 0); -+ messagefile = fopen ("./last.log", "a"); - } - else -- messagefile = fopen ("data/last.log", "w"); -+ messagefile = fopen ("./last.log", "w"); - } - - /* Copy current messages to given file. */ -@@ -93,9 +93,9 @@ - if (messagefile) - fclose (messagefile); - -- file_copy ("data/last.log", filename, 1); -+ file_copy ("./last.log", filename, 1); - -- messagefile = fopen ("data/last.log", "a"); -+ messagefile = fopen ("./last.log", "a"); - } - - static void -diff -ru fargoal.orig/src/save.c fargoal/src/save.c ---- fargoal.orig/src/save.c 2003-07-31 10:06:51.000000000 -0700 -+++ fargoal/src/save.c 2004-01-23 23:52:11.000000000 -0800 -@@ -253,7 +253,7 @@ - char name[256]; - PACKFILE *file; - -- sprintf (name, "data/save%i.dat", nr); -+ sprintf (name, "./save%i.dat", nr); - file = pack_fopen (name, "wp"); - - if (file) -@@ -297,7 +297,7 @@ - - pack_fclose (file); - -- sprintf (name, "data/save%i.html", nr); -+ sprintf (name, "./save%i.html", nr); - messages_exit (name); - - return 1; -@@ -311,7 +311,7 @@ - char name[256]; - PACKFILE *file; - -- sprintf (name, "data/save%i.dat", nr); -+ sprintf (name, "./save%i.dat", nr); - file = pack_fopen (name, "rp"); - - if (file) -@@ -356,7 +356,7 @@ - - pack_fclose (file); - -- sprintf (name, "data/save%i.html", nr); -+ sprintf (name, "./save%i.html", nr); - messages_init (name); - return 1; - } -@@ -368,10 +368,10 @@ - { - int ret = 1; - char name[256]; -- sprintf (name, "data/save%i.dat", nr); -+ sprintf (name, "./save%i.dat", nr); - if (remove (name)) - ret = 0; -- sprintf (name, "data/save%i.html", nr); -+ sprintf (name, "./save%i.html", nr); - if (remove (name)) - ret = 0; - return ret; diff --git a/games-roguelike/fargoal/metadata.xml b/games-roguelike/fargoal/metadata.xml deleted file mode 100644 index d3c2cc926f0b..000000000000 --- a/games-roguelike/fargoal/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> |