[Git][haskell-team/DHG_packages][master] bytestring-progress: upstream patch for newer terminal-progress-bar.
Clint Adams
gitlab at salsa.debian.org
Tue Apr 24 16:19:34 BST 2018
Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
462cb6e4 by Clint Adams at 2018-04-24T11:18:44-04:00
bytestring-progress: upstream patch for newer terminal-progress-bar.
- - - - -
4 changed files:
- p/haskell-bytestring-progress/debian/changelog
- p/haskell-bytestring-progress/debian/control
- + p/haskell-bytestring-progress/debian/patches/Update-for-terminal-progress-bar-0.2.patch
- + p/haskell-bytestring-progress/debian/patches/series
Changes:
=====================================
p/haskell-bytestring-progress/debian/changelog
=====================================
--- a/p/haskell-bytestring-progress/debian/changelog
+++ b/p/haskell-bytestring-progress/debian/changelog
@@ -1,3 +1,9 @@
+haskell-bytestring-progress (1.0.9-2) unstable; urgency=medium
+
+ * Upstream patch for newer terminal-progress-bar. closes: #895952.
+
+ -- Clint Adams <clint at debian.org> Tue, 24 Apr 2018 11:17:44 -0400
+
haskell-bytestring-progress (1.0.9-1) unstable; urgency=medium
[ Ilias Tsitsimpis ]
=====================================
p/haskell-bytestring-progress/debian/control
=====================================
--- a/p/haskell-bytestring-progress/debian/control
+++ b/p/haskell-bytestring-progress/debian/control
@@ -10,8 +10,8 @@ Build-Depends:
ghc (>= 8),
ghc-prof,
haskell-devscripts (>= 0.13),
- libghc-terminal-progress-bar-dev (>= 0.0.1),
- libghc-terminal-progress-bar-dev (<< 0.1.2),
+ libghc-terminal-progress-bar-dev (>= 0.2),
+ libghc-terminal-progress-bar-dev (<< 0.3),
libghc-terminal-progress-bar-prof,
Build-Depends-Indep:
ghc-doc,
=====================================
p/haskell-bytestring-progress/debian/patches/Update-for-terminal-progress-bar-0.2.patch
=====================================
--- /dev/null
+++ b/p/haskell-bytestring-progress/debian/patches/Update-for-terminal-progress-bar-0.2.patch
@@ -0,0 +1,41 @@
+From fd1da00d4f63bed9ea6d8bd324336e51dfa7238d Mon Sep 17 00:00:00 2001
+From: Adam Wick <awick at uhsure.com>
+Date: Tue, 24 Apr 2018 08:13:22 -0700
+Subject: [PATCH] Update for terminal-progress-bar 0.2.
+
+---
+ System/ProgressBar/ByteString.hs | 4 ++--
+ bytestring-progress.cabal | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+--- a/System/ProgressBar/ByteString.hs
++++ b/System/ProgressBar/ByteString.hs
+@@ -10,7 +10,7 @@
+ import Data.ByteString.Lazy.Progress
+ import System.IO(Handle,hSetBuffering,hPutChar,hPutStr,BufferMode(..))
+ import System.IO(openFile,hFileSize,IOMode(..))
+-import System.ProgressBar(Label, mkProgressBar)
++import System.ProgressBar(Label, Progress(Progress), mkProgressBar)
+
+ type ℤ = Integer
+
+@@ -33,7 +33,7 @@
+ | otherwise = 16384
+ updateProgressBar = mkProgressBar prefix postfix width
+ updateFunction _ now =
+- tracker $ updateProgressBar (fromIntegral now) size
++ tracker $ updateProgressBar (Progress (fromIntegral now) size)
+
+ -- |As mkByteStringProgressBar, but simply print the output to the given
+ -- Handle instead of using a callback.
+--- a/bytestring-progress.cabal
++++ b/bytestring-progress.cabal
+@@ -29,7 +29,7 @@
+ Exposed-Modules: Data.ByteString.Lazy.Progress
+
+ if flag(use-system-progressbar)
+- Build-Depends: terminal-progress-bar >= 0.0.1 && < 0.1.2
++ Build-Depends: terminal-progress-bar >= 0.2 && < 0.3
+ Exposed-Modules: System.ProgressBar.ByteString
+
+
=====================================
p/haskell-bytestring-progress/debian/patches/series
=====================================
--- /dev/null
+++ b/p/haskell-bytestring-progress/debian/patches/series
@@ -0,0 +1 @@
+Update-for-terminal-progress-bar-0.2.patch
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/462cb6e49b681c56acbd8a8530601d90b020f392
---
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/462cb6e49b681c56acbd8a8530601d90b020f392
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20180424/75bf09df/attachment-0001.html>
More information about the Pkg-haskell-commits
mailing list