hs-fltk: Binding to GUI library FLTK

[ bsd3, library, user-interfaces ] [ Propose Tags ]

hs-fltk is a Haskell interface to the FLTK. FLTK is a small and portable GUI toolkit and the interface tries to be quite highlevel.

The library is very much a work in progress.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.2.5
Dependencies base [details]
License BSD-3-Clause
Copyright (c) 2004 Einar Karttunen
Author Einar Karttunen
Maintainer Einar Karttunen <ekarttun@cs.helsinki.fi>
Category User Interfaces
Home page http://www.cs.helsinki.fi/u/ekarttun/hs-fltk/
Uploaded by GwernBranwen at 2008-03-09T22:45:48Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1140 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for hs-fltk-0.2.5

[back to package description]
Haskell interface to the FLTK window toolkit

* Built using Cabal with hacks.
* For more information about FLTK see www.fltk.org
* Porting to windows should be possible, but I don't have the resources to do it.

Dependencies

* A very recent version of Cabal is needed
  * 17.11. support for C-Sources in subdirs
  *  6.12. Extra-Lib-Dirs support - not necessary on all platforms.
* Works with both GHC 6.2 and the CVS version of GHC.
* FLTK 1.1 headers and library
* No direct dependency on libstdc++ although libfltk does depend on it.
  This is to avoid issues with linkers doing nasty things.

Building

* Download and unpack.
* Build and install through Cabal as for other Haskell packages:

      runhaskell Setup configure --user --prefix=$HOME
      runhaskell Setup build
      runhaskell Setup install --user

(You may want to remove the --user flag when installing as root.)

* see example/
* library errors are most likely due to missing symlinks
  e.g. libfltk.so -> libfltk.so.1, if someone knows how to fix this
  with Cabal please tell.

TODO

* GHCI support is broken due to GHC not supporting weak (W) symbols properly.
* The Hugs Debian package is not usable.

For more information contact:
Einar Karttunen <ekarttun at cs helsinki fi>