Skip to content
A Haskell binding to the X11 graphics library.
Haskell Other
  1. Haskell 98.8%
  2. Other 1.2%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Graphics Merge pull request #57 from tmiasko/fix-query-tree Mar 20, 2018
cbits Merge in X11-extras package, bump to 1.3.0. Adds Xinerama and X event… Oct 29, 2007
distrib [project @ 2003-06-26 12:36:36 by reid] Jun 26, 2003
doc [project @ 2004-08-16 19:59:48 by panne] Aug 16, 2004
examples
include Make Xss support non-optional (fixes #59) Mar 18, 2018
mk [project @ 2003-06-26 12:36:36 by reid] Jun 26, 2003
.gitignore Add a new file for cabal 1.24 Feb 9, 2017
.travis.yml Update travis-ci build to (a) succeed and to (b) include GHC-8.6.1. Aug 20, 2018
CHANGES.md Add a CHANGES.md file Feb 9, 2017
LICENSE [project @ 2003-06-02 20:48:51 by reid] Jun 2, 2003
Makefile.inc [project @ 2005-03-15 12:16:07 by malcolm] Mar 15, 2005
Makefile.nhc98 Add XScreenSaver to build system so that it is built and installed Sep 10, 2012
README.md mention some dependencies Jul 31, 2016
Setup.hs #!-able Setup.lhs Oct 30, 2007
X11.buildinfo.in Do not override previous EXTRA_LIBRARIES Nov 3, 2012
X11.cabal Update travis-ci build to (a) succeed and to (b) include GHC-8.6.1. Aug 20, 2018
aclocal.m4 add --enable/disable-x11 flag to configure Mar 16, 2006
cabal.project Add a new file for cabal 1.24 Feb 9, 2017
config.mk.in [project @ 2004-11-28 13:43:26 by ross] Nov 28, 2004
configure.ac Make Xss support non-optional (fixes #59) Mar 18, 2018
prologue.txt [project @ 2004-03-14 13:45:36 by ross] Mar 14, 2004

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.

You can’t perform that action at this time.