summaryrefslogtreecommitdiffstats
path: root/metatile.cabal
blob: 05bf6e0cf9c2c4dbda128f4d1528952cd03597ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name:               metatile
version:            0.12
synopsis:           A tiling window manager
description:
    metatile is a tiling window manager for X. Windows are arranged
    automatically to tile the screen without gaps or overlap, maximising
    screen use. All features of the window manager are accessible from
    the keyboard: a mouse is strictly optional. xmonad is written and
    extensible in Haskell. Custom layout algorithms, and other
    extensions, may be written by the user in config files. Layouts are
    applied dynamically, and different layouts may be used on each
    workspace. Xinerama is fully supported, allowing windows to be tiled
    on several screens.
category:           System
license:            BSD3
license-file:       LICENSE
author:             Spencer Janssen
maintainer:         xmonad@haskell.org
extra-source-files: README TODO CONFIG STYLE tests/loc.hs tests/Properties.hs
                    man/xmonad.1.markdown man/xmonad.1 man/xmonad.1.html
                    util/GenerateManpage.hs
cabal-version:      >= 1.6
bug-reports:        http://code.google.com/p/xmonad/issues/list
build-type:         Simple

tested-with:        GHC==7.6.3

data-files:         man/xmonad.hs, man/xmonad.1, man/xmonad.1.html

flag testing
    description: Testing mode, only build minimal components
    default: False

library
    exposed-modules:    MetaTile
                        MetaTile.Main
                        MetaTile.Core
                        MetaTile.Config
                        MetaTile.Layout
                        MetaTile.ManageHook
                        MetaTile.Operations
                        MetaTile.StackSet

    build-depends: base < 5 && >=3, containers, directory, process, filepath, extensible-exceptions,
                   X11>=1.5 && < 1.7, mtl, unix,
                   utf8-string >= 0.3 && < 0.4,
                   data-default

    if true
        ghc-options:        -funbox-strict-fields -Wall

    if impl(ghc >= 6.12.1)
        ghc-options:        -fno-warn-unused-do-bind

    ghc-prof-options:   -prof -auto-all
    extensions:         CPP

    if flag(testing)
        buildable: False

executable metatile
    main-is:            Main.hs
    other-modules:      MetaTile
                        MetaTile.Main
                        MetaTile.Core
                        MetaTile.Config
                        MetaTile.Layout
                        MetaTile.ManageHook
                        MetaTile.Operations
                        MetaTile.StackSet

    if true 
        ghc-options:    -funbox-strict-fields -Wall

    if impl(ghc >= 6.12.1)
        ghc-options:    -fno-warn-unused-do-bind

    ghc-prof-options:   -prof -auto-all
    extensions:         CPP

    if flag(testing)
        cpp-options:    -DTESTING
        hs-source-dirs: . tests/
        build-depends:  QuickCheck < 2, filepath, process, directory, mtl, unix, X11, base, containers, random, extensible-exceptions
        ghc-options:    -Werror