Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202781 - media-gfx/graphviz-2.16.1[-r1] needs cairo-1.4.12 built with USE=svg
Summary: media-gfx/graphviz-2.16.1[-r1] needs cairo-1.4.12 built with USE=svg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 202956 205313 205750 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-19 14:11 UTC by Ferris McCormick (RETIRED)
Modified: 2008-01-14 08:41 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferris McCormick (RETIRED) gentoo-dev 2007-12-19 14:11:40 UTC
In the pango plugin for graphviz-2.16.1-r1, we see this:

./plugin/pango/gvrender_pango.c:159:        surface = cairo_svg_surface_create_for_stream (writer, [....]

However, a quick check shows that to get that symbol defined, you must build cairo-1.4.12 with USE=svg  (I think the same is true with cairo-1.5.4, but I can't test that on sparc because of https://bugs.gentoo.org/show_bug.cgi?id=202077#c2 ).

So, I think the graphviz-2.16.1-r1 should verify that cairo was built with USE=svg.  (I  guess a "if ! build_with_use x11-libs/cairo svg ... " check.)

In any event, if I build cairo with USE='-svg', then graphviz-2.16.1-r1 fails with an undefined external to cairo_svg_surface_create_for_stream in the pango plugin, and if I build cairo with USE='svg', then graphviz-2.16.1-r1 installs as expected.
Comment 1 Markus Meier gentoo-dev 2007-12-20 10:16:54 UTC
check added, thanks for the report.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-12-21 20:19:34 UTC
*** Bug 202956 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-11 14:23:05 UTC
*** Bug 205313 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-01-11 14:41:12 UTC
Reopen, need the same check w/ X/gtk flags, plus should really reduce the use flags mess here.
Comment 5 Markus Meier gentoo-dev 2008-01-11 17:07:00 UTC
media-gfx/./graphviz-2.16.1-r3 added:
X and cairo flag removed. gtk USE-flag builds X and cairo support for now (as gtk depends on cairo anyway).
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-01-14 08:41:06 UTC
*** Bug 205750 has been marked as a duplicate of this bug. ***