summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal23
1 files changed, 17 insertions, 6 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 584b833..d952cf2 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -1,5 +1,5 @@
name: xmobar
-version: 0.21
+version: 0.22.1
homepage: http://xmobar.org
synopsis: A Minimalistic Text Based Status Bar
description: Xmobar is a minimalistic text based status bar.
@@ -66,6 +66,10 @@ flag with_dbus
description: Publish a service on the session bus for controlling xmobar.
default: False
+flag with_xpm
+ description: Enable usage of xpm for icons
+ default: False
+
flag with_threaded
description: Use threaded runtime.
default: False
@@ -75,10 +79,11 @@ executable xmobar
main-is: Main.hs
other-modules:
Xmobar, Actions, Bitmap, Config, Parsers, Commands, Localize,
- XUtil, StatFS, Runnable, ColorCache, Window, Signal,
+ XUtil, XPMFile, StatFS, Runnable, ColorCache, Window, Signal,
Plugins, Plugins.BufferedPipeReader,
Plugins.CommandReader, Plugins.Date, Plugins.EWMH,
- Plugins.PipeReader, Plugins.StdinReader, Plugins.XMonadLog,
+ Plugins.PipeReader, Plugins.MarqueePipeReader,
+ Plugins.StdinReader, Plugins.XMonadLog,
Plugins.Utils, Plugins.Kbd, Plugins.Locks, Plugins.Monitors,
Plugins.Monitors.Batt, Plugins.Monitors.Common,
Plugins.Monitors.CoreCommon, Plugins.Monitors.CoreTemp,
@@ -105,10 +110,11 @@ executable xmobar
unix,
time,
filepath,
+ transformers,
X11 >= 1.6.1,
- mtl >= 2.0 && < 2.3,
+ mtl >= 2.1 && < 2.3,
parsec == 3.1.*,
- HTTP >= 4000,
+ HTTP >= 4000.2.4,
stm >= 2.3 && < 2.5
if flag(with_threaded)
@@ -141,7 +147,7 @@ executable xmobar
cpp-options: -DIWLIB
if flag(with_mpd) || flag(all_extensions)
- build-depends: libmpd == 0.8.*
+ build-depends: libmpd == 0.9.*
other-modules: Plugins.Monitors.MPD
cpp-options: -DLIBMPD
@@ -165,3 +171,8 @@ executable xmobar
build-depends: dbus >= 0.10
other-modules: IPC.DBus
cpp-options: -DDBUS
+
+ if flag(with_xpm) || flag(all_extensions)
+ extra-libraries: Xpm
+ other-modules: XPMFile
+ cpp-options: -DXPM