X11: A binding to the X11 graphics library

[ bsd3, graphics, library ] [ Propose Tags ]

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


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
pedantic

Be pedantic (-Werror and the like)

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
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.9 && <5), data-default-class (>=0.1 && <0.2) [details]
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>
Revised Revision 1 made by TomasJanousek at 2021-10-24T17:02:40Z
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 TomasJanousek at 2021-06-01T10:11:53Z
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, 12 indirect [details]
Downloads 65136 total (227 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2021-06-01 [all 1 reports]

Readme for X11-1.10

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