Gentoo Archives: gentoo-user

From: Ryan Tandy <tarpman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Where do these use flags come from?
Date: Mon, 27 Feb 2006 02:46:57
Message-Id: 4402669B.2050106@gmail.com
In Reply to: Re: [gentoo-user] Where do these use flags come from? by "Brett I. Holcomb"
1 Brett I. Holcomb wrote:
2 > They come from /etc/make.conf or /etc/portage/package.use. The profile you
3 > are using has defaults set.
4 >
5 > On Sunday February 26 2006 21:00, Bo Andresen wrote:
6 >
7 >> I decided I wanted to remove the ipv6 use flag which I have had enabled in
8 >> make.conf for quite a while but never really been on a ipv6 network and
9 >> don't suspect I will in the near future. When upgrading firefox I noted it
10 >> has that use flag and decided I want to know what it actually does. Only, I
11 >> cannot find it anywhere in the ebuilds! So where does it come from and what
12 >> *exactly* does it do?
13 >>
14 >> ~ # emerge -uvp mozilla-firefox
15 >> These are the packages that would be merged, in order:
16 >> Calculating dependencies... done!
17 >> [ebuild U ] www-client/mozilla-firefox-1.5.0.1-r2 [1.5.0.1-r1]
18 >> USE="java mozdevelop xprint -debug -gnome -ipv6* -xinerama" 33 kB
19 >> Total size of downloads: 33 kB
20 >>
21 >> ~ # grep USE /usr/portage/www-client/mozilla-firefox/*.ebuild
22 >> /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.0.7-r4.ebuild:IUS
23 >> E="gnome java mozdevelop mozsvg mozcalendar"
24 >> /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.5-r11.ebuild:IUSE
25 >> ="java mozdevelop"
26 >> /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.5-r9.ebuild:IUSE=
27 >> "java mozdevelop"
28 >> /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.5.0.1-r2.ebuild:I
29 >> USE="java mozdevelop"
30 >>
31 >> ~ # grep ipv6 /usr/portage/www-client/mozilla-firefox/*.ebuild
32 >> ~ #
33 >>
34 >> ~ # equery u mozilla-firefox
35 >> [ Searching for packages matching mozilla-firefox... ]
36 >> [ Colour Code : set unset ]
37 >> [ Legend : Left column (U) - USE flags from
38 >> make.conf ]
39 >> [ : Right column (I) - USE flags packages was installed
40 >> with ]
41 >> [ Found these USE variables for www-client/mozilla-firefox-1.5.0.1-r1 ]
42 >> U I
43 >> - - debug : Tells configure and the makefiles to build for debugging.
44 >> Effects vary across packages, but generally it will at least add -g to
45 >> CFLAGS. Remember to set FEATURES=nostrip too
46 >> - - gnome : Adds GNOME support
47 >> - + ipv6 : Adds support for IP version 6
48 >> + + java : Adds support for Java
49 >> + + mozdevelop : Enable features for web developers (e.g. Venkman)
50 >> - - xinerama : Add support for the xinerama X11 extension, which allows
51 >> you to stretch your display across multiple monitors
52 >> + + xprint : Support for xprint,
53 >> http://www.mozilla.org/projects/xprint/
54 >>
55 >> --
56 >> Bo Andresen
57 >>
58 >
59 >
60 I think what the OP is asking, is where the usability of the flags is
61 specified in the Firefox ebuild(s) - which it quite clearly isn't. If
62 this is the case, I think the ipv6 USE-flag is added by an inherited
63 eclass (assuming they can do that) - probably one of the mozilla ones.
64 --
65 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Where do these use flags come from? "Brett I. Holcomb" <brettholcomb@×××××××××.net>