Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 181890

Summary: app-doc/doxygen - do not need graphviz dependency (new USE flag)
Product: Gentoo Linux Reporter: Krzysztof Kozlowski <krzysztof.kozlowski>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: doxygen-1.5.2.ebuild - patch for removing graphviz dependency and adding new USE flag

Description Krzysztof Kozlowski 2007-06-13 10:34:58 UTC
Dependency for graphviz is optional. From manual (http://www.stack.nl/~dimitri/doxygen/install.html):
"To take full advantage of doxygen's features the following additional tools should be installed.
(...)
the Graph visualization toolkit version 1.8.10 or higher . Needed for the include dependency graphs, the graphical inheritance graphs, and the collaboration graphs. If you compile graphviz yourself, make sure you do include freetype support (which requires the freetype library and header files), otherwise the graphs will not render proper text labels."

So maybe remove ">=media-gfx/graphviz-2.6" dependency and add "graphviz" USE flag?

Reproducible: Always

Steps to Reproduce:
Comment 1 Krzysztof Kozlowski 2007-06-13 10:36:00 UTC
Created attachment 121922 [details, diff]
doxygen-1.5.2.ebuild - patch for removing graphviz dependency and adding new USE flag

I have tested new ebuild (compiled withoud graphviz) and it works.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-13 11:32:24 UTC
Comment on attachment 121922 [details, diff]
doxygen-1.5.2.ebuild - patch for removing graphviz dependency and adding new USE flag

This patch is invalid, the flag doesn't do anything at all.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-13 11:34:31 UTC
graphviz is needed for stuff installed by doxygen... No way to remove it without removing the tools that depend on it being present.
Comment 4 Krzysztof Kozlowski 2007-06-13 12:28:50 UTC
(In reply to comment #3)
> graphviz is needed for stuff installed by doxygen... No way to remove it
> without removing the tools that depend on it being present.
> 
You can remove it and Doxygen WILL work. He will produce good documentation (but without images of class trees etc.). Even automatic configuration  ("doxygen -g") gives good config - with "HAVE_DOT = NO".

Graphviz is not critical and required dependency.