mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-26 09:41:53 -07:00
clean up cabal file
We don't support ghc-6.6 anymore, so no need to include this split_base stuff.
This commit is contained in:
40
xmonad.cabal
40
xmonad.cabal
@@ -26,11 +26,9 @@ cabal-version: >= 1.8
|
|||||||
bug-reports: http://code.google.com/p/xmonad/issues/list
|
bug-reports: http://code.google.com/p/xmonad/issues/list
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
|
|
||||||
tested-with: GHC==7.6.1,
|
tested-with:
|
||||||
GHC==7.4.1,
|
GHC==7.6.2,
|
||||||
GHC==7.2.1,
|
GHC==7.8.2
|
||||||
GHC==6.12.3,
|
|
||||||
GHC==6.10.4
|
|
||||||
|
|
||||||
data-files: man/xmonad.hs, man/xmonad.1, man/xmonad.1.html
|
data-files: man/xmonad.hs, man/xmonad.1, man/xmonad.1.html
|
||||||
|
|
||||||
@@ -38,9 +36,6 @@ source-repository head
|
|||||||
type: darcs
|
type: darcs
|
||||||
location: http://code.haskell.org/xmonad
|
location: http://code.haskell.org/xmonad
|
||||||
|
|
||||||
flag small_base
|
|
||||||
description: Choose the new smaller, split-up base package.
|
|
||||||
|
|
||||||
flag testing
|
flag testing
|
||||||
description: Testing mode, only build minimal components
|
description: Testing mode, only build minimal components
|
||||||
default: False
|
default: False
|
||||||
@@ -56,13 +51,17 @@ library
|
|||||||
XMonad.Operations
|
XMonad.Operations
|
||||||
XMonad.StackSet
|
XMonad.StackSet
|
||||||
|
|
||||||
if flag(small_base)
|
build-depends: base < 5 && >=3,
|
||||||
build-depends: base < 5 && >=3, containers, directory, process, filepath, extensible-exceptions
|
containers,
|
||||||
else
|
data-default,
|
||||||
build-depends: base < 3
|
directory,
|
||||||
build-depends: X11>=1.5 && < 1.7, mtl, unix,
|
extensible-exceptions,
|
||||||
|
filepath,
|
||||||
|
mtl,
|
||||||
|
process,
|
||||||
|
unix,
|
||||||
utf8-string >= 0.3 && < 0.4,
|
utf8-string >= 0.3 && < 0.4,
|
||||||
data-default
|
X11>=1.5 && < 1.7
|
||||||
|
|
||||||
if true
|
if true
|
||||||
ghc-options: -funbox-strict-fields -Wall
|
ghc-options: -funbox-strict-fields -Wall
|
||||||
@@ -79,24 +78,21 @@ library
|
|||||||
executable xmonad
|
executable xmonad
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
build-depends: base,
|
build-depends: base,
|
||||||
X11,
|
|
||||||
unix,
|
|
||||||
mtl,
|
mtl,
|
||||||
|
unix,
|
||||||
|
X11,
|
||||||
xmonad
|
xmonad
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
if impl(ghc >= 6.12.1)
|
if impl(ghc >= 6.12.1)
|
||||||
ghc-options: -fno-warn-unused-do-bind
|
ghc-options: -Wall -fno-warn-unused-do-bind
|
||||||
|
|
||||||
ghc-prof-options: -prof -auto-all
|
|
||||||
extensions: CPP
|
|
||||||
|
|
||||||
test-suite properties
|
test-suite properties
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
hs-source-dirs: tests
|
hs-source-dirs: tests
|
||||||
build-depends: base,
|
build-depends: base,
|
||||||
QuickCheck >= 2,
|
|
||||||
X11,
|
|
||||||
containers,
|
containers,
|
||||||
extensible-exceptions,
|
extensible-exceptions,
|
||||||
|
QuickCheck >= 2,
|
||||||
|
X11,
|
||||||
xmonad
|
xmonad
|
||||||
main-is: Properties.hs
|
main-is: Properties.hs
|
||||||
|
Reference in New Issue
Block a user