summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@ing.unitn.it>2008-03-30 22:37:22 +0200
committerAndrea Rossato <andrea.rossato@ing.unitn.it>2008-03-30 22:37:22 +0200
commit83049ceb9b15bc678d4a006ac60e4b1d1228ec6a (patch)
tree29c39bdc2ef5871fcabc76f9ebcd729e48d4ab3c
parentcc5a00d5fa34caaa5637b8c72262b56800b149ab (diff)
downloadxmobar-83049ceb9b15bc678d4a006ac60e4b1d1228ec6a.tar.gz
xmobar-83049ceb9b15bc678d4a006ac60e4b1d1228ec6a.tar.bz2
move "use_xft" to "with_xft"
darcs-hash:20080330203722-d6583-c216124627f96114ff7709e16d572ea927f78517.gz
-rw-r--r--README6
-rw-r--r--xmobar.cabal4
2 files changed, 5 insertions, 5 deletions
diff --git a/README b/README
index c2140c0..d0a5da0 100644
--- a/README
+++ b/README
@@ -56,7 +56,7 @@ To install simply run:
# Or, to enable UTF-8 support:
# runhaskell Setup.lhs configure --flags="with_utf8"
# Or, to enable XFT and UTF-8 support:
- # runhaskell Setup.lhs configure --flags="use_xft"
+ # runhaskell Setup.lhs configure --flags="with_xft"
runhaskell Setup.lhs build
runhaskell Setup.lhs install # possibly to be run as root
@@ -83,9 +83,9 @@ This requires the presence of [utf8-string] package.
XFT support, which will also enable UTF-8 support, requires the
[X11-xft] package too and is enabled by running the configuration
-script with the `"use_xft"` flag:
+script with the `"with_xft"` flag:
- runhaskell Setup.lhs configure --flags="use_xft"
+ runhaskell Setup.lhs configure --flags="with_xft"
Then build [Xmobar] as usual.
diff --git a/xmobar.cabal b/xmobar.cabal
index 6651a63..8f0d0e2 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -18,7 +18,7 @@ build-type: Simple
flag small_base
description: Choose the new smaller, split-up base package.
-flag use_xft
+flag with_xft
description: Use Xft to render text. UTF-8 support included.
flag with_utf8
@@ -35,7 +35,7 @@ executable xmobar
else
build-depends: base < 3
- if flag(use_xft)
+ if flag(with_xft)
build-depends: utf8-string, X11-xft >= 0.2
cpp-options: -DXFT