[Pkg-xfce-commits] r8020 - in /goodies/branches/squeeze/xfce4-weather-plugin/debian: changelog patches/02_uri_change.patch
Yves-Alexis Perez
corsac at alioth.debian.org
Thu Oct 24 21:13:40 UTC 2013
Author: corsac
Date: Thu Oct 24 21:13:39 2013
New Revision: 8020
URL: http://svn.debian.org/wsvn/pkg-xfce/?sc=1&rev=8020
Log:
* debian/patches:
- 02_uri_change added, update weather.com API URI. closes: #727628
Added:
goodies/branches/squeeze/xfce4-weather-plugin/debian/patches/02_uri_change.patch
Modified:
goodies/branches/squeeze/xfce4-weather-plugin/debian/changelog
Modified: goodies/branches/squeeze/xfce4-weather-plugin/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/branches/squeeze/xfce4-weather-plugin/debian/changelog?rev=8020&op=diff
==============================================================================
--- goodies/branches/squeeze/xfce4-weather-plugin/debian/changelog (original)
+++ goodies/branches/squeeze/xfce4-weather-plugin/debian/changelog Thu Oct 24 21:13:39 2013
@@ -1,3 +1,10 @@
+xfce4-weather-plugin (0.7.3-3+squeeze2) UNRELEASED; urgency=low
+
+ * debian/patches:
+ - 02_uri_change added, update weather.com API URI. closes: #727628
+
+ -- Yves-Alexis Perez <corsac at debian.org> Thu, 24 Oct 2013 22:32:29 +0200
+
xfce4-weather-plugin (0.7.3-3+squeeze1) stable; urgency=low
* debian/patches:
Added: goodies/branches/squeeze/xfce4-weather-plugin/debian/patches/02_uri_change.patch
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/branches/squeeze/xfce4-weather-plugin/debian/patches/02_uri_change.patch?rev=8020&op=file
==============================================================================
--- goodies/branches/squeeze/xfce4-weather-plugin/debian/patches/02_uri_change.patch (added)
+++ goodies/branches/squeeze/xfce4-weather-plugin/debian/patches/02_uri_change.patch Thu Oct 24 21:13:39 2013
@@ -0,0 +1,58 @@
+--- a/panel-plugin/weather-search.c
++++ b/panel-plugin/weather-search.c
+@@ -179,11 +179,11 @@ search_cb (GtkWidget *widget,
+ 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);
+
+@@ -487,10 +487,10 @@ cb_geolocation (gboolean succeed,
+ }
+ 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);
+--- a/panel-plugin/weather-summary.c
++++ b/panel-plugin/weather-summary.c
+@@ -216,7 +216,7 @@ static GtkWidget *weather_summary_get_lo
+ 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);
+--- a/panel-plugin/weather.c
++++ b/panel-plugin/weather.c
+@@ -383,13 +383,13 @@ update_weatherdata (xfceweather_data *da
+ }
+
+ /* 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 */
More information about the Pkg-xfce-commits
mailing list