diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-22 01:37:57 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-22 01:37:57 +0000 |
commit | 801c57148f9d79d27e3604193bcfdc2867e76198 (patch) | |
tree | 775bedbe39ce979adcc13d7f7c17b9ba426e08fe /games-strategy | |
parent | fix gtk2 USE handling per Spider; mark stable on ppc (diff) | |
download | gentoo-2-801c57148f9d79d27e3604193bcfdc2867e76198.tar.gz gentoo-2-801c57148f9d79d27e3604193bcfdc2867e76198.tar.bz2 gentoo-2-801c57148f9d79d27e3604193bcfdc2867e76198.zip |
clean version 1.5.8 from portage
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/dopewars/ChangeLog | 6 | ||||
-rw-r--r-- | games-strategy/dopewars/Manifest | 5 | ||||
-rw-r--r-- | games-strategy/dopewars/dopewars-1.5.8.ebuild | 59 | ||||
-rw-r--r-- | games-strategy/dopewars/files/digest-dopewars-1.5.8 | 1 | ||||
-rw-r--r-- | games-strategy/dopewars/files/dopewars-1.5.8-gentoo.diff | 58 |
5 files changed, 6 insertions, 123 deletions
diff --git a/games-strategy/dopewars/ChangeLog b/games-strategy/dopewars/ChangeLog index 8aced95f4dbf..ee51e573498b 100644 --- a/games-strategy/dopewars/ChangeLog +++ b/games-strategy/dopewars/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/dopewars # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/ChangeLog,v 1.4 2003/11/22 01:36:39 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/ChangeLog,v 1.5 2003/11/22 01:37:55 mr_bones_ Exp $ + + 21 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> dopewars-1.5.8.ebuild, + files/dopewars-1.5.8-gentoo.diff: + clean version 1.5.8 from portage 21 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> dopewars-1.5.9.ebuild: fix gtk2 USE handling per Spider; mark stable on ppc diff --git a/games-strategy/dopewars/Manifest b/games-strategy/dopewars/Manifest index b98904b0301a..259796dc6039 100644 --- a/games-strategy/dopewars/Manifest +++ b/games-strategy/dopewars/Manifest @@ -1,7 +1,4 @@ -MD5 8943734b21eba16ffa2c4197b166f61d ChangeLog 3208 -MD5 30a4a9f2cbcf06310f985ded8f0df103 dopewars-1.5.8.ebuild 1710 +MD5 4a7d9d5a036d165e1d471f81476b750a ChangeLog 3358 MD5 8b5e8d416177ef5d36dddbe9e843dff8 dopewars-1.5.9.ebuild 1388 MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241 -MD5 1ab4cc079a4ef8685f70383c30bce826 files/digest-dopewars-1.5.8 67 MD5 ba5b960a65c5fa58ba14cd1fefc64ffe files/digest-dopewars-1.5.9 67 -MD5 b4e1fd58eb803016ca67302b2caf8d7a files/dopewars-1.5.8-gentoo.diff 2125 diff --git a/games-strategy/dopewars/dopewars-1.5.8.ebuild b/games-strategy/dopewars/dopewars-1.5.8.ebuild deleted file mode 100644 index 66325465bd61..000000000000 --- a/games-strategy/dopewars/dopewars-1.5.8.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/dopewars-1.5.8.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $ - -DESCRIPTION="Re-Write of the game Drug Wars" -SRC_URI="mirror://sourceforge/dopewars/${P}.tar.gz" -HOMEPAGE="http://dopewars.sourceforge.net/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc" -IUSE="nls ncurses gtk gtk2 gnome esd sdl" - -DEPEND="=dev-libs/glib-1.2* - ncurses? ( >=sys-libs/ncurses-5.2 ) - esd? ( media-sound/esound ) - gnome? ( gnome-base/gnome ) - gtk? ( =x11-libs/gtk+-1.2* ) - gtk2? ( =x11-libs/gtk+-2* ) - nls? ( sys-devel/gettext ) - sdl? ( media-libs/libsdl )" - -src_compile() { - # This patch fixes a problem when you try to compile dopewars without - # a graphical or curses-based client, and the path to the doc dir. - patch -p1 <${FILESDIR}/${P}-gentoo.diff - - local myconf="" - - use ncurses || myconf="--disable-curses-client" - use nls || myconf="$myconf --disable-nls" - use sdl || myconf="$myconf --without-sdl" - use esd || myconf="$myconf --without-esd" - - if [ "`use gtk`" ] || [ "`use gtk2`" ] - then - myconf="$myconf --enable-gui-server" - use gtk2 || myconf="$myconf --disable-glib2" - else - myconf="$myconf --disable-gui-client" - fi - - econf ${myconf} || die - - #emake fails sometimes in 1.5.7, dropping to make. (drobbins, 29 Aug 2002) - make || die "Compilation failed" -} - -src_install() { - einstall - - use gnome || rm -rf ${D}/usr/share/gnome - - mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${P}-orig - dohtml -r ${D}/usr/share/doc/${P}-orig/* - rm -rf ${D}/usr/share/doc/${P}-orig - - dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO -} diff --git a/games-strategy/dopewars/files/digest-dopewars-1.5.8 b/games-strategy/dopewars/files/digest-dopewars-1.5.8 deleted file mode 100644 index 10e57826ed9e..000000000000 --- a/games-strategy/dopewars/files/digest-dopewars-1.5.8 +++ /dev/null @@ -1 +0,0 @@ -MD5 d2321652075806ac21b2716dbb416b29 dopewars-1.5.8.tar.gz 1168140 diff --git a/games-strategy/dopewars/files/dopewars-1.5.8-gentoo.diff b/games-strategy/dopewars/files/dopewars-1.5.8-gentoo.diff deleted file mode 100644 index 539966062659..000000000000 --- a/games-strategy/dopewars/files/dopewars-1.5.8-gentoo.diff +++ /dev/null @@ -1,58 +0,0 @@ -diff -NurB dopewars-1.5.8/src/dopewars.c dopewars-1.5.8-patched/src/dopewars.c ---- dopewars-1.5.8/src/dopewars.c 2002-10-19 15:44:27.000000000 -0500 -+++ dopewars-1.5.8-patched/src/dopewars.c 2002-11-07 00:03:31.000000000 -0500 -@@ -2345,7 +2345,8 @@ - path = g_strdup_printf("file://%s\\", bindir); - g_free(bindir); - #else -- path = g_strdup_printf("file://%s/doc/%s-%s/", DPDATADIR, PACKAGE, VERSION); -+ path = g_strdup_printf("file://%s/doc/%s-%s/html/", -+ DPDATADIR, PACKAGE, VERSION); - #endif - return path; - } -@@ -2887,7 +2888,7 @@ - * Stub function to report an error if the Curses client is requested and - * it isn't compiled in. - */ --void CursesLoop(void) -+void CursesLoop(struct CMDLINE *cmdline) - { - g_print(_("No curses client available - rebuild the binary passing the\n" - "--enable-curses-client option to configure, or use a windowed\n" -@@ -2902,9 +2903,10 @@ - */ - #ifdef CYGWIN - gboolean GtkLoop(HINSTANCE hInstance, HINSTANCE hPrevInstance, -- gboolean ReturnOnFail) -+ struct CMDLINE *cmdline, gboolean ReturnOnFail) - #else --gboolean GtkLoop(int *argc, char **argv[], gboolean ReturnOnFail) -+gboolean GtkLoop(int *argc, char **argv[], struct CMDLINE *cmdline, -+ gboolean ReturnOnFail) - #endif - { - if (!ReturnOnFail) { -diff -NurB dopewars-1.5.8/src/dopewars.h dopewars-1.5.8-patched/src/dopewars.h ---- dopewars-1.5.8/src/dopewars.h 2002-08-30 13:15:42.000000000 -0500 -+++ dopewars-1.5.8-patched/src/dopewars.h 2002-11-07 00:01:51.000000000 -0500 -@@ -456,15 +456,16 @@ - gchar *GetLocalConfigFile(void); - - #ifndef CURSES_CLIENT --void CursesLoop(void); -+void CursesLoop(struct CMDLINE *cmdline); - #endif - - #ifndef GUI_CLIENT - #ifdef CYGWIN - gboolean GtkLoop(HINSTANCE hInstance, HINSTANCE hPrevInstance, -- gboolean ReturnOnFail); -+ struct CMDLINE *cmdline, gboolean ReturnOnFail); - #else --gboolean GtkLoop(int *argc, char **argv[], gboolean ReturnOnFail); -+gboolean GtkLoop(int *argc, char **argv[], struct CMDLINE *cmdline, -+ gboolean ReturnOnFail); - #endif - #endif - |