Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH] use.force and package.use.force (bug #142853)
Date: Mon, 07 Aug 2006 05:25:05
Message-Id: 44D6CE30.3070205@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi everyone,
5
6 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.
7
8 One of the many benefits that this will provide is the ability to invert the no* USE flags so that any flags can potentially have positive meaning if we choose. Some type of functionality like this is certainly needed. Shall we add support for this?
9
10 Zac
11
12 [1] http://dev.gentoo.org/~zmedico/portage/branches/2.1/patches/use.force.patch
13 [2] http://article.gmane.org/gmane.linux.gentoo.devel/28727
14 -----BEGIN PGP SIGNATURE-----
15 Version: GnuPG v1.4.5 (GNU/Linux)
16
17 iD8DBQFE1s4u/ejvha5XGaMRAhimAKDIL5nV9InPExsxDHimYt0Q4Oa4BQCZAfAA
18 P4Xre/afHVq/7R4ekEOlfzo=
19 =InC1
20 -----END PGP SIGNATURE-----
21 --
22 gentoo-portage-dev@g.o mailing list

Replies