Gentoo Archives: gentoo-user

From: Wang Xuerui <idontknw.wang@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Networkmanager and gnome-3.6 (negating a default USE)
Date: Tue, 16 Jul 2013 13:57:06
Message-Id: CABK5mSaE7xjBtj3EMWbCMG37ucne_TqP=8FYQ79DJ804KwVa1Q@mail.gmail.com
In Reply to: [gentoo-user] Networkmanager and gnome-3.6 (negating a default USE) by gottlieb@nyu.edu
1 在 2013-7-16 下午9:50, <gottlieb@×××.edu>写道:
2 >
3 > (This is not a msg about networkmanager's quality.)
4 >
5 > My main system is ~amd64 and runs gnome-3.6.
6 >
7 > I wanted to experiment with removing networkmanager.
8 > I do not have networkmanager in world and did not have it in make.conf.
9 > However gnome-3.6 by default pulls it in. For example
10 > gnome-control-center-3.6.3-r1.ebuild contains
11 >
12 > IUSE="+bluetooth +colord +cups +gnome-online-accounts +i18n
13 > input_devices_wacom kerberos +networkmanager +socialweb systemd v4l"
14 >
15 > and
16 >
17 > COMMON_DEPEND="
18 > ...
19 > networkmanager? (
20 > >=gnome-extra/nm-applet-0.9.1.90
21 > >=net-misc/networkmanager-0.8.997 )
22 >
23 > I believe the first says that "if the networkmanager use flag is neither
24 > set nor unset, treat it as set" and the second says
25 > "if the use flag is set (or treated as set), require
26 > net-misc/networkmanager".
27 >
28 > I don't see how to have the flag "unset" since its default is "set".
29 > For example, editing make.conf to add
30 >
31 > USE="-networkmanager"
32 >
33 > (I had no USE in make.conf previously) has no effect
34 > since networkmanager was not in USE before.
35 >
36 > How do I specify that the networkmanager USE flag is explicitly unset
37 > (rather than just "not explicitly set").
38 >
39 > thanks,
40 > allan
41 >
42
43 Just write a package.use file to handle that.

Replies