[Pkg-xfce-commits] r8015 - in /goodies/branches/wheezy/xfce4-weather-plugin/debian: changelog patches/01_uri_change.patch patches/series

Yves-Alexis Perez corsac at alioth.debian.org
Thu Oct 24 19:58:05 UTC 2013


Author: corsac
Date: Thu Oct 24 19:58:04 2013
New Revision: 8015

URL: http://svn.debian.org/wsvn/pkg-xfce/?sc=1&rev=8015
Log:
* debian/patches:
  - 01_uri_change added, update weather.com API URI.          closes: #727628

Added:
    goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/01_uri_change.patch
Modified:
    goodies/branches/wheezy/xfce4-weather-plugin/debian/changelog
    goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/series

Modified: goodies/branches/wheezy/xfce4-weather-plugin/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/branches/wheezy/xfce4-weather-plugin/debian/changelog?rev=8015&op=diff
==============================================================================
--- goodies/branches/wheezy/xfce4-weather-plugin/debian/changelog	(original)
+++ goodies/branches/wheezy/xfce4-weather-plugin/debian/changelog	Thu Oct 24 19:58:04 2013
@@ -1,3 +1,10 @@
+xfce4-weather-plugin (0.7.4-4) UNRELEASED; urgency=low
+
+  * debian/patches:
+    - 01_uri_change added, update weather.com API URI.          closes: #727628
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Thu, 24 Oct 2013 21:46:58 +0200
+
 xfce4-weather-plugin (0.7.4-3) unstable; urgency=low
 
   * Brown paper bag release.

Added: goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/01_uri_change.patch
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/01_uri_change.patch?rev=8015&op=file
==============================================================================
--- goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/01_uri_change.patch	(added)
+++ goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/01_uri_change.patch	Thu Oct 24 19:58:04 2013
@@ -0,0 +1,64 @@
+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 */

Modified: goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/series?rev=8015&op=diff
==============================================================================
--- goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/series	(original)
+++ goodies/branches/wheezy/xfce4-weather-plugin/debian/patches/series	Thu Oct 24 19:58:04 2013
@@ -1 +1,2 @@
 00_license.patch
+01_uri_change.patch




More information about the Pkg-xfce-commits mailing list