Paste #9UIqKBd1vJ1U1D061Av0
diff -Nru xfce4-weather-plugin-0.8.9/debian/changelog xfce4-weather-plugin-0.8.9/debian/changelog
| 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
| 1 | 1 | Source: xfce4-weather-plugin |
|---|---|---|
| 2 | 2 | Section: xfce |
| 3 | 3 | Priority: optional |
| 4 | Maintainer: |
|
| 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
| 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
| 1 | 001_Set-USER_AGENT-for-nominatim-search.patch |
|---|