Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172586 - app-shells/fish requires doxygen regardless of USE=doc
Summary: app-shells/fish requires doxygen regardless of USE=doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 170809 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-28 19:30 UTC by James Rowe
Modified: 2009-11-03 15:27 UTC (History)
4 users (show)

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


Attachments
fish-no_doxygen.patch (fish-no_doxygen.patch,879 bytes, patch)
2007-03-28 19:31 UTC, James Rowe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Rowe 2007-03-28 19:30:11 UTC
The build system for fish always executes the user_doc rule, which
requires doxygen irrespective of any USE flag setting.

  Possible fixes include:

    * simply depending on doxygen unconditionally even though it isn't
      strictly required,
    * patching user_doc out of the `all' target or calling the others
      manually in the ebuild,
    * a stub function if USE=doc isn't set to skip doxygen usage because
      the docs are already prebuilt anyway.

  Being lazy, and not wanting doxygen needlessly, I went for the second
option and attached is a patch which does this.  Although, I imagine
some will prefer a cleaner fix :/

Thanks,

James
Comment 1 James Rowe 2007-03-28 19:31:02 UTC
Created attachment 114808 [details, diff]
fish-no_doxygen.patch

  The patch also changes the with USE=doc conditional to use the
`user_doc' rule, because the doc files that are built with the `doc'
rule aren't even installed.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-28 20:25:03 UTC
*** Bug 170809 has been marked as a duplicate of this bug. ***
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2007-06-21 23:33:39 UTC
Please file this bug with the upstream developers. I'll be happy to add a fix once upstream accepts it.
Comment 4 Muelli 2007-06-23 17:04:51 UTC
I don't agree with closing the bug as resolved, since it is obviously not resolved.

Whats wrong with the patch anyway? You didn't even leave a comment on this.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2007-06-23 19:11:03 UTC
(In reply to comment #4)
> I don't agree with closing the bug as resolved, since it is obviously not
> resolved.

It is not resolved as fixed, it is resolved as this is an upstream issue to fix. Once this fix is upstream, we will reopen this bug, add the patch and mark it as fixed.

> Whats wrong with the patch anyway? You didn't even leave a comment on this.

It's not in the upstream source code. I don't add patches that aren't in the upstream code, because it increases Gentoo's maintenance burden and makes us the end-point of support instead of upstream.
Comment 6 James Rowe 2007-06-24 23:12:24 UTC
  For what it is worth as the original poster I *won't* personally be taking 
this upstream, I'm not a fish user I only installed it to check on a user's 
collision report with another package(#131638 and #145928) and the latest 
ebuild's behaviour of just forcing the doxygen dep is fine with me(minus the
spurious doc USE flag anyhow).
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2007-06-25 02:16:31 UTC
(In reply to comment #6)
> ebuild's behaviour of just forcing the doxygen dep is fine with me(minus the
> spurious doc USE flag anyhow).

Thanks for pointing that out, I just fixed it.
Comment 8 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-07-01 14:04:23 UTC
Reopening as app-shells/fish-1.22.2 is still affected by this bug. Adding the dep on app-doc/doxygen works over here.
Comment 9 Fabian Groffen gentoo-dev 2007-10-01 17:54:09 UTC
please add the doxygen dep, or apply the patch.
Comment 10 Fabian Groffen gentoo-dev 2007-10-01 18:00:57 UTC
uhm, sorry for the spam.  doxygen dep is already in there.
Comment 11 Víctor Ostorga (RETIRED) gentoo-dev 2009-11-03 15:27:42 UTC
fish-1.23.0 does not comes anymore with doc useflag , and it builds fine without doxygen installed.

Removing doxygen DEPEND