Paste #9UIqKBd1vJ1U1D061Av0

diff -Nru xfce4-weather-plugin-0.8.9/debian/changelog xfce4-weather-plugin-0.8.9/debian/changelog
xfce4-weather-plugin-0.8.9/debian/changelog [2017-02-18 10:05:43.000000000 -0500]
xfce4-weather-plugin-0.8.9/debian/changelog [2017-10-10 11:26:51.000000000 -0400]
1 xfce4-weather-plugin (0.8.9-1ubuntu1) devel; urgency=medium
2
3 * d/p/001_Set-USER_AGENT-for-nominatim-search.patch:
4 - Add patch from upstream to fix searching for location. (LP: #1718182)
5
6 -- Unit 193 <unit193@ubuntu.com> Tue, 10 Oct 2017 11:26:31 -0400
7
1 8 xfce4-weather-plugin (0.8.9-1) unstable; urgency=medium
2 9
3 10 * New upstream release.
diff -Nru xfce4-weather-plugin-0.8.9/debian/control xfce4-weather-plugin-0.8.9/debian/control
xfce4-weather-plugin-0.8.9/debian/control [2016-04-27 05:37:50.000000000 -0400]
xfce4-weather-plugin-0.8.9/debian/control [2017-10-10 11:27:17.000000000 -0400]
1 1 Source: xfce4-weather-plugin
2 2 Section: xfce
3 3 Priority: optional
4 Maintainer: Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>
4 Maintainer: Xubuntu Developers <xubuntu-devel@lists.ubuntu.com>
5 XSBC-Original-Maintainer: Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>
5 6 Uploaders: Yves-Alexis Perez <corsac@debian.org>,
6 7 Lionel Le Folgoc <mrpouit@gmail.com>
7 8 Build-Depends: autotools-dev, debhelper (>= 9), dpkg-dev (>= 1.16.1),
diff -Nru xfce4-weather-plugin-0.8.9/debian/patches/001_Set-USER_AGENT-for-nominatim-search.patch xfce4-weather-plugin-0.8.9/debian/patches/001_Set-USER_AGENT-for-nominatim-search.patch
xfce4-weather-plugin-0.8.9/debian/patches/001_Set-USER_AGENT-for-nominatim-search.patch [1969-12-31 19:00:00.000000000 -0500]
xfce4-weather-plugin-0.8.9/debian/patches/001_Set-USER_AGENT-for-nominatim-search.patch [2017-10-10 11:24:52.000000000 -0400]
1 From 7c976663e8790e5b06ca31a4a3165b11aeb89f11 Mon Sep 17 00:00:00 2001
2 From: Szymon Siwek <slsiwek+xfce@gmail.com>
3 Date: Tue, 10 Oct 2017 17:16:35 +0200
4 Subject: Set USER_AGENT for nominatim search (bug #13877)
5
6 This is required by https://operations.osmfoundation.org/policies/nominatim/.
7 Apparently, this is a new requirement or one that has not been enforced until
8 recently.
9 ---
10 panel-plugin/weather.c | 2 ++
11 1 file changed, 2 insertions(+)
12
13 diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
14 index 84f3049..c096795 100644
15 --- a/panel-plugin/weather.c
16 +++ b/panel-plugin/weather.c
17 @@ -1849,6 +1849,8 @@ xfceweather_create_control(XfcePanelPlugin *plugin)
18
19 /* Setup session for HTTP connections */
20 data->session = soup_session_async_new();
21 + g_object_set(data->session, SOUP_SESSION_USER_AGENT,
22 + PACKAGE_NAME "-" PACKAGE_VERSION, NULL);
23 g_object_set(data->session, SOUP_SESSION_TIMEOUT,
24 CONN_TIMEOUT, NULL);
25
26 --
27 cgit v1.1
28
diff -Nru xfce4-weather-plugin-0.8.9/debian/patches/series xfce4-weather-plugin-0.8.9/debian/patches/series
xfce4-weather-plugin-0.8.9/debian/patches/series [1969-12-31 19:00:00.000000000 -0500]
xfce4-weather-plugin-0.8.9/debian/patches/series [2017-10-10 11:25:09.000000000 -0400]
1 001_Set-USER_AGENT-for-nominatim-search.patch