rpms/gnome-games/devel ggz-api-changes.patch, NONE, 1.1 gnome-games.spec, 1.183, 1.184

Matthias Clasen mclasen at fedoraproject.org
Tue Sep 9 03:04:43 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/gnome-games/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22856

Modified Files:
	gnome-games.spec 
Added Files:
	ggz-api-changes.patch 
Log Message:
adapt to ggz api changes


ggz-api-changes.patch:

--- NEW FILE ggz-api-changes.patch ---
diff -up gnome-games-2.23.92/dependencies/ggz-gtk/ggzclient.c.ggz-api-changes gnome-games-2.23.92/dependencies/ggz-gtk/ggzclient.c
--- gnome-games-2.23.92/dependencies/ggz-gtk/ggzclient.c.ggz-api-changes	2008-09-08 22:38:26.000000000 -0400
+++ gnome-games-2.23.92/dependencies/ggz-gtk/ggzclient.c	2008-09-08 22:39:02.000000000 -0400
@@ -227,7 +227,7 @@ static GGZHookReturn ggz_logged_in(GGZSe
 	ggzcore_server_add_event_hook(server, GGZ_ROOM_LIST,
 				      ggz_auto_join);
 	ggzcore_server_list_gametypes(server, 1);
-	ggzcore_server_list_rooms(server, -1, 1);
+	ggzcore_server_list_rooms(server, 1);
 
 
 	/* If this was a first-time login, get the password from the server */
@@ -309,8 +309,7 @@ static GGZHookReturn ggz_entered(GGZServ
 
 	/* Get player list */
 	/* FIXME: Player list should use the ggz update system */
-	ggzcore_room_list_tables(ggzcore_server_get_cur_room(server), -1,
-				 0);
+	ggzcore_room_list_tables(ggzcore_server_get_cur_room(server));
 	ggzcore_room_list_players(ggzcore_server_get_cur_room(server));
 
 


Index: gnome-games.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-games/devel/gnome-games.spec,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -r1.183 -r1.184
--- gnome-games.spec	9 Sep 2008 01:40:47 -0000	1.183
+++ gnome-games.spec	9 Sep 2008 03:04:13 -0000	1.184
@@ -49,6 +49,8 @@
 License: GPLv2+ and GFDL
 Group: Amusements/Games
 Source: http://download.gnome.org/sources/gnome-games/2.23/gnome-games-%{version}.tar.bz2
+# http://bugzilla.gnome.org/show_bug.cgi?id=551455 
+Patch0: ggz-api-changes.patch
 Patch1: gnome-games-2.19.4-gnometris-rebrand.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
@@ -105,6 +107,7 @@
 Provides: glchess
 Obsoletes: glchess < 2.0
 
+
 %description
 
 The gnome-games package includes some small games that come with the
@@ -120,6 +123,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .ggz-api-changes
 # rebrand gnometris as some think the name is to similar to a trademark
 %patch1 -p1 -b .rebrand
 
@@ -346,6 +350,7 @@
 %changelog
 * Mon Sep  8 2008 Matthias Clasen <mclasen at redhat.com> - 1:2.23.92-1
 - Update to 2.23.92
+- Adapt to api changes in the ggz snapshot we ship
 
 * Sat Aug 23 2008 Matthias Clasen <mclasen at redhat.com> - 1:2.23.90-1
 - Update to 2.23.90




More information about the fedora-extras-commits mailing list