public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] use flags in both use.defaults and make.defaults
@ 2005-08-28 19:36 William Hubbs
  2005-08-28 19:46 ` warnera6
  2005-08-28 19:46 ` Mike Frysinger
  0 siblings, 2 replies; 3+ messages in thread
From: William Hubbs @ 2005-08-28 19:36 UTC (permalink / raw
  To: gentoo development

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

since there has been a lot of discussion lately about default use flags,
I looked at the profiles and found the following:

All of these use flags are in base/use.defaults.  As I understand it, if
the package listed with the flag in this file is installed on the
system, the flag is automatically turned on.  If that's true, why are
they also listed in default-linux/x86/make.defaults?  Wouldn't it be
better to have them turned on automatically when the package that
installs them is merged?

arts cups eds emboss foomaticdb gnome kde nls opengl perl python tcpd X

I also found the following flags in both places.  The difference here is
that the packages listed with these in base/use.defaults are libraries.
Again, do these need to be listed in both places?  I would think these
don't need to be in base/use.defaults if we are going to allow the user
to turn on/off support for them.

alsa berkdb gdbm gif gpm gstreamer gtk imlib libwww mad mikmod motif ncurses ogg pam pdflib png qt readline sdl ssl vorbis zlib

any thoughts?

William

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDEhJKblQW9DDEZTgRAlzaAKCc+sLiwCO6HCE+UUnOvrnhY7f4kwCgoqkx
Xzz8eV610fWxhZ6ccQ+adZ4=
=HC0T
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] use flags in both use.defaults and make.defaults
  2005-08-28 19:36 [gentoo-dev] use flags in both use.defaults and make.defaults William Hubbs
@ 2005-08-28 19:46 ` warnera6
  2005-08-28 19:46 ` Mike Frysinger
  1 sibling, 0 replies; 3+ messages in thread
From: warnera6 @ 2005-08-28 19:46 UTC (permalink / raw
  To: gentoo-dev

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> All,
>
> since there has been a lot of discussion lately about default use flags,
> I looked at the profiles and found the following:
>
> All of these use flags are in base/use.defaults.  As I understand it, if
> the package listed with the flag in this file is installed on the
> system, the flag is automatically turned on.  If that's true, why are
> they also listed in default-linux/x86/make.defaults?  Wouldn't it be
Obviously because default-linux/x86 is the only profile worth looking at :)
Try looking at the default use flags for say, the s390 profile :)

I still agree with your point "stuff in both places" but I think it's more
of an "it's there because it doesn't work right otherwise" rather than
some sort of USE flag conspiracy ;)

> better to have them turned on automatically when the package that
> installs them is merged?
>
> arts cups eds emboss foomaticdb gnome kde nls opengl perl python tcpd X
>
> I also found the following flags in both places.  The difference here is
> that the packages listed with these in base/use.defaults are libraries.
> Again, do these need to be listed in both places?  I would think these
> don't need to be in base/use.defaults if we are going to allow the user
> to turn on/off support for them.
>
> alsa berkdb gdbm gif gpm gstreamer gtk imlib libwww mad mikmod motif
> ncurses ogg pam pdflib png qt readline sdl ssl vorbis zlib
>
> any thoughts?

I believe in the current implementation of use.defaults the use flag is
not propagated backwards through the buildplan.  So you "USE="-everything
in /etc/make.profile/make.defaults" emerge xmms alsa" and xmms won't have
the ALSA use flag set, because alsa was merged second.  I'd have to double
check with Jason or Brian though..haven't talked about implentation of
use.defaults in a while *pokes*.

> William
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFDEhJKblQW9DDEZTgRAlzaAKCc+sLiwCO6HCE+UUnOvrnhY7f4kwCgoqkx
> Xzz8eV610fWxhZ6ccQ+adZ4=
> =HC0T
> -----END PGP SIGNATURE-----
> --
> gentoo-dev@gentoo.org mailing list
>


-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] use flags in both use.defaults and make.defaults
  2005-08-28 19:36 [gentoo-dev] use flags in both use.defaults and make.defaults William Hubbs
  2005-08-28 19:46 ` warnera6
@ 2005-08-28 19:46 ` Mike Frysinger
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2005-08-28 19:46 UTC (permalink / raw
  To: gentoo-dev

On Sunday 28 August 2005 03:36 pm, William Hubbs wrote:
> All of these use flags are in base/use.defaults.  As I understand it, if
> the package listed with the flag in this file is installed on the
> system, the flag is automatically turned on.  If that's true, why are
> they also listed in default-linux/x86/make.defaults?  Wouldn't it be
> better to have them turned on automatically when the package that
> installs them is merged?

iirc we want to get away from the vague use.defaults file ...

but either way, the answer is 'not really' ... since the USE flag isnt put 
into effect until after a package is merged, any existing packages which take 
advantage of that USE flag will need to be rebuilt
-mike
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-28 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-28 19:36 [gentoo-dev] use flags in both use.defaults and make.defaults William Hubbs
2005-08-28 19:46 ` warnera6
2005-08-28 19:46 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox