A number of packages have undergone a point release today: cairo, glib, gstreamer, gtk2hs-buildtools, gtksourceview2, svgcairo, and webkit. The only changes are to allow these packages to build on a wider variety of GHC, gtk, and cabal-install version mixtures. Thanks to Sergei Trofimovich and Christian Maeder for contributing to this mini-release!
I am very grateful to Duncan who put a lot of effort into adjusting Gtk2Hs to work with GHC 7.XX which resulted in the release of Gtk2Hs 0.12.1 which was not widely announced. Since then two bugs in Pango and Cairo were fixed and I’m now happy to announce the release of Gtk2Hs 0.12.2.
New in this (and Duncan’s) release:
- compiles with GHC 7.XX
- works with the binary Gtk+ packages on Windows without the need for Msys/MingW
- more robust CPP detection under Windows
- Gtk+ on Aqua working on Mac
- a serious performance bug in Cairo rendering due to Double to CDouble conversion fixed
(reported and fixed by Eugene Kirpichov and Felipe Lessa)
- typesetting paragraphs manually using PangoItem now works as expected
(reported by Brandon Moore)
Many thanks to Duncan, Brandon, Eugene and Felipe!
Duncan has kindly upgraded the Gtk2Hs core packages to work with GHC version 7. They have successfully been tested on Linux, Mac OS 10.5, 10.6, 10.7 (even the native Aqua version seems to work), and Windows 7. Anyone having a different platform than the aforementioned: now is the time to test.
Note that users of ghc-6.10 will need to first install a more recent
version of the Cabal library, at least 1.8. This is straightforward and
should not break anything.
Try with cabal-install
If you’ve got cabal-install version 0.10 or later you can copy and paste
this huge command line to install them all:
cabal install http://code.haskell.org/~duncan/gtk2hs/gtk2hs-buildtools-0.12.1.tar.gz
cabal install http://code.haskell.org/~duncan/gtk2hs/glib-0.12.1.tar.gz http://code.haskell.org/~duncan/gtk2hs/gio-0.12.1.tar.gz http://code.haskell.org/~duncan/gtk2hs/pango-0.12.1.tar.gz http://code.haskell.org/~duncan/gtk2hs/cairo-0.12.1.tar.gz http://code.haskell.org/~duncan/gtk2hs/gtk-0.12.1.tar.gz
(The above are two lines only!)