Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430890 - app-doc/doxygen: USE=dot uneffective
Summary: app-doc/doxygen: USE=dot uneffective
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on: 424283
Blocks:
  Show dependency tree
 
Reported: 2012-08-11 08:38 UTC by Michał Górny
Modified: 2012-08-11 09:54 UTC (History)
2 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-08-11 08:38:51 UTC
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.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-08-11 09:19:24 UTC
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
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-08-11 09:24:36 UTC
(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]
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-08-11 09:54:53 UTC
(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