File X11.cabal of Package ghc-X11

name:               X11
version:            1.10.3
x-revision: 1
synopsis:           A binding to the X11 graphics library
description:        A Haskell binding to the X11 graphics library. The binding is a direct
                    translation of the C binding; for documentation of these calls, refer
                    to \"The Xlib Programming Manual\", available online at
                    <http://tronche.com/gui/x/xlib/>.
license:            BSD3
license-file:       LICENSE
copyright:          Alastair Reid, 1999-2003, libraries@haskell.org 2003-2007,
                    Don Stewart 2007-2009, Spencer Janssen 2007-2009, Daniel Wagner 2009-2011.
maintainer:         Daniel Wagner <daniel@wagner-home.com>
tested-with:        GHC == 7.10.3 || == 8.0.2 || == 8.2.2 || == 8.4.4 || == 8.6.5 || == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.2
category:           Graphics
homepage:           https://github.com/xmonad/X11
bug-reports:        https://github.com/xmonad/X11/issues
build-type:         Configure
extra-tmp-files:    config.log
                    config.status
                    autom4te.cache
                    config.mk
                    X11.buildinfo
                    include/HsX11Config.h
                    include/X11_extras_config.h
extra-source-files: CHANGES.md
                    README.md
                    configure.ac
                    configure
                    config.mk.in
                    X11.buildinfo.in
                    include/HsX11Config.h.in
                    include/HsXlib.h
                    include/XlibExtras.h
                    include/X11_extras_config.h.in
                    include/HsAllKeysyms.h
cabal-version:      >= 1.10

source-repository head
  type:     git
  location: https://github.com/xmonad/X11

flag pedantic
  description:        Be pedantic (-Werror and the like)
  default:            False
  manual:             True

library
  exposed-modules:    Graphics.X11
                      Graphics.X11.ExtraTypes
                      Graphics.X11.ExtraTypes.AP
                      Graphics.X11.ExtraTypes.DEC
                      Graphics.X11.ExtraTypes.HP
                      Graphics.X11.ExtraTypes.Sun
                      Graphics.X11.ExtraTypes.XF86
                      Graphics.X11.ExtraTypes.XorgDefault
                      Graphics.X11.Types
                      Graphics.X11.XScreenSaver
                      Graphics.X11.Xinerama
                      Graphics.X11.Xlib
                      Graphics.X11.Xlib.Atom
                      Graphics.X11.Xlib.Color
                      Graphics.X11.Xlib.Context
                      Graphics.X11.Xlib.Cursor
                      Graphics.X11.Xlib.Display
                      Graphics.X11.Xlib.Event
                      Graphics.X11.Xlib.Extras
                      Graphics.X11.Xlib.Font
                      Graphics.X11.Xlib.Image
                      Graphics.X11.Xlib.Misc
                      Graphics.X11.Xlib.Region
                      Graphics.X11.Xlib.Screen
                      Graphics.X11.Xlib.Types
                      Graphics.X11.Xlib.Window
                      Graphics.X11.Xrandr
  other-modules:      Graphics.X11.Xlib.Internal
  build-depends:      base == 4.*, data-default-class >= 0.1 && < 0.3
  default-language:   Haskell98
  default-extensions: CPP
                      ForeignFunctionInterface
  extra-libraries:    X11, Xrandr, Xext
  c-sources:          cbits/fdset.c, cbits/auxiliaries.c, cbits/XUtils.c
  includes:           HsXlib.h, HsAllKeysyms.h
  install-includes:   HsXlib.h, XlibExtras.h, HsAllKeysyms.h
  include-dirs:       include
  ghc-options:        -funbox-strict-fields -Wall -fno-warn-unused-binds

  if flag(pedantic)
    ghc-options:      -Werror
openSUSE Build Service is sponsored by