aboutsummaryrefslogblamecommitdiffstats
path: root/xmonad.cabal
blob: b196d2bd5edeaf1723cbe4d8df61e78a27992187 (plain) (tree)
1
2
3
4
5
                          
                        
                                     
                                           
            








                                                                        



                                   
                                      



                                                
                                                                        
                                           
                                     
                          
                                                               
                          
 


                               
 
                                                                  
 



                                          
            

                                                            
 
       
                           
                              
                                   
                                   
                                     
                                     
                                         

                                         
                                    
 





                                         
                             


                           
                                               
                                    
 




                                                       



                                                                  
 
                                       
 

                        

                 

                           
                        

                         

                          
                          
                                                    
 
                         



                            

                                          

                                    

                          
name:               xmonad
version:            0.12
homepage:           http://xmonad.org
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:         xmonad@haskell.org
extra-source-files: README TODO CONFIG STYLE
                    tests/*.hs
                    tests/Properties/*.hs
                    tests/Properties/Layout/*.hs
                    man/xmonad.1.markdown man/xmonad.1 man/xmonad.1.html
                    util/GenerateManpage.hs
                    util/hpcReport.sh
cabal-version:      >= 1.8
bug-reports:        http://code.google.com/p/xmonad/issues/list
build-type:         Simple

tested-with:
                    GHC==7.6.2,
                    GHC==7.8.2

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

source-repository head
  type:     darcs
  location: http://code.haskell.org/xmonad

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

library
    hs-source-dirs:     src
    exposed-modules:    XMonad
                        XMonad.Main
                        XMonad.Core
                        XMonad.Config
                        XMonad.Layout
                        XMonad.ManageHook
                        XMonad.Operations
                        XMonad.StackSet
    other-modules:      Paths_xmonad

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

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

    if impl(ghc >= 6.12.1)
        ghc-options:        -fno-warn-unused-do-bind
    if impl(ghc < 7.0.0)
        extensions: UndecidableInstances
        -- needed for XMonad.Config's instance Default (XConfig a)


    ghc-prof-options:   -prof -auto-all

    if flag(testing)
        buildable: False

executable xmonad
    main-is:        Main.hs
    build-depends:  base,
                    mtl,
                    unix,
                    X11,
                    xmonad
    ghc-options:    -Wall
    if impl(ghc >= 6.12.1)
        ghc-options:  -Wall -fno-warn-unused-do-bind

-- note util/hpcReport.sh
test-suite properties
    type: exitcode-stdio-1.0
    hs-source-dirs: tests
    build-depends:  base,
                    containers,
                    extensible-exceptions,
                    QuickCheck >= 2,
                    X11,
                    xmonad
    main-is: Properties.hs