[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#727647: opu: package xfce4-weather-plugin/0.7.3-3+squeeze2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: opu

Hi,

this is the same request than #727639 but for Squeeze. debdiff is
attached.

Thanks in advance.

Regards,
-- 
Yves-Alexis

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (450, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Differences in xfce4-weather-plugin between 0.7.3-3+squeeze1 and 0.7.3-3+squeeze2
diff -u xfce4-weather-plugin-0.7.3/debian/changelog xfce4-weather-plugin-0.7.3/debian/changelog
--- xfce4-weather-plugin-0.7.3/debian/changelog
+++ xfce4-weather-plugin-0.7.3/debian/changelog
@@ -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@debian.org>  Thu, 24 Oct 2013 22:32:29 +0200
+
 xfce4-weather-plugin (0.7.3-3+squeeze1) stable; urgency=low
 
   * debian/patches:
only in patch2:
unchanged:
--- xfce4-weather-plugin-0.7.3.orig/debian/patches/02_uri_change.patch
+++ xfce4-weather-plugin-0.7.3/debian/patches/02_uri_change.patch
@@ -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 */

Reply to: