Your message dated Tue, 29 Oct 2013 21:17:42 +0000
with message-id <e1vbgfw-0001my...@franck.debian.org>
and subject line Bug#727628: fixed in xfce4-weather-plugin 0.7.4-4
has caused the Debian Bug report #727628,
regarding broken by weather.com URI change
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
727628: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727628
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: xfce4-weather-plugin
Version: 0.7.4-3+b1
Severity: grave
Tags: patch
Control: fixed -1 xfce4-weather-plugin/0.8.2-1

Hi,

The version of xfce4-weather-plugin in wheezy uses the
wxdata.weather.com API which has changed its URI.  301 Permanent
Redirects are served but the plugin does not follow them.

weather.com is no longer used as a data source since version 0.8.0 so
I'm sure later versions will be unaffected.

Simply updating the plugin to the new URI fixes current weather data,
forecasts and the search feature.  Patch is attached.  Thanks!

-- System Information:
Debian Release: 7.2
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfce4-weather-plugin depends on:
ii  libc6               2.13-38
ii  libcairo2           1.12.2-3
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-0        2.33.12+really2.32.4-5
ii  libgtk2.0-0         2.24.10-2
ii  libpango1.0-0       1.30.0-1
ii  libxfce4util4       4.8.2-1
ii  libxfcegui4-4       4.8.1-5
ii  libxml2             2.8.0+dfsg1-7+nmu2
pn  xfce4-panel         <none>

xfce4-weather-plugin recommends no packages.

xfce4-weather-plugin suggests no packages.

-- no debconf information
Index: xfce4-weather-plugin-0.7.4/panel-plugin/weather-search.c
===================================================================
--- xfce4-weather-plugin-0.7.4.orig/panel-plugin/weather-search.c	2011-02-02 20:31:29.000000000 +0000
+++ xfce4-weather-plugin-0.7.4/panel-plugin/weather-search.c	2013-10-24 19:29:21.000000000 +0100
@@ -177,11 +177,11 @@
   gtk_widget_set_sensitive(dialog->find_button, FALSE);
   gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog->dialog), GTK_RESPONSE_ACCEPT, FALSE);
 
-  url = g_strdup_printf ("/search/search?where=%s", sane_str);
+  url = g_strdup_printf ("/wxdata/search/search?where=%s", sane_str);
   g_free (sane_str);
 
   gtk_tree_view_column_set_title(dialog->column, _("Searching..."));
-  weather_http_receive_data ("xoap.weather.com", url,
+  weather_http_receive_data ("wxdata.weather.com", url,
                              dialog->proxy_host, dialog->proxy_port,
                              cb_searchdone, dialog);
 
@@ -503,10 +503,10 @@
      }
      g_free(full_loc);
 
-     url = g_strdup_printf ("/search/search?where=%s", sane_str);
+     url = g_strdup_printf ("/wxdata/search/search?where=%s", sane_str);
      g_free (sane_str);
 
