diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-03-31 20:34:42 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-03-31 20:34:42 +0000 |
commit | c14e8e7849bdc58c472c1e2dd941d81dce19b493 (patch) | |
tree | 5eac268516ca3c2d321b6ae499f83d58e474e671 | |
parent | old (diff) | |
download | gentoo-2-c14e8e7849bdc58c472c1e2dd941d81dce19b493.tar.gz gentoo-2-c14e8e7849bdc58c472c1e2dd941d81dce19b493.tar.bz2 gentoo-2-c14e8e7849bdc58c472c1e2dd941d81dce19b493.zip |
old
(Portage version: 2.1.9.42/cvs/Linux i686)
-rw-r--r-- | games-action/xpilot-ng/Manifest | 4 | ||||
-rw-r--r-- | games-action/xpilot-ng/files/xpilot-ng-4.7.2-glibc210.patch | 83 | ||||
-rw-r--r-- | games-action/xpilot-ng/files/xpilot-ng-4.7.2-xpngcc.patch | 21 | ||||
-rw-r--r-- | games-action/xpilot-ng/xpilot-ng-4.7.2-r1.ebuild | 71 |
4 files changed, 0 insertions, 179 deletions
diff --git a/games-action/xpilot-ng/Manifest b/games-action/xpilot-ng/Manifest index 22c5aeadc8c7..f829615620c3 100644 --- a/games-action/xpilot-ng/Manifest +++ b/games-action/xpilot-ng/Manifest @@ -1,10 +1,6 @@ -AUX xpilot-ng-4.7.2-glibc210.patch 2583 RMD160 cb4e486551c6726e792fa79453be82d283bfffe9 SHA1 d851356286d3f27b3ee436cf2ad0bf5dc1c57b8e SHA256 43f6d1130151a9274396a04d3a7d2cf27fd057e5b93c0d9d6b32c76bcbf4f4a7 -AUX xpilot-ng-4.7.2-xpngcc.patch 648 RMD160 f5bae034c80cb972ee6235ca2bf8d23c1b5df3bb SHA1 76dcaeed120b7f95daa6ac50806fbd250922ba49 SHA256 12973a163663e6a5f560737742dc51b0f0ba258ac01ea255184a8c70eda3d870 AUX xpilot-ng-4.7.3-xpngcc.patch 395 RMD160 dca0f3fe37438f0ad9a0e575f5c9b9aa126026d7 SHA1 024047889c1567c7c9c0463b3f3ddb8c853516d3 SHA256 f8e4368522b47b48ae50727f345af49460fead70c41ddf275a98b1453580bc18 -DIST xpilot-ng-4.7.2.tar.gz 2807988 RMD160 acc4266fd14467168cf3412ed747c5377b34ed41 SHA1 b61f05c9041866bcb58d7808dfd1dba09a6e930e SHA256 31ef0f6b40779dd0ac5eb1bd17dd0908174e52991413fe25d623b6336d480fc0 DIST xpilot-ng-4.7.3.tar.gz 3469062 RMD160 345605ce619732eb2175f1afa45204d7058f4a8c SHA1 17aca5a172ec29e7bad8ce2c19c3045536ca29a7 SHA256 f287093c757a71232000f210ee4a4edeccc9e8af0817d5be43084e84aebd4709 DIST xpilot-ng.png 3898 RMD160 a68fe7ffb0b2d4225b95233be950d65dc527c3ad SHA1 3461e7cccd99d006542bfa97d8f1dd63abd8967d SHA256 6c9ba1bb1d0bf20428df32453cc66b2fa93b28bebcb75237ccb3052e8e8c8dde -EBUILD xpilot-ng-4.7.2-r1.ebuild 1796 RMD160 36865852b26f87c96d21fcc7e35af682e3f1b4ff SHA1 af7689305c327fdd0660bbd8db68c9e64416cbc7 SHA256 81c5573b8ff805049d3ce0850691eca7a0cbc6e7b216fa50ea063299b32072a4 EBUILD xpilot-ng-4.7.3.ebuild 1767 RMD160 34c98763827f125b7027eb75b10dab6c9f48aaa9 SHA1 77f220ab4ccfae24437837c4b2460900f291833f SHA256 1eedc2284e61bed93b78a9a4784420156d349de92e32e46f9c102e8041810238 MISC ChangeLog 2703 RMD160 af87a245c1a4eae4ddd5e69e31aa7be905feb131 SHA1 43ed1e5fb593aec0e3204b8b5d769b79dcc2d7cc SHA256 a7b167969ec872496085d345aa71def8306748fd7d6cb1599a07a3f621050145 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-action/xpilot-ng/files/xpilot-ng-4.7.2-glibc210.patch b/games-action/xpilot-ng/files/xpilot-ng-4.7.2-glibc210.patch deleted file mode 100644 index 6c91cd6c6f04..000000000000 --- a/games-action/xpilot-ng/files/xpilot-ng-4.7.2-glibc210.patch +++ /dev/null @@ -1,83 +0,0 @@ ---- src/client/textinterface.c.old 2009-06-08 12:41:13.000000000 +0200 -+++ src/client/textinterface.c 2009-06-08 12:41:35.000000000 +0200 -@@ -37,7 +37,7 @@ - /* - * just like fgets() but strips newlines like gets(). - */ --static char* getline(char* buf, int len, FILE* stream) -+static char* mygetline(char* buf, int len, FILE* stream) - { - char *nl; - -@@ -251,7 +251,7 @@ - else if (!auto_connect) { - printf("*** Server on %s. Enter command> ", conpar->server_name); - -- getline(linebuf, MAX_LINE, stdin); -+ mygetline(linebuf, MAX_LINE, stdin); - if (feof(stdin)) { - puts(""); - c = 'Q'; -@@ -338,7 +338,7 @@ - case 'K': - printf("Enter name of victim: "); - fflush(stdout); -- if (!getline(linebuf, MAX_LINE, stdin)) { -+ if (!mygetline(linebuf, MAX_LINE, stdin)) { - printf("Nothing changed.\n"); - continue; - } -@@ -349,7 +349,7 @@ - case 'M': /* Send a message to server. */ - printf("Enter message: "); - fflush(stdout); -- if (!getline(linebuf, MAX_LINE, stdin) || !linebuf[0]) { -+ if (!mygetline(linebuf, MAX_LINE, stdin) || !linebuf[0]) { - printf("No message sent.\n"); - continue; - } -@@ -364,7 +364,7 @@ - case 'D': /* Shutdown */ - if (!auto_shutdown) { - printf("Enter delay in seconds or return for cancel: "); -- getline(linebuf, MAX_LINE, stdin); -+ mygetline(linebuf, MAX_LINE, stdin); - /* - * No argument = cancel shutdown = arg_int=0 - */ -@@ -375,7 +375,7 @@ - delay = 1; - - printf("Enter reason: "); -- getline(linebuf, MAX_LINE, stdin); -+ mygetline(linebuf, MAX_LINE, stdin); - } else { - strlcpy(linebuf, shutdown_reason, sizeof(linebuf)); - delay = 60; -@@ -388,7 +388,7 @@ - case 'O': /* Tune an option. */ - printf("Enter option: "); - fflush(stdout); -- if (!getline(linebuf, MAX_LINE, stdin) -+ if (!mygetline(linebuf, MAX_LINE, stdin) - || (len=strlen(linebuf)) == 0) { - printf("Nothing changed.\n"); - continue; -@@ -396,7 +396,7 @@ - printf("Enter new value for %s: ", linebuf); - fflush(stdout); - strcat(linebuf, ":"); len++; -- if (!getline(&linebuf[len], MAX_LINE-len, stdin) -+ if (!mygetline(&linebuf[len], MAX_LINE-len, stdin) - || linebuf[len] == '\0') { - printf("Nothing changed.\n"); - continue; -@@ -450,7 +450,7 @@ - case 'T': /* Set team. */ - printf("Enter team: "); - fflush(stdout); -- if (!getline(linebuf, MAX_LINE, stdin) -+ if (!mygetline(linebuf, MAX_LINE, stdin) - || (len = strlen(linebuf)) == 0) - printf("Nothing changed.\n"); - else { diff --git a/games-action/xpilot-ng/files/xpilot-ng-4.7.2-xpngcc.patch b/games-action/xpilot-ng/files/xpilot-ng-4.7.2-xpngcc.patch deleted file mode 100644 index 2b6a111628dd..000000000000 --- a/games-action/xpilot-ng/files/xpilot-ng-4.7.2-xpngcc.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- contrib/xpngcc/xpngcc.py 2005-09-15 18:27:44.000000000 -0400 -+++ contrib/xpngcc/xpngcc.py 2005-10-05 00:32:51.221341928 -0400 -@@ -1,5 +1,8 @@ - #!/usr/bin/env python - -+import wxversion -+wxversion.select('2.6') -+ - import os - import wx - import urllib ---- contrib/xpngcc/config.py.old 2006-05-01 20:43:31.000000000 +0200 -+++ contrib/xpngcc/config.py 2006-05-01 20:44:26.000000000 +0200 -@@ -36,6 +36,6 @@ - if (sys.platform == "win32"):
- mapdir = 'C:\\Progra~1\\XPilotNG-SDL\\lib\\maps'
- else:
-- mapdir = '/usr/local/share/xpilot-ng/maps'
-+ mapdir = '@GENTOO_DATADIR@/xpilot-ng/maps'
- png_path = os.path.dirname(os.path.abspath(__file__))
-
diff --git a/games-action/xpilot-ng/xpilot-ng-4.7.2-r1.ebuild b/games-action/xpilot-ng/xpilot-ng-4.7.2-r1.ebuild deleted file mode 100644 index 187d23c35aa0..000000000000 --- a/games-action/xpilot-ng/xpilot-ng-4.7.2-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/xpilot-ng/xpilot-ng-4.7.2-r1.ebuild,v 1.10 2010/06/16 02:02:46 arfrever Exp $ - -EAPI=2 -PYTHON_DEPEND="2" -inherit python eutils multilib games - -DESCRIPTION="Improvement of the multiplayer space game XPilot" -HOMEPAGE="http://xpilot.sourceforge.net/" -SRC_URI="mirror://sourceforge/xpilot/${P}.tar.gz - mirror://gentoo/${PN}.png" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="openal sdl" - -RDEPEND="x11-libs/libX11 - x11-libs/libICE - x11-libs/libSM - dev-libs/expat - openal? ( media-libs/openal ) - dev-python/wxpython:2.6 - sdl? ( - virtual/opengl - media-libs/libsdl - media-libs/sdl-image - media-libs/sdl-ttf - )" -DEPEND="${RDEPEND} - x11-proto/xextproto - x11-proto/xproto" - -pkg_setup() { - python_set_active_version 2 - games_pkg_setup -} - -src_prepare() { - epatch "${FILESDIR}/${P}"-xpngcc.patch \ - "${FILESDIR}"/${P}-glibc210.patch - - sed -i \ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \ - contrib/xpngcc/config.py \ - || die "sed failed" -} - -src_configure() { - egamesconf \ - --disable-dependency-tracking \ - $(use_enable sdl sdl-client) \ - $(use_enable sdl sdl-gameloop) \ - $(use_enable openal sound) -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog README - insinto "${GAMES_DATADIR}"/${PN}/xpngcc - doins contrib/xpngcc/*.py contrib/xpngcc/*.png - exeinto "${GAMES_DATADIR}"/${PN}/xpngcc - doexe contrib/xpngcc/xpngcc.py - dodir $(python_get_sitedir) - dosym "${GAMES_DATADIR}"/${PN}/xpngcc $(python_get_sitedir)/xpngcc - dosym "${GAMES_DATADIR}"/${PN}/xpngcc/xpngcc.py "${GAMES_BINDIR}"/xpilot-ng - doicon "${DISTDIR}"/${PN}.png - make_desktop_entry ${PN} "XPilot NG" - prepgamesdirs -} |