rpms/gnome-applets/devel gweather-network.patch, 1.4, 1.5 gnome-applets.spec, 1.335, 1.336

Matthias Clasen mclasen at fedoraproject.org
Wed Apr 15 23:04:55 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/gnome-applets/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9981

Modified Files:
	gnome-applets.spec 
Added Files:
	gweather-network.patch 
Log Message:
fix network status tracking


gweather-network.patch:

Index: gweather-network.patch
===================================================================
RCS file: gweather-network.patch
diff -N gweather-network.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gweather-network.patch	15 Apr 2009 23:04:54 -0000	1.5
@@ -0,0 +1,22 @@
+diff -up gnome-applets-2.26.1/gweather/gweather-applet.c.network gnome-applets-2.26.1/gweather/gweather-applet.c
+--- gnome-applets-2.26.1/gweather/gweather-applet.c.network	2009-04-15 18:53:13.123633124 -0400
++++ gnome-applets-2.26.1/gweather/gweather-applet.c	2009-04-15 18:54:17.438384718 -0400
+@@ -17,6 +17,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <assert.h>
++#include <netinet/in.h>
++#include <arpa/nameser.h>
++#include <resolv.h>
+ 
+ #include <gconf/gconf-client.h>
+ #include <panel-applet.h>
+@@ -552,6 +555,8 @@ state_notify (DBusPendingCall *pending, 
+                                            DBUS_TYPE_UINT32, &result,
+                                            DBUS_TYPE_INVALID)) {
+                         if (result == NM_STATE_CONNECTED) {
++				/* thank you, glibc */
++				res_init ();
+ 				gweather_update (gw_applet);
+                         }
+                 }


Index: gnome-applets.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-applets/devel/gnome-applets.spec,v
retrieving revision 1.335
retrieving revision 1.336
diff -u -r1.335 -r1.336
--- gnome-applets.spec	13 Apr 2009 04:16:59 -0000	1.335
+++ gnome-applets.spec	15 Apr 2009 23:04:54 -0000	1.336
@@ -61,6 +61,9 @@
 # and keep the mixer hidden away from the add to panel dialog
 Patch41:	gnome-applets-no-mixer-icon.patch
 
+# http://bugzilla.gnome.org/show_bug.cgi?id=579098
+Patch42:	gweather-network.patch
+
 BuildRequires:  glib2-devel >= %{glib2_version}
 BuildRequires:  gtk2-devel >= %{gtk2_version}
 BuildRequires:  libgnomeui-devel >= %{libgnomeui_version}
@@ -144,6 +147,7 @@
 %patch31 -p1 -b .fix-find
 %patch40 -p1 -b .battstat-null
 %patch41 -p1 -b .no-mixer-icon
+%patch42 -p1 -b .network
 
 # We don't ship gnome-system-tools
 rm -rf modemlights
@@ -338,6 +342,9 @@
 %{_datadir}/PolicyKit/policy/org.gnome.cpufreqselector.policy
 
 %changelog
+* Wed Apr 15 2009 Matthias Clasen <mclasen at redhat.com> - 1:2.26.1-2
+- Make gweather network status tracking work
+
 * Mon Apr 13 2009 Matthias Clasen <mclasen at redhat.com> - 1:2.26.1-1
 - Update to 2.26.1
 




More information about the scm-commits mailing list