Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136403 - gnustep.eclass missing doc in IUSE
Summary: gnustep.eclass missing doc in IUSE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords: QAbadiuse
Depends on:
Blocks:
 
Reported: 2006-06-11 06:46 UTC by Jakub Moc (RETIRED)
Modified: 2006-06-25 07:47 UTC (History)
0 users

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


Attachments
A list of affected ebuilds (gnustep.log,10.92 KB, text/plain)
2006-06-11 06:48 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2006-06-11 06:46:48 UTC
No doc in IUSE, yet used in DEPEND/RDEPEND and in src_install. Affects tons of gnustep ebuilds. If this is supposed to be a per-ebuild use flag (as per eclass comment), there need to be some way to turn it on/off on a per-ebuild basis. Like:

IUSE="debug profile verbose"
if [[ ${GNUSTEP_DOC} == "yes" ]]; then
        IUSE="${IUSE} doc"
fi

or, it the reversed behaviour is preferable, then

IUSE="debug profile verbose"
if [[ ${GNUSTEP_DOC} != "no" ]]; then
        IUSE="${IUSE} doc"
fi

and set GNUSTEP_DOC="yes/no" in ebuilds.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-11 06:48:09 UTC
Created attachment 88905 [details]
A list of affected ebuilds
Comment 2 Fabian Groffen gentoo-dev 2006-06-25 07:47:28 UTC
Thanks Jakub.

Your solution, however, is not going to solve the real problem.  The gnustep-funcs eclass by default calls a doc target which checks if the doc USE-flag has been set or not.  For every GNUstep ebuild that has not doc in it's IUSE this warning of yours will appear.  Instead of your fix, I decided just to add "doc" to the default IUSE, and so install GNUstep docs when they are available, if "doc" is set.