This repository has been archived by the owner on May 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxmonad.cabal
155 lines (130 loc) · 5.16 KB
/
xmonad.cabal
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
name: xmonad
version: 0.10.1
homepage: http://xmonad.org
bug-reports: http://code.google.com/p/xmonad/issues/list
synopsis: A tiling window manager
description:
xmonad 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: [email protected]
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.8
build-type: Simple
data-files: man/xmonad.hs
source-repository head
type: darcs
location: http://darcs.haskell.org/cabal/
-- We don't use the splitBase any more, as we depend on X11 == 1.5.*, which only
-- accepts base 3.* or 4.*.
--flag splitBase
-- description: Choose the new smaller, split-up base package.
-- default: True
flag testing
description: Testing mode, only build minimal components
default: False
library
exposed-modules: XMonad
XMonad.Main
XMonad.Log
XMonad.Core
XMonad.Config
XMonad.Layout
XMonad.ManageHook
XMonad.Operations
XMonad.StackSet
build-depends: base == 3.* || == 4.*
, containers
, directory
, process
, filepath
, extensible-exceptions
, X11 == 1.5.* || == 1.6.*
, mtl
, unix
, utf8-string == 0.3.*
, hslogger == 1.*
-- Note: "if true" works around a cabal bug with order of flag composition.
if true
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs
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 xmonad
main-is: Main.hs
other-modules: XMonad
XMonad.Main
XMonad.Log
XMonad.Core
XMonad.Config
XMonad.Layout
XMonad.ManageHook
XMonad.Operations
XMonad.StackSet
build-depends: base == 3.* || == 4.*
, containers
, directory
, process
, filepath
, extensible-exceptions
, X11 == 1.5.* || == 1.6.*
, mtl
, unix
, random
, utf8-string == 0.3.*
, hslogger == 1.*
-- Note: "if true" works around a cabal bug with order of flag composition.
if true
ghc-options: -funbox-strict-fields -Wall -fwarn-tabs
if impl(ghc >= 6.12.1)
ghc-options: -fno-warn-unused-do-bind
ghc-prof-options: -prof -auto-all
extensions: CPP
-- If we are configuring with testing enabled, then compile the testing
-- code into the main XMonad executable, such that we can run it with
-- "--run-tests"
if flag(testing)
cpp-options: -DTESTING
hs-source-dirs: . tests/
build-depends: QuickCheck == 2.4.*
ghc-options: -Werror
-- Old stuff remove when test suite is fixed
-- test-suite xmonad-test
-- type: exitcode-stdio-1.0
-- hs-source-dirs: tests
-- -- main-is: Properties.hs
-- main-is: Foo.hs
-- buildtools: ghc
-- -- build-depends: base == 3.* || == 4.*
-- -- , containers
-- -- , directory
-- -- , process
-- -- , filepath
-- -- , extensible-exceptions
-- -- , X11 == 1.5.*
-- -- , mtl
-- -- , unix
-- -- , random
-- -- , utf8-string == 0.3.*
-- -- , hslogger == 1.*
-- -- , QuickCheck == 2.4.*
-- -- , xmonad
-- build-depends: base >= 4.0 && < 5,
-- test-framework >= 0.3.3 && < 0.5,
-- test-framework-quickcheck2 >= 0.2.9 && < 0.3,
-- QuickCheck == 2.4.*