Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430914 - [TRACKER] Packages depending on app-doc/doxygen[dot] or [latex]
Summary: [TRACKER] Packages depending on app-doc/doxygen[dot] or [latex]
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
Keywords: Tracker
Depends on: 556808
  Show dependency tree
Reported: 2012-08-11 11:27 UTC by Michał Górny
Modified: 2017-02-25 21:31 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-08-11 11:27:15 UTC
Right now, doxygen provides two ineffective USE flags: 'dot' and 'latex'. These flags only pull in runtime dependencies, while not affecting the doxygen code at all.

Thus, for users having either graphviz or respective latex parts installed, they only force needless USE change and rebuild of doxygen.

I think that the flags should be removed (or possibly transformed into GLEP-62 IUSE_RUNTIME at some point) and the packages should depend on the required packages directly instead.

Sometimes, this is already a case because of the output format choice. Namely, dependency on doxygen[dot] does not enforce the DOT_IMAGE_FORMAT. Effectively, the package should instead depend on e.g.:

Comment 1 Steve Arnold gentoo-dev 2016-01-25 17:23:32 UTC
IIRC, the original request (and meaning) of the dot USE flag for doxygen itself was to build its own manual during install.  Building the PDF doxygen manual requires both graphviz and a latex tool to complete "make refman".  Building the HTML doxygen manual would only need graphviz itself.  SVG graphics in the doxygen output in general should be optional (I think it defaults to .png images, but .svg allows interactive zoom/pan for large graphs now).  PNG is probably a better default for install.