Archive for the ‘Releases’ Category

Gtk2Hs 0.9.12 released

Friday, July 27th, 2007

Gtk2Hs version 0.9.12 is now available from:

The source tarball and an installer for Windows are available. Packages for various platforms should become available soon, hopefully including Debian, Fedora, Gentoo, FreeBSD and Darwin.

Changes since 0.9.11:

  • ps, pdf and svg cairo backends are now supported
  • drag & drop support added
  • can run mainGUI in GHCi after :reload
  • Graphics.SOE.Gtk now works with threaded rts and GHCi
  • Windows build now includes OpenGL and SourceView packages
  • c2hs no longer chokes on some system headers (eg glibc-2.4)
  • various bug fixes and minor code cleanups
  • major overhaul of the code generator (will help binding Gtk+ 2.10)

Gtk2Hs 0.9.11 released

Wednesday, February 28th, 2007

Gtk2Hs version 0.9.11 is now available from:

The source tarball and an installer for Windows are available. Packages are available for Gentoo and FreeBSD. Packages for various other platforms should become available soon (hopefully including Fedora, Debian and Darwin).

Update: there was a bug in the windows installer which is now fixed. So if you downloaded the windows version and nothing worked, please download again. Sorry!

Changes since 0.9.10:

  • works with GHC 6.6 and Gtk+ 2.10.x
  • new typed tree/list widget API
  • new OpenGL widget added
  • new cairo SVG package (for rendering SVG images on cairo surfaces)
  • new implementation of the Graphics.SOE API
  • new glade tutorial
  • many more demo programs (clock, graph, traffic congestion sim, fonts, noughts & crosses, opengl, svg and updated profile viewer and other tree/list demos)
  • much smaller binaries (thanks to the ghc ’split objs’ feature)
  • many bugs fixed
  • new functions for working with the threaded RTS
  • various minor documentation improvements

Gtk2Hs 0.9.10 released

Saturday, November 5th, 2005

Gtk2Hs version 0.9.10 is now available from:

An installer for Windows is available. A package is available for Gentoo. Packages for other platforms should become available soon (hopefully including Fedora Core, Debian, Darwin, FreeBSD and OpenBSD).

Changes since version 0.9.9:

  • New bindings for the cairo vector graphics library. This provides a easy-to-use vector graphics API (using a PDF-style drawing model) with high quality output for multiple backends (screen, print and image files).
  • Completion of Pango, the text layout and rendering engine of Gtk+. We now provide all functions that end users should ever need for rendering text, ranging from type-setting whole paragraphs down to breaking up attributed text into several runs. All offsets into Haskell strings are transparently translated into UTF-8 offsets used in Pango, thereby alleviating much of the grief of dealing with Unicode.
  • new Gtk+ 2.8 APIs are bound
  • many bugs fixed
  • various minor documentation improvements
  • an installer for Windows is available again
  • the mozembed HTML rendering component can now be built against the FireFox libraries if the appropriate developer files are present.


Gtk2Hs special release with cairo support

Wednesday, August 31st, 2005

To mark the end of Paolo Martini’s project to add support for the cairo vector graphics library we are pleased to announce a special “tech preview” release of Gtk2Hs including Paolo’s contributions.

Here’s a screenshot from a demo program Paolo and others wrote to show off the combination of Haskell, cairo and Gtk+.
You can see more of his latest screenshots in his blog.

As of version 2.8, Gtk+ now depends on cairo and uses it for much of it’s drawing. It is a great advance over Gtk’s previous drawing API. The cairo website describes it thusly:

Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, win32, and image buffers. Experimental backends include OpenGL (through glitz), Quartz, XCB, PostScript and PDF file output.

Cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available (for example, through the X Render Extension).

The cairo API provides operations similar to the drawing operators of PostScript and PDF. Operations in cairo including stroking and filling cubic B├ęzier splines, transforming and compositing translucent images, and antialiased text rendering. All drawing operations can be transformed by any affine transformation (scale, rotation, shear, etc.).

We encourage anyone who has Gtk+ 2.8 installed to give this Gtk2Hs release a try and to experiment with using the cairo drawing API. Bug reports and cool screenshots will be gratefully accepted.

Download: gtk2hs-

The release includes some demos showing how to use cairo in a stand alone fashion to produce PNG image files and also demos showing how to use the cairo api for drawing in a Gtk+ GUI (both real-time and non-real-time). There is also some preliminary reference documentation available.

This release is not intended for packaging for distros. The next ordinary release will of course retain the cairo support. It is intended that the cairo package will eventually be distributed separately since it is useful in non-GUI programs too.

This project was undertaken by Paolo as part of Google’s Summer of Code programme. In our opinion his project has been a success and so we would like to recommend to Paolo’s official mentor at Google and the judges that he be counted amongst the successful SoC programme participants and awarded the full project grant.