HEADS UP: remove X11-extras dependency, depend on X11 >= 1.3.0

The X11-extras library has been merged into the larger X11 library,
so we now drop the dependency on X11-extras, and instead build 
against the new X11 library.

If you apply this patch you must build and install X11-1.3.0 or greater
first,

  http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-1.3.0

You can also go ahead and wipe X11-extras from GHC's memory, (for ghci to work
out of the box with the testsuite)

  $ ghc-pkg unregister X11-extras
  $ ghc-pkg unregister --user X11-extras
This commit is contained in:
Don Stewart 2007-10-30 22:08:24 +00:00
parent 066da1cd99
commit c350caf9b8
2 changed files with 8 additions and 9 deletions

11
README
View File

@ -64,8 +64,7 @@ Get the dependencies
mtl http://hackage.haskell.org/cgi-bin/hackage-scripts/package/mtl-1.0
unix http://hackage.haskell.org/cgi-bin/hackage-scripts/package/unix-2.0
X11 http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-1.2.3
X11-extras: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-extras-0.4
X11 http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-1.3.0
And then build xmonad with Cabal as follows (the same goes for the other
Haskell libraries):
@ -79,12 +78,12 @@ Haskell libraries):
Notes for using the darcs version
If you're building the darcs version of xmonad, be sure to also
use the darcs version of X11-extras, which is developed concurrently
with xmonad.
use the darcs version of the X11 library, which is developed
concurrently with xmonad.
darcs get http://code.haskell.org/X11-extras
darcs get http://darcs.haskell.org/X11
Not using X11-extras from darcs, is the most common reason for the
Not using X11 from darcs is the most common reason for the
darcs version of xmonad to fail to build.
------------------------------------------------------------------------

View File

@ -17,7 +17,7 @@ license: BSD3
license-file: LICENSE
author: Spencer Janssen
maintainer: sjanssen@cse.unl.edu
build-depends: base>=2.0, X11>=1.2.1, X11-extras>=0.4, mtl>=1.0, unix>=1.0
build-depends: base>=2.0, X11>=1.3.0, mtl>=1.0, unix>=1.0
extra-source-files: README TODO tests/loc.hs tests/Properties.hs man/xmonad.1.in
Config.hs-boot util/GenerateManpage.hs man/xmonad.1 man/xmonad.html