X11: A binding to the X11 graphics library

[ bsd3, graphics, library ] [ Propose Tags ] [ Report a vulnerability ]
Versions [RSS] 1.2, 1.2.2, 1.2.3, 1.2.3.1, 1.3.0, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.6.1, 1.5.0.0, 1.5.0.1, 1.6.0, 1.6.0.1, 1.6.0.2, 1.6.1, 1.6.1.1, 1.6.1.2, 1.7, 1.8, 1.9, 1.9.1, 1.9.2, 1.10, 1.10.1, 1.10.2, 1.10.3
Change log CHANGES.md
Dependencies base (>=4 && <5), data-default-class (>=0.1 && <0.2) [details]
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
License BSD-3-Clause
Copyright Alastair Reid, 1999-2003, libraries@haskell.org 2003-2007, Don Stewart 2007-2009, Spencer Janssen 2007-2009, Daniel Wagner 2009-2011.
Author
Maintainer Daniel Wagner <daniel@wagner-home.com>
Category Graphics
Home page https://github.com/xmonad/X11
Bug tracker https://github.com/xmonad/X11/issues
Source repo head: git clone https://github.com/xmonad/X11
Uploaded by xmonad at 2022-09-14T17:41:13Z
Distributions Arch:1.10.3, Debian:1.9.1, Fedora:1.10.3, FreeBSD:1.6.1.2, LTSHaskell:1.10.3, NixOS:1.10.3, Stackage:1.10.3, openSUSE:1.10.3
Reverse Dependencies 41 direct, 13 indirect [details]
Downloads 66814 total (276 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for X11-1.10.3

[back to package description]

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.