summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-04-05 23:48:57 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-04-05 23:48:57 +0000
commit519550cf9b5521fb7185445328df7226c5d77984 (patch)
tree881962a01cdde852b316240e27a715ca06da3859 /games-action
parentadded >=app-i18n/skim-scim-anthy-1.3.0, Bug #173515. (diff)
downloadgentoo-2-519550cf9b5521fb7185445328df7226c5d77984.tar.gz
gentoo-2-519550cf9b5521fb7185445328df7226c5d77984.tar.bz2
gentoo-2-519550cf9b5521fb7185445328df7226c5d77984.zip
rm old version
(Portage version: 2.1.2.3)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/orbital-eunuchs-sniper/files/1.29-ai.patch44
-rw-r--r--games-action/orbital-eunuchs-sniper/files/1.29-gentoo-paths.patch17
-rw-r--r--games-action/orbital-eunuchs-sniper/files/digest-orbital-eunuchs-sniper-1.293
-rw-r--r--games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.29-gcc41.patch34
-rw-r--r--games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild54
-rw-r--r--games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild4
6 files changed, 2 insertions, 154 deletions
diff --git a/games-action/orbital-eunuchs-sniper/files/1.29-ai.patch b/games-action/orbital-eunuchs-sniper/files/1.29-ai.patch
deleted file mode 100644
index b80260fc31a7..000000000000
--- a/games-action/orbital-eunuchs-sniper/files/1.29-ai.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- src/ai_orig.cpp 2003-03-17 17:22:17.000000000 +0100
-+++ src/ai.cpp 2004-10-16 22:51:57.103455879 +0200
-@@ -479,7 +480,7 @@
- int nolineofsight = 1;
-
- // Do we have line of sight to the VIP?
-- if (route((int)c.mX, (int)c.mY, (int)Game.characters[c.mTarget].mX, (int)Game.characters[c.mTarget].mY))
-+ if (c.mTarget != -1 && route((int)c.mX, (int)c.mY, (int)Game.characters[c.mTarget].mX, (int)Game.characters[c.mTarget].mY))
- {
- nolineofsight = 0;
- // Calculate new vector to it
-@@ -541,7 +542,30 @@
- {
- // Find a new waypoint
-
-- if (nolineofsight)
-+ if (c.mTarget == -1)
-+ {
-+ int oldWaypoint = c.mNextWaypoint;
-+
-+ // just choose the next-closest waypoint in the area (I know: we'll cycle).
-+ c.mNextWaypoint = 0;
-+ int i;
-+ float dist = distance_wp(0, c.mX, c.mY);
-+ for (i = 1; i < Game.num_waypoints; i++)
-+ {
-+ if (i != oldWaypoint) {
-+ float newdist = distance_wp(i, c.mX, c.mY);
-+ if (newdist < dist && route(Game.waypoints[i].mX, Game.waypoints[i].mY, (int)c.mX, (int)c.mY))
-+ {
-+ dist = newdist;
-+ c.mNextWaypoint = i;
-+ }
-+ }
-+ }
-+ // Calculate vector towards the closest waypoint
-+ c.mXi = ((Game.waypoints[c.mNextWaypoint].mX - c.mX) / dist) * c.mSpeed;
-+ c.mYi = ((Game.waypoints[c.mNextWaypoint].mY - c.mY) / dist) * c.mSpeed;
-+ }
-+ else if (nolineofsight)
- {
- // Can't see the VIP, try to figure out the closest waypoint to target that's connected from here
- int next = 0;
-
diff --git a/games-action/orbital-eunuchs-sniper/files/1.29-gentoo-paths.patch b/games-action/orbital-eunuchs-sniper/files/1.29-gentoo-paths.patch
deleted file mode 100644
index ac62ac21c5d3..000000000000
--- a/games-action/orbital-eunuchs-sniper/files/1.29-gentoo-paths.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -ur orbital_eunuchs_sniper-1.29.orig/src/snipe2d.cpp orbital_eunuchs_sniper-1.29/src/snipe2d.cpp
---- orbital_eunuchs_sniper-1.29.orig/src/snipe2d.cpp 2003-12-31 16:05:07.079304568 -0500
-+++ orbital_eunuchs_sniper-1.29/src/snipe2d.cpp 2003-12-31 16:06:52.962207920 -0500
-@@ -1632,10 +1632,11 @@
-
- srand(SDL_GetTicks());
-
-- Game.mediaPath = (char*)calloc(strlen(argv[0]), sizeof(char));
-+ Game.mediaPath = (char*)calloc(strlen("GENTOO_DIR\0")+1, sizeof(char));
- // invocation = (char*)malloc(strlen(argv[0]) + 1); memcpy(invocation, argv[0], strlen(argv[0]));
- invocation = strdup(argv[0]);
-- sprintf(Game.mediaPath, "%s", dirname(invocation));
-+ sprintf(Game.mediaPath, "GENTOO_DIR\0");
-+ chdir(Game.mediaPath);
- free(invocation);
- invocation = argv[0];
-
diff --git a/games-action/orbital-eunuchs-sniper/files/digest-orbital-eunuchs-sniper-1.29 b/games-action/orbital-eunuchs-sniper/files/digest-orbital-eunuchs-sniper-1.29
deleted file mode 100644
index 3f95b3909718..000000000000
--- a/games-action/orbital-eunuchs-sniper/files/digest-orbital-eunuchs-sniper-1.29
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 78701333a1fe43b7198d55586b77c46d orbital_eunuchs_sniper-1.29.tar.gz 4043177
-RMD160 49520028f6f21e9163c37fcf14030a4868a01b01 orbital_eunuchs_sniper-1.29.tar.gz 4043177
-SHA256 45d4aef3d911780e5cfa69717d7ef751273ee81beb265551e9b7eae15ac8799b orbital_eunuchs_sniper-1.29.tar.gz 4043177
diff --git a/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.29-gcc41.patch b/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.29-gcc41.patch
deleted file mode 100644
index 2574f3125ffc..000000000000
--- a/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.29-gcc41.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- src/ui.cpp.old 2006-04-21 21:27:16.000000000 +0200
-+++ src/ui.cpp 2006-04-21 21:32:36.000000000 +0200
-@@ -1285,6 +1285,7 @@
- if (!widget) return 0;
- objtype = oesui_props_get_string(widget->props, "type");
- if (!objtype) return 0;
-+ updatefunc = NULL;
- if (0 == strcasecmp(objtype, "toplevel"))
- updatefunc = oesui_toplevel_update;
- else if (0 == strcasecmp(objtype, "button"))
-@@ -1304,6 +1305,7 @@
- objtype = oesui_props_get_string(widget->props, "type");
- //printf("widget_signal on %s\n", objtype);
- if (!objtype) return 0;
-+ sigfunc = NULL;
- if (0);
- else if (0 == strcasecmp(objtype, "toplevel"))
- sigfunc = oesui_toplevel_signal;
-@@ -1323,6 +1325,7 @@
-
- objtype = oesui_props_get_string(widget->props, "type");
- if (!objtype) return 0;
-+ openfunc=NULL;
- if (0);
- else if (0 == strcasecmp(objtype, "toplevel"))
- openfunc = oesui_toplevel_open;
-@@ -1340,6 +1343,7 @@
-
- objtype = oesui_props_get_string(widget->props, "type");
- if (!objtype) return 0;
-+ closefunc=NULL;
- if (0);
- else if (0 == strcasecmp(objtype, "toplevel"))
- closefunc = oesui_toplevel_close;
diff --git a/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild b/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild
deleted file mode 100644
index f9ac7e7b77b6..000000000000
--- a/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild,v 1.11 2007/02/07 08:17:12 nyhm Exp $
-
-inherit eutils games
-
-MY_PN=${PN//-/_}
-DESCRIPTION="Snipe terrorists from your orbital base"
-HOMEPAGE="http://icculus.org/oes/"
-SRC_URI="http://filesingularity.timedoctor.org/${MY_PN}-${PV}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="x86 ppc"
-IUSE=""
-
-DEPEND=">=media-libs/libsdl-1.2.5-r1
- >=media-libs/sdl-mixer-1.2.5-r1
- >=media-libs/sdl-image-1.2.2"
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i \
- -e 's:datadir="$with_games_dir"::' configure \
- || die "sed configure failed"
- cp -rf "${S}"{,.orig}
- epatch "${FILESDIR}/${PV}-gentoo-paths.patch" \
- "${FILESDIR}/${P}"-gcc41.patch
- sed -i \
- -e "s:GENTOO_DIR:${GAMES_DATADIR}/${MY_PN}:" src/snipe2d.cpp \
- || die "sed src/snipe2d.cpp failed"
- epatch "${FILESDIR}/${PV}-ai.patch"
-}
-
-src_compile() {
- egamesconf --with-games-dir="${GAMES_PREFIX}" || die
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- rm -f "${D}/${GAMES_BINDIR}/"*
- dodir "${GAMES_LIBDIR}/${PN}"
- mv "${D}/${GAMES_DATADIR}/${MY_PN}/"snipe2d.* "${D}/${GAMES_LIBDIR}/${PN}/" \
- || die "mv failed"
-
- games_make_wrapper snipe2d ./snipe2d.x86.dynamic "${GAMES_LIBDIR}/${PN}"
-
- dodoc AUTHORS ChangeLog README TODO readme.txt || die "dodoc failed"
- prepgamesdirs
-}
diff --git a/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild b/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild
index 57f2663cfcd9..e93b6b882f11 100644
--- a/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild
+++ b/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild,v 1.1 2007/02/07 08:17:12 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.30.ebuild,v 1.2 2007/04/05 23:48:57 nyhm Exp $
inherit autotools eutils games
@@ -11,7 +11,7 @@ SRC_URI="http://filesingularity.timedoctor.org/${MY_P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
-KEYWORDS="~ppc ~x86"
+KEYWORDS="ppc x86"
IUSE=""
DEPEND="media-libs/libsdl