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/.


Keywords
graphics, library, Propose Tags, http://tronche.com/gui/x/xlib/, Skip to Readme, Index, Quick Jump, 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, More info, X11-1.10.3.tar.gz, browse, Package description, Package maintainers, DanielWagner, DonaldStewart, PeterJones, PeterSimons, SpencerJanssen, TomasJanousek, psibi, dminuoso, xmonad, TonyZorman, edit package information , haskell, x11
License
BSD-3-Clause
Install
cabal install X11-1.10.3

Documentation

Haskell binding to the X11 graphics library Hackage Build Status

To build this package using Cabal directly from Git, you must run autoreconf before the usual Cabal build steps (configure/build/install). autoreconf is included in the GNU autoconf tools. There is no need to run the configure script: the cabal configure step will do this for you.

If you are building from a source tarball, you can just use the standard Cabal installation stanza:

cabal configure
cabal build
cabal install

Xinerama support is enabled by default if Xinerama headers are detected. To disable Xinerama support, add the --without-xinerama flag to configure-option:

cabal configure --configure-option="--without-xinerama"

However, if you are building from Git, X11 uses autoconf, so you need to have autoconf installed and run autoconf/autoheader before building:

autoconf
autoheader

or

autoreconf

You will need development versions of at least the X11, xrandr, and XScreenSaver libraries installed for the build to succeed; having the development version of the Xinerama library will enable some optional bindings.