From 188acf0551a72e928e1d1b77251734e1ac164a7b Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sun, 11 Dec 2011 14:49:22 +0100 Subject: Stricter dependency version constraints --- xmobar.cabal | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/xmobar.cabal b/xmobar.cabal index 99a6beb..1f7b4db 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -1,5 +1,5 @@ name: xmobar -version: 0.14 +version: 0.14.1 homepage: http://projects.haskell.org/xmobar/ bug-reports: http://code.google.com/p/xmobar/issues synopsis: A Minimalistic Text Based Status Bar @@ -96,24 +96,37 @@ executable xmobar if impl (ghc < 7) cpp-options: -DGHC6 - build-depends: X11>=1.3.0, mtl, unix, parsec, filepath, stm, time + build-depends: + unix, + time, + filepath, + X11 == 1.5.*, + mtl == 2.0.*, + parsec == 3.1.*, + stm == 2.2.* if flag(small_base) - build-depends: base == 4.*, containers, process, old-time, old-locale, bytestring, directory - + build-depends: + base == 4.*, + containers, + process, + old-time, + old-locale, + bytestring, + directory else build-depends: base < 3 if flag(with_xft) || flag(all_extensions) - build-depends: utf8-string, X11-xft >= 0.2 + build-depends: utf8-string == 0.3.*, X11-xft >= 0.2 && < 0.4 cpp-options: -DXFT if flag(with_utf8) || flag(all_extensions) - build-depends: utf8-string + build-depends: utf8-string == 0.3.* cpp-options: -DUTF8 if flag(with_inotify) || flag(all_extensions) - build-depends: hinotify + build-depends: hinotify == 0.3.* other-modules: Plugins.Mail, Plugins.MBox cpp-options: -DINOTIFY @@ -123,7 +136,7 @@ executable xmobar cpp-options: -DIWLIB if flag(with_mpd) || flag(all_extensions) - build-depends: libmpd >= 0.6 + build-depends: libmpd >= 0.6 && < 0.8 other-modules: Plugins.Monitors.MPD cpp-options: -DLIBMPD @@ -134,6 +147,6 @@ executable xmobar cpp-options: -DALSA if flag(with_datezone) || flag(all_extensions) - build-depends: timezone-olson, timezone-series + build-depends: timezone-olson == 0.1.*, timezone-series == 0.1.* other-modules: Plugins.DateZone cpp-options: -DDATEZONE -- cgit v1.2.3