diagrams/diagrams-cairo — pull request #20 by byorgey (2012-11-11 11:48:54+00:00)
Title: split out gtk rendering into a separate package

The motivation is to reduce the dependencies of diagrams-cairo. There
were reports of people able to install the 'cairo' package but not
'gtk'.

* Diagrams.Backend.Cairo.Gtk is now Diagrams.Backend.Gtk in the
diagrams-gtk package.
* Remove dependency on gtk package.
* Remove the GTK output type.
* Add a 'RenderOnly' output type, for when you don't care about the
IO action but only want the cairo Render action
* Add a Bool 'cairoBypassAdjust' option to bypass calling
adjustDia2D, which is used by the GTK backend but is a sensible
option to make available for general use.

The only potentially breaking change here is the addition of the `cairoBypassAdjust` option; anyone who is constructing a `CairoOptions` record will have to add another argument. However, that shouldn't affect too many users, as most users will not be calling `renderDia` directly. I have patches to diagrams-doc and diagrams-builder fixing them, which I will apply after this is merged.