From 83049ceb9b15bc678d4a006ac60e4b1d1228ec6a Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Sun, 30 Mar 2008 22:37:22 +0200 Subject: move "use_xft" to "with_xft" darcs-hash:20080330203722-d6583-c216124627f96114ff7709e16d572ea927f78517.gz --- README | 6 +++--- xmobar.cabal | 4 ++-- 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 -- cgit v1.2.3