Hi, xfce4-weather-plugin in stable recently stopped to work, because it uses weather.com XOAP without really respecting the API, and especially it doesn't use a key. The version in testing correctly handles that, but the patch is too heavy for a stable upload. An intermediate version would be to only use the API key (which would fix the problem without correctly respecting weather.com api). I've prepared a package for stable, debdiff is attached. Would it be possible to include it in spu and in the next stable release? Cheers and thanks, -- Yves-Alexis
diff -u xfce4-weather-plugin-0.6.2/debian/changelog xfce4-weather-plugin-0.6.2/debian/changelog
--- xfce4-weather-plugin-0.6.2/debian/changelog
+++ xfce4-weather-plugin-0.6.2/debian/changelog
@@ -1,3 +1,11 @@
+xfce4-weather-plugin (0.6.2-1+lenny1) stable; urgency=low
+
+ * debian/patches:
+ - 01_add-weather.com-api-key added: use the xfce4-weather-plugin API
+ key so weather.com gives us the weather. closes: #536289
+
+ -- Yves-Alexis Perez <corsac@debian.org> Sat, 11 Jul 2009 15:23:01 +0200
+
xfce4-weather-plugin (0.6.2-1) unstable; urgency=low
[ Simon Huggins ]
only in patch2:
unchanged:
--- xfce4-weather-plugin-0.6.2.orig/debian/patches/01_add-weather.com-api-key.patch
+++ xfce4-weather-plugin-0.6.2/debian/patches/01_add-weather.com-api-key.patch
@@ -0,0 +1,29 @@
+diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
+index 75c3d3c..0eb9487 100644
+--- a/panel-plugin/weather.c
++++ b/panel-plugin/weather.c
+@@ -338,9 +338,10 @@ update_weatherdata (xfceweather_data *data)
+ }
+
+ /* build url */
+- url = g_strdup_printf ("/weather/local/%s?cc=*&dayf=%d&unit=%c",
++ url = g_strdup_printf ("/weather/local/%s?cc=*&dayf=%d&unit=%c&link=xoap&prod=xoap&par=%s&key=%s",
+ data->location_code, XML_WEATHER_DAYF_N,
+- data->unit == METRIC ? 'm' : 'i');
++ data->unit == METRIC ? 'm' : 'i',
++ PARTNER_ID, LICENSE_KEY);
+
+ /* start receive thread */
+ weather_http_receive_data ("xoap.weather.com", url, data->proxy_host,
+diff --git a/panel-plugin/weather.h b/panel-plugin/weather.h
+index ef85749..f0adb47 100644
+--- a/panel-plugin/weather.h
++++ b/panel-plugin/weather.h
+@@ -22,6 +22,8 @@
+
+ #include <libxfce4panel/xfce-panel-plugin.h>
+ #include <libxfce4util/libxfce4util.h>
++#define PARTNER_ID "1121946239"
++#define LICENSE_KEY "3c4cd39ee5dec84f"
+
+ G_BEGIN_DECLS
Attachment:
signature.asc
Description: This is a digitally signed message part