summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal32
1 files changed, 22 insertions, 10 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 1921b4d..f63ed3b 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -1,7 +1,6 @@
name: xmobar
-version: 0.18
-homepage: http://projects.haskell.org/xmobar/
-bug-reports: http://code.google.com/p/xmobar/issues
+version: 0.23
+homepage: http://xmobar.org
synopsis: A Minimalistic Text Based Status Bar
description: Xmobar is a minimalistic text based status bar.
.
@@ -11,8 +10,9 @@ description: Xmobar is a minimalistic text based status bar.
category: System
license: BSD3
license-file: license
-author: Andrea Rossato, Jose A. Ortega Ruiz
+author: Andrea Rossato and Jose A. Ortega Ruiz
maintainer: Jose A. Ortega Ruiz <jao@gnu.org>
+bug-reports: https://github.com/jaor/xmobar/issues
cabal-version: >= 1.6
build-type: Simple
@@ -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,
@@ -88,7 +93,7 @@ executable xmobar
Plugins.Monitors.Swap, Plugins.Monitors.Thermal,
Plugins.Monitors.ThermalZone, Plugins.Monitors.Top,
Plugins.Monitors.Uptime, Plugins.Monitors.Weather,
- Plugins.Monitors.Bright
+ Plugins.Monitors.Bright, Plugins.Monitors.CatInt
ghc-prof-options: -prof -auto-all
ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-do-bind
@@ -105,9 +110,11 @@ executable xmobar
unix,
time,
filepath,
+ transformers,
X11 >= 1.6.1,
- mtl >= 2.0 && < 2.2,
+ mtl >= 2.1 && < 2.3,
parsec == 3.1.*,
+ HTTP >= 4000.2.4,
stm >= 2.3 && < 2.5
if flag(with_threaded)
@@ -140,12 +147,12 @@ 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
if flag(with_alsa) || flag(all_extensions)
- build-depends: alsa-mixer == 0.1.*
+ build-depends: alsa-mixer == 0.2.*
build-depends: alsa-core == 0.5.*
other-modules: Plugins.Monitors.Volume
cpp-options: -DALSA
@@ -164,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