On Wed, 20 Jun 2012 18:57:19 +0200 hasufell wrote: > >> 2. Afais useflags that are already in IUSE and used for build-time > >> stuff must not be used for IUSE_RUNTIME too. > >> This is a random rule IMO. I don't have many cases in mind where > >> this would be annoying (could think of "debug" enabling some > >> in-source switches and adding optional debug tools in RDEPEND. > >> Having one flag here would make it cleaner and tighter for the > >> user to interact with useflags.). > >> However... this is not a logical rule, rather a technical issue. If > >> there is a way to avoid this restriction that would be nice. > > > > I do not see where you are going with this. If it makes sense to > > turn on the build-time support for a feature without installing all > > the dependencies then the extra dependencies should go behind a > > separate USE flag (and that separate USE flag may depend on the USE > > flag controlling the build-time support using REQUIRED_USE). Or > > perhaps the additional dependencies should be in some new kind of > > "suggested" depend. > > I think it is bad to overuse REQUIRED_USE in that way. REQUIRED_USE > blocks the emerge process and should only be used when there is a > technical (not logical) useflag correlation. > > Using a seperate USE flag just because the name is blocked means the > user has to look up another useflag and think about what it is for. > > But as I said... that is rather minor. I just don't like it either, > cause I feel it might annoy me in the future. > > What do you think about useflag expansion and seperating them in > make.conf like yngwin suggested: > > USE_RUNTIME="debug" -> will enable "runtime_debug" useflag for all > ebuilds USE="debug" -> will enable "debug" useflag for all ebuilds > > This would also solve point #1 somehow, cause you don't have to fear > that your dependency graph will grow just because you didn't examine > all newly introduced IUSE_RUNTIME flags. > > For people who want that stuff unconditionally they could do: > USE_RUNTIME="$USE" > > and never bother again with it. Please read the rationale. Again. The whole thing. Three times. -- Best regards, Michał Górny