[DHG_packages] 01/01: taffybar: patch to fix Weather module

Clint Adams clint at moszumanska.debian.org
Fri Aug 26 15:56:42 UTC 2016


This is an automated email from the git hooks/post-receive script.

clint pushed a commit to branch master
in repository DHG_packages.

commit 482cea68ecb01bec66f0e3fdd10d664fbefee995
Author: Clint Adams <clint at debian.org>
Date:   Fri Aug 26 11:55:20 2016 -0400

    taffybar: patch to fix Weather module
---
 p/taffybar/debian/changelog                         |  9 +++++++--
 p/taffybar/debian/patches/man-page.patch            |  6 ++----
 p/taffybar/debian/patches/no-network-uri            |  8 +++-----
 p/taffybar/debian/patches/scn16-16wngccb-workaround | 11 +++++++++++
 p/taffybar/debian/patches/series                    |  1 +
 5 files changed, 24 insertions(+), 11 deletions(-)

diff --git a/p/taffybar/debian/changelog b/p/taffybar/debian/changelog
index 36567a1..368c541 100644
--- a/p/taffybar/debian/changelog
+++ b/p/taffybar/debian/changelog
@@ -1,9 +1,14 @@
-taffybar (0.4.6-3) UNRELEASED; urgency=medium
+taffybar (0.4.6-3) unstable; urgency=medium
 
+  [ Dmitry Bogatov ]
   * Use secure (https) uri in Vcs-Git field in 'debian/control'
   * Bump standards version to 3.9.8 (no changes needed)
 
- -- Dmitry Bogatov <KAction at gnu.org>  Tue, 10 May 2016 09:36:41 +0300
+  [ Clint Adams ]
+  * Patch to work around weather.noaa.gov web service closure mentioned
+    in http://www.nws.noaa.gov/om/notification/scn16-16wngccb.htm.
+
+ -- Clint Adams <clint at debian.org>  Fri, 26 Aug 2016 11:34:59 -0400
 
 taffybar (0.4.6-2) unstable; urgency=medium
 
diff --git a/p/taffybar/debian/patches/man-page.patch b/p/taffybar/debian/patches/man-page.patch
index 2af8b86..c995f5c 100644
--- a/p/taffybar/debian/patches/man-page.patch
+++ b/p/taffybar/debian/patches/man-page.patch
@@ -1,7 +1,5 @@
-Index: taffybar/taffybar.1
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ taffybar/taffybar.1	2013-07-21 17:04:30.000000000 +0200
+--- /dev/null
++++ b/taffybar.1
 @@ -0,0 +1,32 @@
 +.TH taffybar 1 "19 July 2013" "taffybar version 0.2.1" "User Manual"
 +
diff --git a/p/taffybar/debian/patches/no-network-uri b/p/taffybar/debian/patches/no-network-uri
index 923cc5e..0e601a1 100644
--- a/p/taffybar/debian/patches/no-network-uri
+++ b/p/taffybar/debian/patches/no-network-uri
@@ -1,8 +1,6 @@
-Index: taffybar/taffybar.cabal
-===================================================================
---- taffybar.orig/taffybar.cabal	2015-08-15 14:43:19.035427092 +0200
-+++ taffybar/taffybar.cabal	2015-08-15 14:43:19.031427009 +0200
-@@ -56,7 +56,7 @@
+--- a/taffybar.cabal
++++ b/taffybar.cabal
+@@ -57,7 +57,7 @@
    if flag(network-uri)
      build-depends: network-uri >= 2.6 && < 3, network >= 2.6 && < 3
    else
diff --git a/p/taffybar/debian/patches/scn16-16wngccb-workaround b/p/taffybar/debian/patches/scn16-16wngccb-workaround
new file mode 100644
index 0000000..da2f2d5
--- /dev/null
+++ b/p/taffybar/debian/patches/scn16-16wngccb-workaround
@@ -0,0 +1,11 @@
+--- a/src/System/Taffybar/Weather.hs
++++ b/src/System/Taffybar/Weather.hs
+@@ -249,7 +249,7 @@
+ 
+ -- | The NOAA URL to get data from
+ baseUrl :: String
+-baseUrl = "http://weather.noaa.gov/pub/data/observations/metar/decoded"
++baseUrl = "http://tgftp.nws.noaa.gov/data/observations/metar/decoded"
+ 
+ -- | A wrapper to allow users to specify a custom weather formatter.
+ -- The default interpolates variables into a string as described
diff --git a/p/taffybar/debian/patches/series b/p/taffybar/debian/patches/series
index be62d6f..fda59c6 100644
--- a/p/taffybar/debian/patches/series
+++ b/p/taffybar/debian/patches/series
@@ -1,2 +1,3 @@
 no-network-uri
 man-page.patch
+scn16-16wngccb-workaround

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list