The USE=dot flag of app-doc/doxygen has no real effect; doxygen is perfectly capable of generating the graphs if graphviz is installed anyway. I believe the flag should be removed and replaced with appropriate runtime-dependency measures.
Some packages that depend on doxygen need dot functionality, and some of them not. That's why doing pkg_postinst() is not enough. If we make it unconditional dependence someone will file a bug about it, cause he/she won't like to have graphviz on their system and will be as right as you are. Shifting the dependency to packages that really need it is IMHO stupid thing to do. Until GLEP 62[1] is implemented we can't do anything about it. [1] http://www.gentoo.org/proj/en/glep/glep-0062.html
(In reply to comment #1) > Some packages that depend on doxygen need dot functionality, and some of > them not. That's why doing pkg_postinst() is not enough. If we make it > unconditional dependence someone will file a bug about it, cause he/she > won't like to have graphviz on their system and will be as right as you are. > Shifting the dependency to packages that really need it is IMHO stupid thing > to do. To be honest, considering technical details of doxygen, it is actually correct for packages to depend on both graphviz and doxygen. Moreover, usually it is necessary, unless you're going to copy all file-format graphviz flags to doxygen. For example, my pimplxx depends on: app-doc/doxygen media-gfx/graphviz[svg]
(In reply to comment #2) > (In reply to comment #1) > > Some packages that depend on doxygen need dot functionality, and some of > > them not. That's why doing pkg_postinst() is not enough. If we make it > > unconditional dependence someone will file a bug about it, cause he/she > > won't like to have graphviz on their system and will be as right as you are. > > Shifting the dependency to packages that really need it is IMHO stupid thing > > to do. > > To be honest, considering technical details of doxygen, it is actually > correct for packages to depend on both graphviz and doxygen. Moreover, > usually it is necessary, unless you're going to copy all file-format > graphviz flags to doxygen. > > For example, my pimplxx depends on: > > app-doc/doxygen > media-gfx/graphviz[svg] Make a tracker, explain the issue there, find all packages that need to have their deps adjusted. Then we can drop dot flag from doxygen