-     weather_http_receive_data ("xoap.weather.com", url,
+     weather_http_receive_data ("wxdata.weather.com", url,
                         	data->proxy_host, data->proxy_port,
                         	cb_geo_searchdone, data);
      g_free(url);
Index: xfce4-weather-plugin-0.7.4/panel-plugin/weather-summary.c
===================================================================
--- xfce4-weather-plugin-0.7.4.orig/panel-plugin/weather-summary.c	2011-02-02 20:31:29.000000000 +0000
+++ xfce4-weather-plugin-0.7.4/panel-plugin/weather-summary.c	2013-10-24 19:28:31.000000000 +0100
@@ -215,7 +215,7 @@
 	pixbuf = gdk_pixbuf_new_from_file(path, NULL);
 	g_free(path);
 	if (pixbuf == NULL) {
-		weather_http_receive_data ("xoap.weather.com", "/web/common/twc/logos/web_73x55.jpg",
+		weather_http_receive_data ("www.weather.com", "/web/common/twc/logos/web_73x55.jpg",
 			data->proxy_host, data->proxy_port, logo_fetched, image);
 	} else {
 		gtk_image_set_from_pixbuf(GTK_IMAGE(image), pixbuf);
Index: xfce4-weather-plugin-0.7.4/panel-plugin/weather.c
===================================================================
--- xfce4-weather-plugin-0.7.4.orig/panel-plugin/weather.c	2011-02-02 20:31:29.000000000 +0000
+++ xfce4-weather-plugin-0.7.4/panel-plugin/weather.c	2013-10-24 19:27:17.000000000 +0100
@@ -377,13 +377,13 @@
     }
 
   /* build url */
-  url = g_strdup_printf ("/weather/local/%s?cc=*&dayf=%d&unit=%c&link=xoap&prod=xoap&par=%s&key=%s",
+  url = g_strdup_printf ("/wxdata/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',
 			 PARTNER_ID, LICENSE_KEY);
 
   /* start receive thread */
-  weather_http_receive_data ("xoap.weather.com", url, data->proxy_host,
+  weather_http_receive_data ("wxdata.weather.com", url, data->proxy_host,
                              data->proxy_port, cb_update, data);
 
   /* cleanup */

--- End Message ---
--- Begin Message ---
Source: xfce4-weather-plugin
Source-Version: 0.7.4-4

We believe that the bug you reported is fixed in the latest version of
xfce4-weather-plugin, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 727...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yves-Alexis Perez <cor...@debian.org> (supplier of updated xfce4-weather-plugin 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 24 Oct 2013 22:17:51 +0200
Source: xfce4-weather-plugin
Binary: xfce4-weather-plugin
Architecture: source amd64
Version: 0.7.4-4
Distribution: wheezy
Urgency: low
Maintainer: Debian Xfce Maintainers <pkg-xfce-de...@lists.alioth.debian.org>
Changed-By: Yves-Alexis Perez <cor...@debian.org>
Description: 
 xfce4-weather-plugin - weather information plugin for the Xfce4 panel
Closes: 727628
Changes: 
 xfce4-weather-plugin (0.7.4-4) wheezy; urgency=low
 .
   * debian/patches:
     - 01_uri_change added, update weather.com API URI.          closes: #727628
Checksums-Sha1: 
 cf68b25586187ae80e5d8e0184bebc8bb3daa611 1839 xfce4-weather-plugin_0.7.4-4.dsc
 31aeb70db36833ac96fb08094f052273850d3b66 5115 
xfce4-weather-plugin_0.7.4-4.debian.tar.gz
 f4a7b95af523c6d597024af250d605be924606d0 574334 
xfce4-weather-plugin_0.7.4-4_amd64.deb
Checksums-Sha256: 
 0a9bd14265f5d3d690b0572f185ad42c903bf93124e438bb52a80d203658460e 1839 
xfce4-weather-plugin_0.7.4-4.dsc
 e4acd56e04205f00e0af65afdebfbf7ee98b40759a837682ddd58258dc263ed0 5115 
xfce4-weather-plugin_0.7.4-4.debian.tar.gz
 2302d81ae55c2b3d24cd5fcce7b027bfeb3a2b237de4154c1c017aeb80c94327 574334 
xfce4-weather-plugin_0.7.4-4_amd64.deb
Files: 
 e0ba76821b167cad82e3c451f9c487f5 1839 xfce optional 
xfce4-weather-plugin_0.7.4-4.dsc
 181f6c37d01f3ec3761b6dca28203eff 5115 xfce optional 
xfce4-weather-plugin_0.7.4-4.debian.tar.gz
 e52d287276af17c6163f363d8cf8a8ae 574334 xfce optional 
xfce4-weather-plugin_0.7.4-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBCgAGBQJSaYODAAoJEG3bU/KmdcClY60H/iTfB25QWPnn5lOsyJqFv5bG
yLi0VbhQ3at0tnwiT2pOlx9st0pHAbKdgpsB0DrC+Lb61zV3inhlzZ5ok5wZ5C6P
DUCc6EPQophaGRX6HkCSk/7CkXuygoMBd5I2RwgfARHwN1F4KOHuOP7BbMsaNPBK
SnI6B8Y3UrE0YZS0HoxD07rDyFNTYmOr+NCyQGZdlAVp6gg/1pXMlUqU0ecKIO3r
OghnIxdEiv4ep/D9unIhuws+DH5OXmaSGa1U6NZs/NC8skgh4iRGnT0Y2cip1fWH
j8CRAI97EIVn5rqyHfQGQUsFS+6CdyCjTNHkosoq2Xp4et2RSxmmrIl8p+uy+9k=
=EyjY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to