[Pkg-xfce-commits] r9503 - in /goodies/trunk/xfce4-weather-plugin/debian: changelog patches/01_update-yr.no-url.patch patches/series
Yves-Alexis Perez
corsac at moszumanska.debian.org
Mon Aug 29 12:12:57 UTC 2016
Author: corsac
Date: Mon Aug 29 12:12:56 2016
New Revision: 9503
URL: http://svn.debian.org/wsvn/pkg-xfce/?sc=1&rev=9503
Log:
* debian/patches:
- 01_update-yr.no-url added, update API url for Yr.no serice.
Added:
goodies/trunk/xfce4-weather-plugin/debian/patches/01_update-yr.no-url.patch
goodies/trunk/xfce4-weather-plugin/debian/patches/series
Modified:
goodies/trunk/xfce4-weather-plugin/debian/changelog
Modified: goodies/trunk/xfce4-weather-plugin/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-weather-plugin/debian/changelog?rev=9503&op=diff
==============================================================================
--- goodies/trunk/xfce4-weather-plugin/debian/changelog (original)
+++ goodies/trunk/xfce4-weather-plugin/debian/changelog Mon Aug 29 12:12:56 2016
@@ -1,3 +1,10 @@
+xfce4-weather-plugin (0.8.7-2) UNRELEASED; urgency=medium
+
+ * debian/patches:
+ - 01_update-yr.no-url added, update API url for Yr.no serice.
+
+ -- Yves-Alexis Perez <corsac at debian.org> Mon, 29 Aug 2016 14:02:40 +0200
+
xfce4-weather-plugin (0.8.7-1) unstable; urgency=medium
[ Mateusz Åukasik ]
Added: goodies/trunk/xfce4-weather-plugin/debian/patches/01_update-yr.no-url.patch
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-weather-plugin/debian/patches/01_update-yr.no-url.patch?rev=9503&op=file
==============================================================================
--- goodies/trunk/xfce4-weather-plugin/debian/patches/01_update-yr.no-url.patch (added)
+++ goodies/trunk/xfce4-weather-plugin/debian/patches/01_update-yr.no-url.patch Mon Aug 29 12:12:56 2016
@@ -0,0 +1,20 @@
+--- a/panel-plugin/weather.c
++++ b/panel-plugin/weather.c
+@@ -619,7 +619,7 @@ update_handler(plugin_data *data)
+ end_tm = *localtime(&end_t);
+
+ /* build url */
+- url = g_strdup_printf("http://api.yr.no/weatherapi/sunrise/1.1/?"
++ url = g_strdup_printf("http://api.net.no/weatherapi/sunrise/1.1/?"
+ "lat=%s;lon=%s;"
+ "from=%04d-%02d-%02d;"
+ "to=%04d-%02d-%02d",
+@@ -646,7 +646,7 @@ update_handler(plugin_data *data)
+
+ /* build url */
+ url =
+- g_strdup_printf("http://api.yr.no/weatherapi"
++ g_strdup_printf("http://api.met.no/weatherapi"
+ "/locationforecastlts/1.2/?lat=%s;lon=%s;msl=%d",
+ data->lat, data->lon, data->msl);
+
Added: goodies/trunk/xfce4-weather-plugin/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-weather-plugin/debian/patches/series?rev=9503&op=file
==============================================================================
--- goodies/trunk/xfce4-weather-plugin/debian/patches/series (added)
+++ goodies/trunk/xfce4-weather-plugin/debian/patches/series Mon Aug 29 12:12:56 2016
@@ -0,0 +1 @@
+01_update-yr.no-url.patch
More information about the Pkg-xfce-commits
mailing list