Gtk2Hs version 0.9.7 released

Highlights:

  • automatic memory management
  • Unicode support
  • nearly full coverage of Gtk+ 2.2 and partial coverage of 2.4
  • bindings for several Gnome modules:
    • libglade for loading GUIs from xml files at run-time

      This allows you to design your user interface visually with the Glade user interface builder.

    • GConf, Gnome’s system for storing app preferences
    • SourceView, code editor widget with syntax highlighting
    • the Mozilla browser rendering engine in a widget
  • API reference documentation
  • multi-platform support with native look via themes
  • LGPL licence
  • Platforms and requirements:

  • packages are now available for Fedora Core 2 and 3
  • packages for Gentoo and FreeBSD should follow shortly
  • builds out-of-the box on Linux, FreeBSD, Solaris and MacOS X
  • support for Windows is on hiatus for this release
  • builds with GHC 6.2.x, 6.0.x and 5.04.x
  • works with Gtk+ version 2.0 through to 2.2, 2.4 and 2.6
  • optional Gnome support requires Gnome 2.0 or better
  • optional Mozilla support requires Mozilla 1.4 or better

Changes since 0.9.6:

  • all packages now use hierarchical module name
  • a binding for GtkMozEmbed that embeds the Mozilla rendering
    engine in a Gtk+ widget. (Thanks to Wolfram Kahl)
  • an autotooled build system

Goals for the 1.0 release:

  • a medium level API much like that of wxHaskell and hs-fltk
  • a stable API for the 1.x series
  • coverage of all the new widgets in Gtk+ 2.4 and 2.6
  • bindings for more Gnome modules
  • completion of the API reference documentation
  • packages for all popular platforms (including Windows)
  • a Windows installer

Please report all problems to the mailing list:
gtk2hs-users@lists.sourceforge.net.

Contributions and feedback are also most welcome.

Duncan

4 Responses to “Gtk2Hs version 0.9.7 released”

  1. Duncan Says:

    The Gentoo package for 0.9.7 is now available in ~x86 and ~ppc.

  2. Duncan Says:

    For people building from source on machines without vast amounts of memory use this install procedure:

    ./configure
    make HSTOOLFLAGS="-H350m -M350m"
    make install

  3. Gérard Milmeister Says:

    I am building FC3 rpms for gtk2hs. The .pkg files contain a variable ${pkglibdir} which is not resolved, so that ghc-pkg fails on install.

  4. Duncan Says:

    The ${pkglibdir} variable does need to be substituted for when registering with ghc-pkg. You can say:

    $ pkglibdir=/install/path/of/libs ghc-pkg -u -g -i gtk.pkg

    You might like to look at how Jens builds his FC rpms. http://haskell.org/fedora/
    There is also the gtk2hs.spec file available (I think it is in the tarball but it is certainly in cvs).