* [gentoo-dev] use.defaults ( auto-use )
@ 2005-11-07 7:05 Alec Warner
2005-11-07 10:25 ` Henrik Brix Andersen
2005-11-07 14:51 ` Mike Frysinger
0 siblings, 2 replies; 8+ messages in thread
From: Alec Warner @ 2005-11-07 7:05 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Could we by chance, mandate some sort of comment field in that file not
unlike package.mask?
I usually like to know the reason why these flags are being switched on.
Certainly there are some flags that I don't mind and there are others
where I just have to wonder why the hell it's in use.defaults in the
first place.
I'm also a bit worried that things were placed in there a while ago and
are no longer needed, may also be a good idea to date the entries.
- -Alec Warner (antarus)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQIVAwUBQ278wWzglR5RwbyYAQIauA//bRjPMeA001oaclmvIYT7i+dDUPbsSW0O
xm+4hF1rKj6ip9VyQJyNXAMvh858ZdgNAmQxUlA62fMQFXmvz/KgRKgteeIgHztW
vp7PnbW0hN3vTRiGXkOgsZJoDxoqVLcdcup0sN3EmEyOofwjHNPH7WGnn/hj4g3d
XcS8TB2wWsA9lTJUV3+Jh9ZYt2ou6Qg6Nyruz9C8AKTWQWfPd3CCb/840nFIHBvy
ehZcSg+oAmGQMxaIRN4GnaHwkWlz3BP7qcn6mEBdPxMKM0H3elN/uKcT+RiPr86m
Hw+H0zdofxp2UEyHi81iOJT2ndxqKORUHcZZ39AnGeMCmp777j6tcTwqGuaTqmKX
Y1ievL9MyYp8jQleT9CPOIJmeMAiJzZXXwHS+i0o+FAWezzDB1byi5TSuzFGHPPn
OBZsRgdrre/q3KuPqVGzr0KLy2YJYw1G0/3dMvDaokAn1XGm50RzP+nFkE5fLbtQ
/IMgj9iNFLSR/TOe2X9vYzyZMMCfoptC03RCUZVyqM5h92ghOjQzLX8Qw8Wr39Kf
KWHyg9eQKsHfioKZFGKsT623QaL0BzNuRpScbzXk89J9sdGGZIXGYE/ScQD74UAe
96GZl6wiex31DSByf8npKmbos4ez7GIYg1IV6rQSWgVOwamumesustDZfWY/UhtR
71CNIE1d3kk=
=wtV6
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] use.defaults ( auto-use )
2005-11-07 7:05 [gentoo-dev] use.defaults ( auto-use ) Alec Warner
@ 2005-11-07 10:25 ` Henrik Brix Andersen
2005-11-07 12:39 ` Jason Stubbs
2005-11-07 14:51 ` Mike Frysinger
1 sibling, 1 reply; 8+ messages in thread
From: Henrik Brix Andersen @ 2005-11-07 10:25 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 970 bytes --]
On Mon, Nov 07, 2005 at 02:05:37AM -0500, Alec Warner wrote:
> Could we by chance, mandate some sort of comment field in that file not
> unlike package.mask?
Sounds like a really good idea to me. Will this require any
modifications to portage, or will it automagically ignore # comments
in that file?
> I usually like to know the reason why these flags are being switched on.
> Certainly there are some flags that I don't mind and there are others
> where I just have to wonder why the hell it's in use.defaults in the
> first place.
I recently added the 'udev' flag which is automatically turned on by
sys-fs/udev. This is needed by at least one package
(sys-apps/pcmciautils) to determine if the user wishes to install
pcmciautils as an udev helper or as a hotplug helper. This was done
after discussing the subject in #gentoo-kernel.
Regards,
Brix
--
Henrik Brix Andersen <brix@gentoo.org>
Gentoo Metadistribution | Mobile computing herd
[-- Attachment #2: Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] use.defaults ( auto-use )
2005-11-07 10:25 ` Henrik Brix Andersen
@ 2005-11-07 12:39 ` Jason Stubbs
0 siblings, 0 replies; 8+ messages in thread
From: Jason Stubbs @ 2005-11-07 12:39 UTC (permalink / raw
To: gentoo-dev
On Monday 07 November 2005 19:25, Henrik Brix Andersen wrote:
> On Mon, Nov 07, 2005 at 02:05:37AM -0500, Alec Warner wrote:
> > Could we by chance, mandate some sort of comment field in that file not
> > unlike package.mask?
>
> Sounds like a really good idea to me. Will this require any
> modifications to portage, or will it automagically ignore # comments
> in that file?
Lines beginning with # are ignored.
--
Jason Stubbs
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] use.defaults ( auto-use )
2005-11-07 7:05 [gentoo-dev] use.defaults ( auto-use ) Alec Warner
2005-11-07 10:25 ` Henrik Brix Andersen
@ 2005-11-07 14:51 ` Mike Frysinger
2005-11-07 15:08 ` Alec Warner
1 sibling, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2005-11-07 14:51 UTC (permalink / raw
To: gentoo-dev
On Mon, Nov 07, 2005 at 02:05:37AM -0500, Alec Warner wrote:
> Could we by chance, mandate some sort of comment field in that file not
> unlike package.mask?
what really needs explanation ? i mean, why do you need a comment for say:
aalib media-libs/aalib
canna app-i18n/canna
and every package in there is the same way
> I'm also a bit worried that things were placed in there a while ago and
> are no longer needed, may also be a good idea to date the entries.
like what ? dating is pointless imo, use `cvs ann` :P
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] use.defaults ( auto-use )
2005-11-07 14:51 ` Mike Frysinger
@ 2005-11-07 15:08 ` Alec Warner
2005-11-07 15:28 ` Mike Frysinger
0 siblings, 1 reply; 8+ messages in thread
From: Alec Warner @ 2005-11-07 15:08 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mike Frysinger wrote:
> On Mon, Nov 07, 2005 at 02:05:37AM -0500, Alec Warner wrote:
>
>>Could we by chance, mandate some sort of comment field in that file not
>>unlike package.mask?
>
>
> what really needs explanation ? i mean, why do you need a comment for say:
> aalib media-libs/aalib
> canna app-i18n/canna
> and every package in there is the same way
>
>
Because I want to know WHY this flag is required to be in use.defaults
vs a normal flag? Because maybe flags were added in the past to cover
situation X and now that situation is fixed another way and we can pull
the flag out of use.defaults.
>>I'm also a bit worried that things were placed in there a while ago and
>>are no longer needed, may also be a good idea to date the entries.
>
>
> like what ? dating is pointless imo, use `cvs ann` :P
> -mike
Right..cvs ann...how do I do that from viewCVS again? :)
In the end I just wonder at the use of these things. They are both
helpful and bad. Fex, canna is in there, probably to tell the system
that I have canna installed. However, I don't think auto-use should be
for that purpose. If I want to tell portage that I have canna installed
and applications should add canna support, I should set USE=canna.
Yeah, I may have to recompile some stuff b/c I forgot to set it prior,
but IMHO thats my fault, not the build-systems.
Mostly this cropped up from me installing sqlite, for supybot, which
needs sqlite for it's karma storage. Fine by me. Then I go to install
php and find it wants to pull in some fandangled php->sqlite deal and I
go wtf, I don't have that set...ohhh use.defaults... Why the hell is
sqlite in use.defaults?!? That kind of deal. There are a lot of odd
situations where I think use.defaults is useful ( although there are
times where i wish people would just add to make.defaults in profile so
I can nuke it there ). I'd just like to know why the flag is being
forced on. The same reason why I want to know why a package is p.masked.
Alec Warner (Antarus)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQIVAwUBQ29t/WzglR5RwbyYAQLvAQ/9ElDpxqcY7Di9ixrcsPv9grY3QjPeE4Ms
hgJn0eXj62cQ363AyE6WRyv0I9oHI7KnHwMWOg6aV+o1nfdyAJnA6iXiosoroZLr
qs2Px2GYR6tKjKghbOJZAbZHe8zNrKIasRnUrbfQW+5tlVnasXUzNkbFYcb95BZ2
YG7DFteGf8kaB909Yfnz2YXAyh2P7kRiOrtwfzeuBC18RZKoCjEnh+n7VA3s+Z15
DVb2V7ZHYsGauryi0cf6RLRaWCNKFQSZEgwTQUSwadMB2DoW+U3uKsrvANsFvSsK
e4iv0SX8544y6J/RzBvP6osx8HWcN+1b/VBOoqynPQ+c/8/nHAOaAYAMnqyMvOOh
ndu9bpnHd/+I/+ZcZ7DarZ5Syspg4a1wo+E0bcsgMhkEbKxxhWU1sW5SCabMskvY
cXc8PTb2iTg9t0f7HN93ekqMBnBtO3pxd+A3rU23AEDWT7vpNFhCY2yDJ/gKJS3X
9NhAbk4lU2Hd8Rjh7h89KUJRluRkn1ly7cPJBd1GnnRDVSMVTZ1oLGjqzke/nmJR
UiR5by5fkt8K/KNh62eY6iu972HmBoJweISuHeFMGbWCj4FFLrSZhq1k/vreubCF
OgKpM/Iy5zDYwW6EEHY4H+wt/VPZR/Pi/pQsDqaoFkhbCtTpsI5pilxrPSza8+8q
Z5hL1qLdFXk=
=21QK
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] use.defaults ( auto-use )
2005-11-07 15:08 ` Alec Warner
@ 2005-11-07 15:28 ` Mike Frysinger
2005-11-07 15:50 ` Alec Warner
0 siblings, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2005-11-07 15:28 UTC (permalink / raw
To: gentoo-dev
On Mon, Nov 07, 2005 at 10:08:45AM -0500, Alec Warner wrote:
> Mike Frysinger wrote:
> > On Mon, Nov 07, 2005 at 02:05:37AM -0500, Alec Warner wrote:
> >
> >>Could we by chance, mandate some sort of comment field in that file not
> >>unlike package.mask?
> >
> >
> > what really needs explanation ? i mean, why do you need a comment for say:
> > aalib media-libs/aalib
> > canna app-i18n/canna
> > and every package in there is the same way
>
> Because I want to know WHY this flag is required to be in use.defaults
> vs a normal flag? Because maybe flags were added in the past to cover
> situation X and now that situation is fixed another way and we can pull
> the flag out of use.defaults
i think you're confusing use.defaults with the USE in profile make.defaults
use.defaults is there to simply automatically enable USE flags if a package is
installled, nothing more and nothing less
> >>I'm also a bit worried that things were placed in there a while ago and
> >>are no longer needed, may also be a good idea to date the entries.
> >
> >
> > like what ? dating is pointless imo, use `cvs ann` :P
>
> Right..cvs ann...how do I do that from viewCVS again? :)
well, if i had to guess, i'd say try clicking the link that says '(annotate)'
> In the end I just wonder at the use of these things. They are both
> helpful and bad.
if you want to start a thread about punting use.defaults, then do it ...
trying to slowly bleed the file of entries is dumb
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] use.defaults ( auto-use )
2005-11-07 15:28 ` Mike Frysinger
@ 2005-11-07 15:50 ` Alec Warner
2005-11-07 16:01 ` Mike Frysinger
0 siblings, 1 reply; 8+ messages in thread
From: Alec Warner @ 2005-11-07 15:50 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mike Frysinger wrote:
> On Mon, Nov 07, 2005 at 10:08:45AM -0500, Alec Warner wrote:
>
>>Mike Frysinger wrote:
>>
>>>On Mon, Nov 07, 2005 at 02:05:37AM -0500, Alec Warner wrote:
>>>
>>>
>>>>Could we by chance, mandate some sort of comment field in that file not
>>>>unlike package.mask?
>>>
>>>
>>>what really needs explanation ? i mean, why do you need a comment for say:
>>>aalib media-libs/aalib
>>>canna app-i18n/canna
>>>and every package in there is the same way
>>
>>Because I want to know WHY this flag is required to be in use.defaults
>>vs a normal flag? Because maybe flags were added in the past to cover
>>situation X and now that situation is fixed another way and we can pull
>>the flag out of use.defaults
>
>
> i think you're confusing use.defaults with the USE in profile make.defaults
>
> use.defaults is there to simply automatically enable USE flags if a package is
> installled, nothing more and nothing less
>
>
>>>>I'm also a bit worried that things were placed in there a while ago and
>>>>are no longer needed, may also be a good idea to date the entries.
>>>
>>>
>>>like what ? dating is pointless imo, use `cvs ann` :P
>>
>>Right..cvs ann...how do I do that from viewCVS again? :)
>
>
> well, if i had to guess, i'd say try clicking the link that says '(annotate)'
>
>
>>In the end I just wonder at the use of these things. They are both
>>helpful and bad.
>
>
> if you want to start a thread about punting use.defaults, then do it ...
> trying to slowly bleed the file of entries is dumb
> -mike
I know what use.defaults does. I'm saying that:
A. use.defaults exists for a reason, and developers are using it to
enable functionality.
B. Turning off a flag in use.defaults may cause undesired behavior.
If the developed enabled a flag in there, I generally think that the
developer knows they are doing, maybe thats a bad assumption? :) If
there are no consequences to removing auto-use from USE_ORDER I'll do it
( I do similar things on my lone server ). If I am going to over-ride a
flag in use.defaults, I know what it does, but I don't know what it
affects. Obviously the flag was added to use.defaults for a reason,
either because it's required for something, or it adds value to the
system, or something I can't think of ;) I simply want to know what
that reason is. If it doesn't do anything useful, then yeah, I'd like
to see the flag punted from use.defaults because then it's just fluff.
- -Alec Warner (Antarus)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQIVAwUBQ293tmzglR5RwbyYAQIP4g/+Jw9dOjK619VOmOPyq5LsSwZW3oYZDuWA
6TKu7JBjofefCchsERhRo75N8SHc1keCdoQ1cxdSgy366Gau6H+6TRKzhlP3ls9D
Ax7XHN5A2P7F8xz07vRqMoq/u9qAtunhB9wiQKwnUrjUvz+uaYL9O9m+P7BU3aRd
k99ds87794Y2JEhJR2u5xz80Yaqe/4Dq7wktm38immIVmF8njKRfq5T1O8jAamBh
qlWv/DXllBKvBnFnJlkXSyXLkPN9fOewvEHm++RB2fNjf2wt2sWWRUiXrK/wPmaT
t+B2lN86EljsGXbT1AVUHy/3bgeOMGHPL81zAbMHIiEZPIarwkX6g2khm9xVhrJt
3ig3WZxXahV03Mv3PKgdERSHNxuN2b1CXiK+8bSfYUftmZMIs/ddlUXft9kiDTRU
H1tc6FjXoxFCtROsThMI8er6NOP0gB5y+O4F6JWq2I0ScwAcb22K8Jjn4XX4KJDI
qZhbXTJCLhEV5TTznClAPCSeWRVqKGX1jRZnOXfq+fZ+W7MsAPzphZFYySHyx9dY
A74z0UHQJUeJodrJlCWcyFlkd4hgXyLnLJqcMBNJVpMCYj1uh3pYUN8U5AKKNVeR
3N2oNQusTefTzq/IsU3svwQgDmudKBcU8+DhqkjXf4r+J6zxESXt/s5wms7xfPGU
D2HwELW0Ojc=
=8L7y
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-dev] use.defaults ( auto-use )
2005-11-07 15:50 ` Alec Warner
@ 2005-11-07 16:01 ` Mike Frysinger
0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2005-11-07 16:01 UTC (permalink / raw
To: gentoo-dev
On Mon, Nov 07, 2005 at 10:50:14AM -0500, Alec Warner wrote:
> A. use.defaults exists for a reason, and developers are using it to
> enable functionality.
> B. Turning off a flag in use.defaults may cause undesired behavior.
> <snip>
> that reason is. If it doesn't do anything useful, then yeah, I'd like
> to see the flag punted from use.defaults because then it's just fluff.
then your comment about people putting packages in there to work around
problem X doesnt make any sense
entries exist in use.defaults to map a USE flag to the package it represents
(when such a package exists, things like nptl obviously dont have a mapping
by definition, no entry in there is a 'work around' or 'fluff', but exists
*only* because a USE flag <-> package mapping exists ... if anything, our
use.defaults file is *missing* a ton of entries (i'll toss in more tonight for
fun :P)
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-11-07 16:04 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-07 7:05 [gentoo-dev] use.defaults ( auto-use ) Alec Warner
2005-11-07 10:25 ` Henrik Brix Andersen
2005-11-07 12:39 ` Jason Stubbs
2005-11-07 14:51 ` Mike Frysinger
2005-11-07 15:08 ` Alec Warner
2005-11-07 15:28 ` Mike Frysinger
2005-11-07 15:50 ` Alec Warner
2005-11-07 16:01 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox