summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-07-12 00:40:33 +0100
committerjao <jao@gnu.org>2018-07-12 00:40:33 +0100
commit6177f6f017d635e3acbac09dc061f4dcaf3320cc (patch)
tree69e9e23070899c515954ca8437dc9a1f01f321c5
parenta2365debfaba478042184f5831675d1b08172cc7 (diff)
downloadxmobar-6177f6f017d635e3acbac09dc061f4dcaf3320cc.tar.gz
xmobar-6177f6f017d635e3acbac09dc061f4dcaf3320cc.tar.bz2
Dropped support for GHC 7.x
-rw-r--r--.travis.yml2
-rw-r--r--changelog.md2
-rw-r--r--xmobar.cabal13
3 files changed, 13 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 97e32e4..aa10e8b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,9 @@
language: haskell
ghc:
- - 7.8
- 8.0
- 8.2
+ - 8.4
before_install:
- sudo apt-get -qq update
diff --git a/changelog.md b/changelog.md
index 1d7602d..850dc00 100644
--- a/changelog.md
+++ b/changelog.md
@@ -2,12 +2,14 @@
_New features_
+ - Dropped support for GHC 7.x. See [issue #352].
- New configuration option, `textOffsets` to specify separate
vertical offsets for each of the fonts in `additionalFonts`. See
[issue #311].
[issue #311]: https://github.com/jaor/xmobar/issues/311
+[issue #352]: https://github.com/jaor/xmobar/issues/352
## Version 0.26 (April, 2018)
diff --git a/xmobar.cabal b/xmobar.cabal
index 92dd44f..86d5bc5 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -1,5 +1,5 @@
name: xmobar
-version: 0.26
+version: 0.27
homepage: http://xmobar.org
synopsis: A Minimalistic Text Based Status Bar
description: Xmobar is a minimalistic text based status bar.
@@ -46,7 +46,7 @@ test-suite XmobarTest
Plugins.Monitors.Uptime,
Plugins.Monitors.Bright, Plugins.Monitors.CatInt
build-depends:
- base == 4.*,
+ base >= 4.9.1.0,
hspec == 2.*,
containers,
regex-compat,
@@ -159,7 +159,7 @@ executable xmobar
extra-libraries: Xrandr Xrender
build-depends:
- base == 4.*,
+ base >= 4.9.1.0,
containers,
regex-compat,
process,
@@ -176,6 +176,13 @@ executable xmobar
parsec-numbers >= 0.1.0,
stm >= 2.3 && < 2.5
+ if impl(ghc < 8.0.2)
+ -- Disable building with GHC before 8.0.2.
+ -- Due to a cabal bug, do not use buildable: False,
+ -- but instead give it an impossible constraint.
+ -- See: https://github.com/haskell-infra/hackage-trustees/issues/165
+ build-depends: unsupported-ghc-version > 1 && < 1
+
if flag(with_threaded)
-- -threaded is a workaround for 100% CPU busy loop
-- (http://hackage.haskell.org/trac/ghc/ticket/4934).