The hs-fltk package

[Tags:bsd3, library]

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]

Properties

Versions 0.2.5
Dependencies base [details]
License BSD3
Copyright (c) 2004 Einar Karttunen
Author Einar Karttunen
Maintainer Einar Karttunen <ekarttun@cs.helsinki.fi>
Stability Alpha
Category User Interfaces
Home page http://www.cs.helsinki.fi/u/ekarttun/hs-fltk/
Uploaded Sun Mar 9 22:45:48 UTC 2008 by GwernBranwen
Distributions NixOS:0.2.5
Downloads 331 total (5 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for hs-fltk

Readme for hs-fltk-0.2.5

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>