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

15
README
View File

@ -62,10 +62,9 @@ Get the dependencies
provided. To check whether you've got a package run 'ghc-pkg list provided. To check whether you've got a package run 'ghc-pkg list
some_package_name'. You will need the following packages: some_package_name'. You will need the following packages:
mtl http://hackage.haskell.org/cgi-bin/hackage-scripts/package/mtl-1.0 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 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 http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-1.3.0
X11-extras: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-extras-0.4
And then build xmonad with Cabal as follows (the same goes for the other And then build xmonad with Cabal as follows (the same goes for the other
Haskell libraries): Haskell libraries):
@ -79,12 +78,12 @@ Haskell libraries):
Notes for using the darcs version Notes for using the darcs version
If you're building the darcs version of xmonad, be sure to also If you're building the darcs version of xmonad, be sure to also
use the darcs version of X11-extras, which is developed concurrently use the darcs version of the X11 library, which is developed
with xmonad. 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. darcs version of xmonad to fail to build.
------------------------------------------------------------------------ ------------------------------------------------------------------------

View File

@ -17,7 +17,7 @@ license: BSD3
license-file: LICENSE license-file: LICENSE
author: Spencer Janssen author: Spencer Janssen
maintainer: sjanssen@cse.unl.edu 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 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 Config.hs-boot util/GenerateManpage.hs man/xmonad.1 man/xmonad.html