Gentoo Archives: gentoo-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Dirt: To shove under the rug or not shove under the rug? (aka another round of USE_EXPAND)
Date: Wed, 28 Sep 2005 03:20:09
Message-Id: 200509281213.53108.jstubbs@gentoo.org
In Reply to: Re: [gentoo-dev] Dirt: To shove under the rug or not shove under the rug? (aka another round of USE_EXPAND) by Jason Stubbs
1 On Wednesday 28 September 2005 10:23, Jason Stubbs wrote:
2 > On Wednesday 28 September 2005 00:35, Donnie Berkholz wrote:
3 > > What I have done in my ebuilds using USE_EXPAND is add extra IUSE-like
4 > > variables, for example:
5 > >
6 > > IUSE_VIDEO_CARDS="radeon sis mga"
7 > > IUSE_INPUT_DEVICES="synaptics wacom"
8 > >
9 > > for `use video_cards_sis` etc..
10 > >
11 > > This would allow for possible QA checks. Potentially, portage could look
12 > > through and display things at --verbose like:
13 > >
14 > > [ebuild N ] x11-base/x11-drm-20050807 +dga -nls VIDEO_CARDS="+sis
15 > > +mga -radeon" 538 kB [2]
16 >
17 > This output is exactly what my patch gives, but it currently works by
18 > inspecting IUSE. However, it should be possible to indirectly pull the
19 > information from the above flags instead. Adding support for a
20 > USE_EXPAND_HIDDEN var should cover USERLAND and friends as well (although
21 > those would still need to be defined in IUSE_USERLAND="...")
22
23 <warcraft voice>Job's done!</warcraft voice>

Attachments

File name MIME type
verbose-USE_EXPAND-support.patch text/x-diff