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]
Versions [RSS] [faq] 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
Change log CHANGES.md
Dependencies base (==4.*), data-default-class (==0.1.*) [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>
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, Debian:1.9, Fedora:1.9.1, FreeBSD:1.6.1.2, LTSHaskell:1.9.2, NixOS:1.9.2, Stackage:1.10, openSUSE:1.9.2
Downloads 53547 total (930 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user [build log]
All reported builds failed as of 2021-06-01 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
pedantic

Be pedantic (-Werror and the like)

DisabledManual

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates


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.