Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Donnie Berkholz <dberkholz@g.o>
Subject: Re: use.force as a complement to use.mask in profiles
Date: Mon, 07 Aug 2006 19:56:36 -0700
Zac Medico wrote:
> I've written a patch [1] that implements support for use.force and package.use.force as originally described by Sven Wegener [2] over a year ago.  Basically, this feature is the exact opposite of use.mask and package.use.mask.  It forces USE flags to be enabled.  The only way to disable these forced flags is to mask them via use.mask/package.use.mask or to "unforce" them in the profile stack.  Users can unforce them via /etc/portage/profile/{use.force,package.use.force} in the usual "-flag" way.
> 
> If use.force is abused, then it will make it difficult for users to disable unwanted USE flags.  Therefore, the only flags that should be forced are those that should almost certainly be enabled.  This is complementary to USE masking, which should only be used to mask flags that should almost certainly be disabled.
> 
> We've discussed this feature on the gentoo-portage-dev mailing list [3] and people have expressed a desire to have the use.force feature.  People also want a way to enable default flags via IUSE, but that is a distinctly separate feature.  Considering that we have a proposed implementation for use.force, shall we add support it now?

I read the portage-dev discussion, and I'm still not seeing how this is 
superior to make.defaults. If you want to be enabling local USE flags by 
default, this is no less of a hack than that is -- what's truly needed 
is some way to set per-package defaults.

The only valid use I can see is things like the architecture, libc, and 
so forth. And it seems like there ought to be better solutions to this 
than adding another hack on top of USE.

BTW your mail was really difficult to reply to, since it didn't have any 
line wrapping.

Thanks,
Donnie
-- 
gentoo-dev@g.o mailing list


Replies:
Re: use.force as a complement to use.mask in profiles
-- Zac Medico
References:
use.force as a complement to use.mask in profiles
-- Zac Medico
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
use.force as a complement to use.mask in profiles
Next by thread:
Re: use.force as a complement to use.mask in profiles
Previous by date:
Re: Proposal for advanced useflag-syntax
Next by date:
Re: New(-ish) developer - Elfyn McBratney


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.