Initial import. Original ebuild by James Jones <jcjones@ufl.edu> and edited by me...
authorChris Gianelloni <wolf31o2@gentoo.org>
Tue, 6 Jun 2006 21:22:09 +0000 (21:22 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Tue, 6 Jun 2006 21:22:09 +0000 (21:22 +0000)
Package-Manager: portage-2.1_rc3-r2

games-strategy/gwp/ChangeLog [new file with mode: 0644]
games-strategy/gwp/Manifest [new file with mode: 0644]
games-strategy/gwp/files/digest-gwp-0.4.0 [new file with mode: 0644]
games-strategy/gwp/files/gwp-0.4.0-gcc41.patch [new file with mode: 0644]
games-strategy/gwp/gwp-0.4.0.ebuild [new file with mode: 0644]
games-strategy/gwp/metadata.xml [new file with mode: 0644]

diff --git a/games-strategy/gwp/ChangeLog b/games-strategy/gwp/ChangeLog
new file mode 100644 (file)
index 0000000..33ce62c
--- /dev/null
@@ -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 (file)
index 0000000..dde8bd2
--- /dev/null
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 1136 RMD160 27f83166a536fb12646d2e3b41579c85ea48be1e SHA1 19485f80b1835c31979938004aa9682fc0793c7c SHA256 bd1b34066618bf741046e94edca6a27011e1b8f885349e76c924566a659c831e
+MD5 6d254401487b2afe3375770fdbed1f7b gwp-0.4.0.ebuild 1136
+RMD160 27f83166a536fb12646d2e3b41579c85ea48be1e gwp-0.4.0.ebuild 1136
+SHA256 bd1b34066618bf741046e94edca6a27011e1b8f885349e76c924566a659c831e gwp-0.4.0.ebuild 1136
+MISC ChangeLog 539 RMD160 6642109c785ca20ff596e0c591c4cf6cce03e573 SHA1 6b582f0ab7c509e1b97bdbc3feed79774919ef0d SHA256 ad2baa95f948bf08c1cd94d697c34f0376a624fdfecc5031deae03efcbb03119
+MD5 2591cbdcc0debb3f9ed32c0a8e9c68c2 ChangeLog 539
+RMD160 6642109c785ca20ff596e0c591c4cf6cce03e573 ChangeLog 539
+SHA256 ad2baa95f948bf08c1cd94d697c34f0376a624fdfecc5031deae03efcbb03119 ChangeLog 539
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.3 (GNU/Linux)
+
+iD8DBQFEhfI/kT4lNIS36YERAjJtAJsGmgmJ4JikQkSa/dLKU76e+PUU5ACgul92
+/i/vUC/vJcKMmP5OfDidcww=
+=4CP7
+-----END PGP SIGNATURE-----
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 (file)
index 0000000..f76e7f9
--- /dev/null
@@ -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 (file)
index 0000000..264186e
--- /dev/null
@@ -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 (file)
index 0000000..17a79f9
--- /dev/null
@@ -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 (file)
index 0000000..d3c2cc9
--- /dev/null
@@ -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>