graphviz should be built with gtk support

Bug #163142 reported by Dan
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
graphviz (Debian)
Fix Released
Unknown
graphviz (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: graphviz

Graphviz-cairo is deprecated as gtk, pango and cairo support have been merged into graphviz since version 2.10 (in fact, the graphviz-cairo in gutsy doesn't work). Graphviz builds with gtk support if the dev libraries are available, so I am able to simply rebuild the package to get the plugin included in libgraphviz3.

It probably makes more sense to split it out into a separate package which replaces graphviz-cairo, though, to avoid making libgraphviz3 depend on gtk.

Revision history for this message
John Ellson (john-ellson) wrote :

What is libgraphviz3??? (I'm a graphviz developer, but not a Ubuntiu user/developer.)

In the Fedora rpms the -Tgtk support is in the primary graphviz rpm, but provided by a separate plugin, so
it would be trivial to provide a separate graphviz-gtk rpm is that was important.

Do any systems recent enough to include pango, cairo, actually not have gtk ? Or is it the Xlib dependency
that you want separated out?

Revision history for this message
Dan (danser) wrote :

libgraphviz3 is the Ubuntu package which contains the library bits of graphviz. At the moment it depends on freetype, glib, cairo, some X libs and a few others; built with GTK support, it pulls in libatk and libgtk (and maybe some others), which not everyone wants to install. At least it's not libgnome and friends...

The bug is really that graphviz doesn't build-dep on gtk. Whether a separate package is required for the gtk plugin depends on whether it is desirable to preserve the existing separation between graphviz and graphviz-cairo. I'm not personally bothered either way :-)

Revision history for this message
John Ellson (john-ellson) wrote :

Thanks for the explanation.

Sounds like this problem is specific to Ubuntu then? In graphviz.spec for creating rpms on Fedora >=6
I have:
           BuildRequires: cairo-devel >= 1.1.10 pango-devel gmp-devel lua-devel gtk2-devel libgnomeui-devel
(i.e. including gtk2-devel, but note that these are not all the BRs, only the incremental BRs over fedora-5.)

Revision history for this message
Dan (danser) wrote :

Yep, this is entirely a packaging problem, and nothing to do with graphviz itself (hence filing the bug in Launchpad :-)

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Confirming that gtk output of graphviz is not present dotedit exits with error: Error: renderer for gtk is unavailable.

Changed in graphviz:
status: New → Confirmed
Revision history for this message
Jean-Rémy Falleri (jrfaller) wrote :

Ok, I have checked the new debian packages in sid, and they don't build graphviz with gtk/cairo enabled. I have found a similar bug request on debian bugzilla:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457433

This feature is likely not te be added anytime soon.

For the impatients, I have managed to get a graphviz version with gtk and cairo enabled built against the graphviz package from hardy tree. I put an attached debdiff that should do the trick.

Regards!

Changed in graphviz:
status: Unknown → New
Daniel T Chen (crimsun)
Changed in graphviz:
importance: Undecided → Wishlist
Changed in graphviz (Debian):
status: New → Fix Committed
Changed in graphviz (Debian):
status: Fix Committed → Fix Released
the.sunshaine (brain195)
Changed in graphviz (Ubuntu):
status: Confirmed → Fix Committed
Changed in graphviz (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.