diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-06-06 21:22:09 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-06-06 21:22:09 +0000 |
commit | 2c9c571d182d32777089dd967b913b90a35a0a81 (patch) | |
tree | 66060653fd60ecce435fcff79a9929f2188c041f /games-strategy | |
parent | Stable on x86. (diff) | |
download | gentoo-2-2c9c571d182d32777089dd967b913b90a35a0a81.tar.gz gentoo-2-2c9c571d182d32777089dd967b913b90a35a0a81.tar.bz2 gentoo-2-2c9c571d182d32777089dd967b913b90a35a0a81.zip |
Initial import. Original ebuild by James Jones <jcjones@ufl.edu> and edited by me. Updated ebuild provided by Tom Wesley <tom@tomaw.org> and edited by me. Closing bug #56533.
(Portage version: 2.1_rc3-r2)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/gwp/ChangeLog | 12 | ||||
-rw-r--r-- | games-strategy/gwp/Manifest | 20 | ||||
-rw-r--r-- | games-strategy/gwp/files/digest-gwp-0.4.0 | 3 | ||||
-rw-r--r-- | games-strategy/gwp/files/gwp-0.4.0-gcc41.patch | 126 | ||||
-rw-r--r-- | games-strategy/gwp/gwp-0.4.0.ebuild | 45 | ||||
-rw-r--r-- | games-strategy/gwp/metadata.xml | 5 |
6 files changed, 211 insertions, 0 deletions
diff --git a/games-strategy/gwp/ChangeLog b/games-strategy/gwp/ChangeLog new file mode 100644 index 000000000000..33ce62cd9d72 --- /dev/null +++ b/games-strategy/gwp/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for games-strategy/gwp +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/gwp/ChangeLog,v 1.1 2006/06/06 21:22:09 wolf31o2 Exp $ + +*gwp-0.4.0 (06 Jun 2006) + + 06 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> + +files/gwp-0.4.0-gcc41.patch, +metadata.xml, +gwp-0.4.0.ebuild: + Initial import. Original ebuild by James Jones <jcjones@ufl.edu> and edited + by me. Updated ebuild provided by Tom Wesley <tom@tomaw.org> and edited by + me. Closing bug #56533. + diff --git a/games-strategy/gwp/Manifest b/games-strategy/gwp/Manifest new file mode 100644 index 000000000000..66b7aa0cbdf1 --- /dev/null +++ b/games-strategy/gwp/Manifest @@ -0,0 +1,20 @@ +AUX gwp-0.4.0-gcc41.patch 4829 RMD160 f717f8f22b33133ebebb1abff8af86c01cb33385 SHA1 43d85c608e597186df7be4c0d9eca5e077f6e220 SHA256 86f6c8cf335cd8b7bda850a8cc7bdb2ada744a4cf9bfe5aeab5aff1dc5a10297 +MD5 dd693feb49e2dbcce485a4daec2ead1e files/gwp-0.4.0-gcc41.patch 4829 +RMD160 f717f8f22b33133ebebb1abff8af86c01cb33385 files/gwp-0.4.0-gcc41.patch 4829 +SHA256 86f6c8cf335cd8b7bda850a8cc7bdb2ada744a4cf9bfe5aeab5aff1dc5a10297 files/gwp-0.4.0-gcc41.patch 4829 +DIST gwp-0.4.0.tar.gz 2294453 RMD160 59b585551cb075c4823d7ccfa3172b55314f0a11 SHA1 6451ca679c1e6cbf917c1012b4d3d6092dd5ac0a SHA256 e2734e019e2c3ef28cb0abd524c193ec5beb35d2bc8ba3e10652fac45c8bbe99 +EBUILD gwp-0.4.0.ebuild 1037 RMD160 c27084c79cc9737c12e163ac95d48633bdb1b28f SHA1 b2ca2690d1d28814afbd178cfa281e8803b4a1f2 SHA256 94abf18641479ab602397d2dee58e3faa49f12280ff969201bf1531bb14a4ec9 +MD5 1d16580865a60e355b81e4381747680e gwp-0.4.0.ebuild 1037 +RMD160 c27084c79cc9737c12e163ac95d48633bdb1b28f gwp-0.4.0.ebuild 1037 +SHA256 94abf18641479ab602397d2dee58e3faa49f12280ff969201bf1531bb14a4ec9 gwp-0.4.0.ebuild 1037 +MISC ChangeLog 447 RMD160 b6c8c76e1313ecbec3980a6bb949f27775d26d06 SHA1 3bb21c30ab8b309b9a4b98fbe2485334a67a8ecd SHA256 589822036aad600d4b191cbfba40b4e15cc1ef9f37ae4f2479660bc933391024 +MD5 478ab72669a7e2408b3fb0450b7596f4 ChangeLog 447 +RMD160 b6c8c76e1313ecbec3980a6bb949f27775d26d06 ChangeLog 447 +SHA256 589822036aad600d4b191cbfba40b4e15cc1ef9f37ae4f2479660bc933391024 ChangeLog 447 +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 +SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 +MD5 17c44155aeb18bce564cac3b08960de1 files/digest-gwp-0.4.0 232 +RMD160 29ec4148f3ec3e3b02e4427bee5696eaa93e6168 files/digest-gwp-0.4.0 232 +SHA256 e1f113f513462a185e10a61c59270418ca02f641b18faed60f10a484c5c4a664 files/digest-gwp-0.4.0 232 diff --git a/games-strategy/gwp/files/digest-gwp-0.4.0 b/games-strategy/gwp/files/digest-gwp-0.4.0 new file mode 100644 index 000000000000..f76e7f947da9 --- /dev/null +++ b/games-strategy/gwp/files/digest-gwp-0.4.0 @@ -0,0 +1,3 @@ +MD5 6f80f3c1b9dc50bbfeea80f4d949551f gwp-0.4.0.tar.gz 2294453 +RMD160 59b585551cb075c4823d7ccfa3172b55314f0a11 gwp-0.4.0.tar.gz 2294453 +SHA256 e2734e019e2c3ef28cb0abd524c193ec5beb35d2bc8ba3e10652fac45c8bbe99 gwp-0.4.0.tar.gz 2294453 diff --git a/games-strategy/gwp/files/gwp-0.4.0-gcc41.patch b/games-strategy/gwp/files/gwp-0.4.0-gcc41.patch new file mode 100644 index 000000000000..264186e7b526 --- /dev/null +++ b/games-strategy/gwp/files/gwp-0.4.0-gcc41.patch @@ -0,0 +1,126 @@ +--- src/gwp-game-state.c.old 2006-03-05 00:56:48.000000000 +0900 ++++ src/gwp-game-state.c 2006-03-05 00:57:38.000000000 +0900 +@@ -749,7 +749,7 @@ + /* Connect to interesting signals */ + /**********************************/ + /* Selected planets */ +- static void planet_conn (gpointer key, gpointer value, gpointer self) { ++ void planet_conn (gpointer key, gpointer value, gpointer self) { + g_signal_connect (GWP_PLANET(value), + "selected", + G_CALLBACK(selected_planet_notification), +@@ -757,7 +757,7 @@ + } + g_hash_table_foreach (planet_list, (GHFunc) planet_conn, self); + /* Selected ships */ +- static void ship_conn (gpointer key, gpointer value, gpointer self) { ++ void ship_conn (gpointer key, gpointer value, gpointer self) { + g_signal_connect (GWP_SHIP(value), + "selected", + G_CALLBACK(selected_ship_notification), +--- src/starchart.c.old 2006-03-05 01:13:39.000000000 +0900 ++++ src/starchart.c 2006-03-05 01:18:04.000000000 +0900 +@@ -2111,7 +2111,7 @@ + /*******************/ + /* Planets signals */ + /*******************/ +- static void planet_conn (gpointer key, gpointer value, gpointer data) { ++ void planet_conn (gpointer key, gpointer value, gpointer data) { + g_signal_connect (GWP_PLANET(value), + "property-changed", + G_CALLBACK(update_planet_notification), +@@ -3199,7 +3199,7 @@ + gdouble wx, wy; + gdouble ax, ay, bx, by, zoom; + +- static void add_item (gpointer key, gpointer value, gpointer user_data) { ++ void add_item (gpointer key, gpointer value, gpointer user_data) { + /* GSList *p_list = (GSList *)user_data; */ + planets = g_slist_append (planets, value); + } +--- src/vp_utils.c.old 2006-03-05 01:18:14.000000000 +0900 ++++ src/vp_utils.c 2006-03-05 01:18:52.000000000 +0900 +@@ -2590,7 +2590,7 @@ + gwp_planet_set_colonists (planet, atoi(p_clans)); + + /* Compare func */ +- static gint compare_race (gconstpointer race, gconstpointer adj) { ++ gint compare_race (gconstpointer race, gconstpointer adj) { + gchar *race_str = gwp_race_get_adjective(GWP_RACE(race)); + if (strncmp(race_str, adj, strlen(adj)) == 0) + return 0; +@@ -2639,7 +2639,7 @@ + /* Assign known planet values */ + gwp_planet_set_is_known (planet, TRUE); + /* Compare func */ +- static gint compare_race (gconstpointer race, gconstpointer adj) { ++ gint compare_race (gconstpointer race, gconstpointer adj) { + gchar *race_str = gwp_race_get_adjective(GWP_RACE(race)); + if (strncmp(race_str, adj, strlen(adj)) == 0) + return 0; +--- src/gwp-py-mappings.c.old 2006-03-05 01:28:39.000000000 +0900 ++++ src/gwp-py-mappings.c 2006-03-05 01:29:30.000000000 +0900 +@@ -8657,7 +8657,7 @@ + { + PyObject *ret = PyDict_New(); + +- static void add_ship (gpointer key, gpointer value, gpointer user_data) { ++ void add_ship (gpointer key, gpointer value, gpointer user_data) { + PyObject *dict = (PyObject *)user_data; + GwpShip *ship = GWP_SHIP(value); + +@@ -8679,7 +8679,7 @@ + { + PyObject *ret = PyDict_New(); + +- static void add_planet (gpointer key, gpointer value, gpointer user_data) { ++ void add_planet (gpointer key, gpointer value, gpointer user_data) { + PyObject *dict = (PyObject *)user_data; + GwpPlanet *planet = GWP_PLANET(value); + +@@ -8701,7 +8701,7 @@ + { + PyObject *ret = PyDict_New(); + +- static void add_hullspec (gpointer value, gpointer user_data) { ++ void add_hullspec (gpointer value, gpointer user_data) { + PyObject *dict = (PyObject *)user_data; + GwpHullSpec *hullspec = GWP_HULLSPEC(value); + +@@ -8723,7 +8723,7 @@ + { + PyObject *ret = PyDict_New(); + +- static void add_engspec (gpointer value, gpointer user_data) { ++ void add_engspec (gpointer value, gpointer user_data) { + PyObject *dict = (PyObject *)user_data; + GwpEngSpec *engspec = GWP_ENGSPEC(value); + +@@ -8745,7 +8745,7 @@ + { + PyObject *ret = PyDict_New(); + +- static void add_beamspec (gpointer value, gpointer user_data) { ++ void add_beamspec (gpointer value, gpointer user_data) { + PyObject *dict = (PyObject *)user_data; + GwpBeamSpec *beamspec = GWP_BEAMSPEC(value); + +@@ -8767,7 +8767,7 @@ + { + PyObject *ret = PyDict_New(); + +- static void add_torpspec (gpointer value, gpointer user_data) { ++ void add_torpspec (gpointer value, gpointer user_data) { + PyObject *dict = (PyObject *)user_data; + GwpTorpSpec *torpspec = GWP_TORPSPEC(value); + +--- src/vcr.c.old 2006-03-05 01:25:37.000000000 +0900 ++++ src/vcr.c 2006-03-05 01:40:19.000000000 +0900 +@@ -2692,7 +2692,6 @@ + { + gchar *name; + gint *idlist; +- static void foreach_func( gpointer key, gpointer value, gpointer user_data ); + + /* test if list is already populated */ + idlist = (gint *)g_object_get_data(G_OBJECT(lookup_widget("vcr_comboboxentry_sel_ext_shp_a")), "shipidlist"); diff --git a/games-strategy/gwp/gwp-0.4.0.ebuild b/games-strategy/gwp/gwp-0.4.0.ebuild new file mode 100644 index 000000000000..17a79f937a75 --- /dev/null +++ b/games-strategy/gwp/gwp-0.4.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/gwp/gwp-0.4.0.ebuild,v 1.1 2006/06/06 21:22:09 wolf31o2 Exp $ + +inherit eutils games + +DESCRIPTION="GNOME client for the classic PBEM strategy game VGA Planets 3" +HOMEPAGE="http://gwp.lunix.com.ar" +SRC_URI="http://gwp.lunix.com.ar/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="python opengl" + +DEPEND=" + =x11-libs/gtk+-2* + =gnome-base/libgnomeui-2* + =gnome-base/libglade-2* + app-text/scrollkeeper + dev-libs/libpcre + opengl? ( =dev-python/pygtk-2* + =x11-libs/gtkglext-1* )" +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}/${P}-gcc41.patch" +} + +src_compile() { + egamesconf \ + $(use_enable opengl gtkglext) \ + $(use_enable python) \ + || die "Error: econf failed!" + emake || die "Error: emake failed!" +} + +src_install () { + make DESTDIR=${D} localstatedir=${D}/var/games/gwp install || die "Error: install failed" + dodoc AUTHORS COPYING ChangeLog README TODO + doicon ${PN}.png + make_desktop_entry gwp "Gnome WarPad" + prepgamesdirs +} diff --git a/games-strategy/gwp/metadata.xml b/games-strategy/gwp/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-strategy/gwp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> |