From 3041a044d424548c773799eb39349be646a3114a Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Thu, 5 Apr 2007 23:48:57 +0000 Subject: [PATCH] rm old version Package-Manager: portage-2.1.2.3 --- games-action/orbital-eunuchs-sniper/Manifest | 36 +++---------- .../files/1.29-ai.patch | 44 --------------- .../files/1.29-gentoo-paths.patch | 17 ------ .../files/digest-orbital-eunuchs-sniper-1.29 | 3 -- .../orbital-eunuchs-sniper-1.29-gcc41.patch | 34 ------------ .../orbital-eunuchs-sniper-1.29.ebuild | 54 ------------------- .../orbital-eunuchs-sniper-1.30.ebuild | 4 +- 7 files changed, 10 insertions(+), 182 deletions(-) delete mode 100644 games-action/orbital-eunuchs-sniper/files/1.29-ai.patch delete mode 100644 games-action/orbital-eunuchs-sniper/files/1.29-gentoo-paths.patch delete mode 100644 games-action/orbital-eunuchs-sniper/files/digest-orbital-eunuchs-sniper-1.29 delete mode 100644 games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.29-gcc41.patch delete mode 100644 games-action/orbital-eunuchs-sniper/orbital-eunuchs-sniper-1.29.ebuild diff --git a/games-action/orbital-eunuchs-sniper/Manifest b/games-action/orbital-eunuchs-sniper/Manifest index d33c42f31cf6..c50e2d1cb0c5 100644 --- a/games-action/orbital-eunuchs-sniper/Manifest +++ b/games-action/orbital-eunuchs-sniper/Manifest @@ -1,32 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX 1.29-ai.patch 1861 RMD160 85de41c7fc12ae7336776334ee89593920e6f183 SHA1 3e1a79311acdbcad271c1161ace1c442971e878a SHA256 a181dc874ce8710a11f3d4a4e447864e3e2a75507c4c143e1eb43b4711ee2e17 -MD5 477238dc90d5014c1170ec2e102d9c6c files/1.29-ai.patch 1861 -RMD160 85de41c7fc12ae7336776334ee89593920e6f183 files/1.29-ai.patch 1861 -SHA256 a181dc874ce8710a11f3d4a4e447864e3e2a75507c4c143e1eb43b4711ee2e17 files/1.29-ai.patch 1861 -AUX 1.29-gentoo-paths.patch 798 RMD160 396ecfd589ff0e646dd5c88fd1644673824e3ee8 SHA1 7aab8f8e79fe5ca61d981bef88c559f32cf2cc8d SHA256 13d24f55708b5be6706104a42ab484310e44371183bd1256546d96325262dc98 -MD5 8c689e156112d15da15aa7a5753e7f1c files/1.29-gentoo-paths.patch 798 -RMD160 396ecfd589ff0e646dd5c88fd1644673824e3ee8 files/1.29-gentoo-paths.patch 798 -SHA256 13d24f55708b5be6706104a42ab484310e44371183bd1256546d96325262dc98 files/1.29-gentoo-paths.patch 798 -AUX orbital-eunuchs-sniper-1.29-gcc41.patch 1134 RMD160 59f7026fe09f5304a4032a3080e1c03c6eb783ed SHA1 508c51e23ea9e8ad69e7f2ff14ea78b96d68e97d SHA256 29b6acab5299e793452c93d73f8a5f9afb60678a9f7f268cf020768cd4a7faeb -MD5 69a27565a11dabe5b2da7cdd08a04ec9 files/orbital-eunuchs-sniper-1.29-gcc41.patch 1134 -RMD160 59f7026fe09f5304a4032a3080e1c03c6eb783ed files/orbital-eunuchs-sniper-1.29-gcc41.patch 1134 -SHA256 29b6acab5299e793452c93d73f8a5f9afb60678a9f7f268cf020768cd4a7faeb files/orbital-eunuchs-sniper-1.29-gcc41.patch 1134 AUX orbital-eunuchs-sniper-1.30-datadir.patch 1009 RMD160 be34a2d78a1de0e2ebff87025427ea493acd9b44 SHA1 bebaaebb953064cfc6282d11616cb2465971eec6 SHA256 0e14258971d6e8e58d34c00bd3c4248ec7259aef0902306d2d73db776d2fcc4c MD5 e9a8d8b3d782528c6bb4be26173632b7 files/orbital-eunuchs-sniper-1.30-datadir.patch 1009 RMD160 be34a2d78a1de0e2ebff87025427ea493acd9b44 files/orbital-eunuchs-sniper-1.30-datadir.patch 1009 SHA256 0e14258971d6e8e58d34c00bd3c4248ec7259aef0902306d2d73db776d2fcc4c files/orbital-eunuchs-sniper-1.30-datadir.patch 1009 -DIST orbital_eunuchs_sniper-1.29.tar.gz 4043177 RMD160 49520028f6f21e9163c37fcf14030a4868a01b01 SHA1 c5c33de0645c717b35e6eff7c88946e9de65b866 SHA256 45d4aef3d911780e5cfa69717d7ef751273ee81beb265551e9b7eae15ac8799b DIST orbital_eunuchs_sniper-1.30.tar.gz 4056847 RMD160 6014dbdb5567054763349226c46412ac665761aa SHA1 67f5cec96179faabefe475cbea0c3b45f0b5f7c2 SHA256 4c9c909183d27309cb967f64fef13f8c69f1c9a9d559bffb87045d21059ee70a -EBUILD orbital-eunuchs-sniper-1.29.ebuild 1526 RMD160 a2129fabb3872168650166fdc4d2b76e28eb2c3d SHA1 836147765934c964f00beda0e0e2f19726225b60 SHA256 d101a659f22dad1a142962396c186a884d159c0124eca706c8d580ba3e49c4c5 -MD5 278651e0db83865406ce3617a0a9e9ae orbital-eunuchs-sniper-1.29.ebuild 1526 -RMD160 a2129fabb3872168650166fdc4d2b76e28eb2c3d orbital-eunuchs-sniper-1.29.ebuild 1526 -SHA256 d101a659f22dad1a142962396c186a884d159c0124eca706c8d580ba3e49c4c5 orbital-eunuchs-sniper-1.29.ebuild 1526 -EBUILD orbital-eunuchs-sniper-1.30.ebuild 843 RMD160 5a8470068349ae34f34153e800f1740221e5a5b6 SHA1 dc0112b0ec36d33cd31591b633b102221d8be3e4 SHA256 141509b5bdc7752f7c57c40c21f8e701c6b4dac4eb9f28762015a7d99a5c1249 -MD5 4275761730a07c2cda317e17e9d4dc02 orbital-eunuchs-sniper-1.30.ebuild 843 -RMD160 5a8470068349ae34f34153e800f1740221e5a5b6 orbital-eunuchs-sniper-1.30.ebuild 843 -SHA256 141509b5bdc7752f7c57c40c21f8e701c6b4dac4eb9f28762015a7d99a5c1249 orbital-eunuchs-sniper-1.30.ebuild 843 +EBUILD orbital-eunuchs-sniper-1.30.ebuild 841 RMD160 63da80e8f0123b21630973cfab1ae8d2a6ab2ac7 SHA1 711d95bcdf319cf208405348ed38e0c7cb4aae81 SHA256 0f6f740f35dc4a8314b2896e4cd2677b1d58c4b3dfba5cdf29da36004020112d +MD5 4cca35212409a7ce6c022c3d9d1e7559 orbital-eunuchs-sniper-1.30.ebuild 841 +RMD160 63da80e8f0123b21630973cfab1ae8d2a6ab2ac7 orbital-eunuchs-sniper-1.30.ebuild 841 +SHA256 0f6f740f35dc4a8314b2896e4cd2677b1d58c4b3dfba5cdf29da36004020112d orbital-eunuchs-sniper-1.30.ebuild 841 MISC ChangeLog 1656 RMD160 2f1d68090b49ba68a4d88751503f3f437d478f61 SHA1 ec879f9890909113b323d995074a6f6aca98370f SHA256 a8ceff772df6a206471f5959834cc85788fa88d35dd5651fc490f9ac43e346a2 MD5 a124deb25589f7e0c8a18f71ba40a6a0 ChangeLog 1656 RMD160 2f1d68090b49ba68a4d88751503f3f437d478f61 ChangeLog 1656 @@ -35,16 +18,13 @@ MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be525 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 -MD5 01604af804be8c692963cbb8a7878881 files/digest-orbital-eunuchs-sniper-1.29 286 -RMD160 81903fce1a569c284852eb9addbcfec8f5528452 files/digest-orbital-eunuchs-sniper-1.29 286 -SHA256 3607678341c6869a96ed83e6dfc96cfbb8d99e329ffd4bfa9572f7b9e594b09f files/digest-orbital-eunuchs-sniper-1.29 286 MD5 b4987bc3613374062415dd257e45f6cc files/digest-orbital-eunuchs-sniper-1.30 286 RMD160 d0761711b49af5975cd03e31a86913a3a650a8e6 files/digest-orbital-eunuchs-sniper-1.30 286 SHA256 09ad67dd2f5104087e878b857e6c396b6630780f7109864d650675c7d1895b38 files/digest-orbital-eunuchs-sniper-1.30 286 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) +Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFF3VRNdz7hIScOURERAj7ZAKCAR++rPbOp85rKPuk1ugyZf7NsiACgnH7O -+SNlIR9vA2x/O90yQXFC1BI= -=7+qh +iD8DBQFGFYrwdz7hIScOURERAogfAJ9fFHX/eJe1H/CXfJC11gSmPNlh0ACgmpV0 +fk6xboSMMLlnP1hlRSKpwWQ= +=HUcp -----END PGP SIGNATURE----- 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 -- 2.26.2