Gentoo Archives: gentoo-dev

From: warnera6@×××××××.edu
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] use flags in both use.defaults and make.defaults
Date: Sun, 28 Aug 2005 19:49:49
Message-Id: 1125258365.warnera6.squirrel@localhost
In Reply to: [gentoo-dev] use flags in both use.defaults and make.defaults by William Hubbs
1 > -----BEGIN PGP SIGNED MESSAGE-----
2 > Hash: SHA1
3 >
4 > All,
5 >
6 > since there has been a lot of discussion lately about default use flags,
7 > I looked at the profiles and found the following:
8 >
9 > All of these use flags are in base/use.defaults. As I understand it, if
10 > the package listed with the flag in this file is installed on the
11 > system, the flag is automatically turned on. If that's true, why are
12 > they also listed in default-linux/x86/make.defaults? Wouldn't it be
13 Obviously because default-linux/x86 is the only profile worth looking at :)
14 Try looking at the default use flags for say, the s390 profile :)
15
16 I still agree with your point "stuff in both places" but I think it's more
17 of an "it's there because it doesn't work right otherwise" rather than
18 some sort of USE flag conspiracy ;)
19
20 > better to have them turned on automatically when the package that
21 > installs them is merged?
22 >
23 > arts cups eds emboss foomaticdb gnome kde nls opengl perl python tcpd X
24 >
25 > I also found the following flags in both places. The difference here is
26 > that the packages listed with these in base/use.defaults are libraries.
27 > Again, do these need to be listed in both places? I would think these
28 > don't need to be in base/use.defaults if we are going to allow the user
29 > to turn on/off support for them.
30 >
31 > alsa berkdb gdbm gif gpm gstreamer gtk imlib libwww mad mikmod motif
32 > ncurses ogg pam pdflib png qt readline sdl ssl vorbis zlib
33 >
34 > any thoughts?
35
36 I believe in the current implementation of use.defaults the use flag is
37 not propagated backwards through the buildplan. So you "USE="-everything
38 in /etc/make.profile/make.defaults" emerge xmms alsa" and xmms won't have
39 the ALSA use flag set, because alsa was merged second. I'd have to double
40 check with Jason or Brian though..haven't talked about implentation of
41 use.defaults in a while *pokes*.
42
43 > William
44 >
45 > -----BEGIN PGP SIGNATURE-----
46 > Version: GnuPG v1.4.1 (GNU/Linux)
47 >
48 > iD8DBQFDEhJKblQW9DDEZTgRAlzaAKCc+sLiwCO6HCE+UUnOvrnhY7f4kwCgoqkx
49 > Xzz8eV610fWxhZ6ccQ+adZ4=
50 > =HC0T
51 > -----END PGP SIGNATURE-----
52 > --
53 > gentoo-dev@g.o mailing list
54 >
55
56
57 --
58 gentoo-dev@g.o mailing list