Your message dated Thu, 31 Oct 2013 23:47:24 +0000
with message-id <e1vc1xu-0002xb...@franck.debian.org>
and subject line Bug#727628: fixed in xfce4-weather-plugin 0.7.3-3+squeeze2
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.3-3+squeeze2
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: Wed, 30 Oct 2013 08:40:56 +0100
Source: xfce4-weather-plugin
Binary: xfce4-weather-plugin
Architecture: source amd64
Version: 0.7.3-3+squeeze2
Distribution: squeeze
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.3-3+squeeze2) squeeze; urgency=low
.
* debian/patches:
- 02_uri_change added, update weather.com API URI. closes: #727628
Checksums-Sha1:
8d034215795ba9ba1b48ebd6f3c7e764c005bffe 1800
xfce4-weather-plugin_0.7.3-3+squeeze2.dsc
2cb35a5a0b24e3b8e2a24d61b76702ca59f4b942 4865
xfce4-weather-plugin_0.7.3-3+squeeze2.diff.gz
169418bea663d12d97bc113c6229d944a565560c 514728
xfce4-weather-plugin_0.7.3-3+squeeze2_amd64.deb
Checksums-Sha256:
8bdbf50498673c7615b2b72dadb3973fae46e7b8da7aa5df58bb9662e7b1fd0f 1800
xfce4-weather-plugin_0.7.3-3+squeeze2.dsc
ef60d183089d666329daec26c6beaeb78cfe2e3725b16af4b9104569c519d96a 4865
xfce4-weather-plugin_0.7.3-3+squeeze2.diff.gz
c7d3f3aaf4d49967f2d7037fb0548cfa8a616cc9d9c4da11306f9aff2ae95910 514728
xfce4-weather-plugin_0.7.3-3+squeeze2_amd64.deb
Files:
519df2ec4c552f998c64a4197c77d550 1800 xfce optional
xfce4-weather-plugin_0.7.3-3+squeeze2.dsc
370b5d4142877a82adf2a39b0e428c6f 4865 xfce optional
xfce4-weather-plugin_0.7.3-3+squeeze2.diff.gz
77e5b592f89d87df6231fb9b94ee6f7c 514728 xfce optional
xfce4-weather-plugin_0.7.3-3+squeeze2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBCgAGBQJScLqdAAoJEG3bU/KmdcClmmYH/Ry0n47hnZya7HX46psIsjTp
BTYwy9HrOL42IkSktyBGM+6aDg89tVLYp4cGtetGcXM9qp1A2MKzULLtOcZkUt4l
AThGsVd6x/iAIVWIixbefm/Zo+lZcyjKm+gi5guqRuIp7R2Bvy4RsJ6kE5S+1c76
KuduyTUWU+j6nIKSnACQPkM5g1tzzjNbqkLazELIJuPINvWhu74DB2MT3WXc+8bI
DegwFLT4cuUTbXVuIe8mp4NFVn8ttl3VJEbbIQnncmq7QS0hujVI7l2T071F1uS3
lRWeJlq3MslvB+Clex/yZGtIQHXOrNPze0CYqpmtPTIl1MZNZNllFSNLFge7ZwA=
=zCMN
-----END PGP SIGNATURE-----
--- End Message ---