A Haskell binding to the X11 graphics library.
Haskell Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Graphics
cbits Merge in X11-extras package, bump to 1.3.0. Adds Xinerama and X event… Oct 29, 2007
distrib
doc
examples
include
mk
.gitignore
.travis.yml
LICENSE
Makefile.inc
Makefile.nhc98
README.md
Setup.hs
X11.buildinfo.in
X11.cabal
aclocal.m4
config.mk.in
configure.ac Do not override previous EXTRA_LIBRARIES Nov 3, 2012
prologue.txt

README.md

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 Xinerama libraries installed for the build to succeed; having the development version of the XScreenSaver library will enable some optional bindings.