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

Bug#853162: jessie-pu: package xmobar/0.22-1



Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu

Dear SRMs,

I would like to update xmobar in Jessie to fix #835547. As outlined in 
#835547, xmobar has a weather plugin that uses NOAA's feed. NOAA 
recently changed their feed URLs and xmobar has been updated upstream to 
reflect that change.

The fix for Jessie is a simple one-liner, full debdiff attached.

Regards,
Apollon
diff -Nru xmobar-0.22/debian/changelog xmobar-0.22/debian/changelog
--- xmobar-0.22/debian/changelog	2014-10-11 21:03:44.000000000 +0300
+++ xmobar-0.22/debian/changelog	2017-01-30 13:37:51.000000000 +0200
@@ -1,3 +1,9 @@
+xmobar (0.22-1+deb8u1) jessie; urgency=medium
+
+  * Update weather feed URL (Closes: #835547)
+
+ -- Apollon Oikonomopoulos <apoikos@debian.org>  Mon, 30 Jan 2017 13:37:51 +0200
+
 xmobar (0.22-1) unstable; urgency=medium
 
   * New upstream version; see /usr/share/doc/xmobar/news.md.gz.
diff -Nru xmobar-0.22/debian/patches/new-weather-stats-url xmobar-0.22/debian/patches/new-weather-stats-url
--- xmobar-0.22/debian/patches/new-weather-stats-url	1970-01-01 02:00:00.000000000 +0200
+++ xmobar-0.22/debian/patches/new-weather-stats-url	2017-01-30 13:33:40.000000000 +0200
@@ -0,0 +1,26 @@
+From 02d8b97f960d3b84442c23bafca4f518f193427d Mon Sep 17 00:00:00 2001
+From: jao <jao@gnu.org>
+Date: Fri, 5 Aug 2016 15:15:07 +0200
+Subject: [PATCH] New weather stats URL (fixes #270)
+
+---
+ src/Plugins/Monitors/Weather.hs | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/Plugins/Monitors/Weather.hs b/src/Plugins/Monitors/Weather.hs
+index 3cfbc74..0cbad4f 100644
+--- a/src/Plugins/Monitors/Weather.hs
++++ b/src/Plugins/Monitors/Weather.hs
+@@ -168,7 +168,8 @@ parseData =
+        return [WI st ss y m d h wc wa wm wk v sk tC tF dC dF rh p]
+ 
+ defUrl :: String
+-defUrl = "http://weather.noaa.gov/pub/data/observations/metar/decoded/";
++-- "http://weather.noaa.gov/pub/data/observations/metar/decoded/";
++defUrl = "http://tgftp.nws.noaa.gov/data/observations/metar/decoded/";
+ 
+ stationUrl :: String -> String
+ stationUrl station = defUrl ++ station ++ ".TXT"
+-- 
+2.11.0
+
diff -Nru xmobar-0.22/debian/patches/series xmobar-0.22/debian/patches/series
--- xmobar-0.22/debian/patches/series	2014-10-11 21:03:44.000000000 +0300
+++ xmobar-0.22/debian/patches/series	2017-01-30 13:37:51.000000000 +0200
@@ -1,2 +1,3 @@
 0001-Fix-typo-in-src-Parsers.hs-fix-lintian-warning.patch
 build-with-mtl-2.1
+new-weather-stats-url

Reply to: