* [gentoo-user] USE flags question
@ 2006-05-31 18:49 Anthony E. Caudel
2006-05-31 19:15 ` Ryan Tandy
2006-05-31 19:19 ` Calvin Walton
0 siblings, 2 replies; 12+ messages in thread
From: Anthony E. Caudel @ 2006-05-31 18:49 UTC (permalink / raw
To: Gentoo Mailing List
Am I correct in thinking that USE flags in
/etc/portage/profiles/use.desc are global flags and should be placed in
/etc/make.conf whereas those in use.local.desc are only local flags and
should only be placed in /etc/portage/package.use with the appropriate
package?
Tony
--
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] USE flags question
2006-05-31 18:49 [gentoo-user] USE flags question Anthony E. Caudel
@ 2006-05-31 19:15 ` Ryan Tandy
2006-05-31 21:52 ` Neil Bothwick
2006-05-31 19:19 ` Calvin Walton
1 sibling, 1 reply; 12+ messages in thread
From: Ryan Tandy @ 2006-05-31 19:15 UTC (permalink / raw
To: gentoo-user
Anthony E. Caudel wrote:
> Am I correct in thinking that USE flags in
> /etc/portage/profiles/use.desc are global flags and should be placed in
> /etc/make.conf whereas those in use.local.desc are only local flags and
> should only be placed in /etc/portage/package.use with the appropriate
> package?
It doesn't really matter. Where you should put them depends on how you
want them to take effect. A flag that only affects one package will
affect that one package regardless of whether it's in make.conf or
package.use, so I prefer to put it in make.conf for clarity, especially
in the --info context. On the other hand, flags that many people
consider to be global (apache2, mysql, php, etc) I only enable for one
or two specific packages, as needed.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] USE flags question
2006-05-31 18:49 [gentoo-user] USE flags question Anthony E. Caudel
2006-05-31 19:15 ` Ryan Tandy
@ 2006-05-31 19:19 ` Calvin Walton
2006-05-31 20:15 ` Teresa and Dale
1 sibling, 1 reply; 12+ messages in thread
From: Calvin Walton @ 2006-05-31 19:19 UTC (permalink / raw
To: gentoo-user
On 5/31/06, Anthony E. Caudel <acaudel@gt.rr.com> wrote:
> Am I correct in thinking that USE flags in
> /etc/portage/profiles/use.desc are global flags and should be placed in
> /etc/make.conf whereas those in use.local.desc are only local flags and
> should only be placed in /etc/portage/package.use with the appropriate
> package?
>
> Tony
To tell the truth, you can put either kind of use flag in either file.
The difference is what you want to apply the flag to.
If you want only a single package to have a "global" use flag set
differently from the rest of the system, you put it in package.use. If
you see a "local" flag that might later be used by other packages, or
is used by multiple packages, you might want to put it in make.conf.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] USE flags question
2006-05-31 19:19 ` Calvin Walton
@ 2006-05-31 20:15 ` Teresa and Dale
2006-05-31 21:50 ` Neil Bothwick
0 siblings, 1 reply; 12+ messages in thread
From: Teresa and Dale @ 2006-05-31 20:15 UTC (permalink / raw
To: gentoo-user
Calvin Walton wrote:
>
> To tell the truth, you can put either kind of use flag in either file.
> The difference is what you want to apply the flag to.
>
> If you want only a single package to have a "global" use flag set
> differently from the rest of the system, you put it in package.use. If
> you see a "local" flag that might later be used by other packages, or
> is used by multiple packages, you might want to put it in make.conf.
This is something I ran into a while back. For some reason the doc
would not compile for hal. I wanted the docs for everything else though
so putting -doc in the USE line in make.conf would remove the docs for
everything, not just hal. I put this in /etc/portage/package.use:
sys-apps/hal -doc That way it would not enable the doc part for hal
but would leave it for everything else. You could reverse that function
if you wanted to. You could disable doc for everything in make.conf
then make a exception in package.use for hal, if you can get it to
compile with no errors.
Did that help any? Sometimes actual experience is better than theory.
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] USE flags question
2006-05-31 20:15 ` Teresa and Dale
@ 2006-05-31 21:50 ` Neil Bothwick
2006-06-01 1:25 ` Teresa and Dale
0 siblings, 1 reply; 12+ messages in thread
From: Neil Bothwick @ 2006-05-31 21:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 564 bytes --]
On Wed, 31 May 2006 15:15:31 -0500, Teresa and Dale wrote:
> This is something I ran into a while back. For some reason the doc
> would not compile for hal. I wanted the docs for everything else though
> so putting -doc in the USE line in make.conf would remove the docs for
> everything, not just hal.
The doc USE flag shouldn't affect standard documentation, such as man and
info pages. According to use.desc it 'Adds extra documentation (API,
Javadoc, etc)'.
--
Neil Bothwick
Stupidity is NOT a handicap. You'll have to park elsewhere.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] USE flags question
2006-05-31 19:15 ` Ryan Tandy
@ 2006-05-31 21:52 ` Neil Bothwick
0 siblings, 0 replies; 12+ messages in thread
From: Neil Bothwick @ 2006-05-31 21:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 799 bytes --]
On Wed, 31 May 2006 12:15:10 -0700, Ryan Tandy wrote:
> It doesn't really matter. Where you should put them depends on how you
> want them to take effect. A flag that only affects one package will
> affect that one package regardless of whether it's in make.conf or
> package.use, so I prefer to put it in make.conf for clarity, especially
> in the --info context.
Local flags may be defined for more than one packages, with different
meanings, whereas global flags tend to be more consistent. So it may be
safer to put local flags in package.use to avoid the situation where the
same flag with a different meaning is added to another package you use.
--
Neil Bothwick
TROI : What am I sensing?? I'm sensing INCOMPETENCE, you pretentious
bald pseudo-French dickweed!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] USE flags question
2006-05-31 21:50 ` Neil Bothwick
@ 2006-06-01 1:25 ` Teresa and Dale
2006-06-02 10:27 ` Enrico Weigelt
0 siblings, 1 reply; 12+ messages in thread
From: Teresa and Dale @ 2006-06-01 1:25 UTC (permalink / raw
To: gentoo-user
Neil Bothwick wrote:
>On Wed, 31 May 2006 15:15:31 -0500, Teresa and Dale wrote:
>
>
>
>>This is something I ran into a while back. For some reason the doc
>>would not compile for hal. I wanted the docs for everything else though
>>so putting -doc in the USE line in make.conf would remove the docs for
>>everything, not just hal.
>>
>>
>
>The doc USE flag shouldn't affect standard documentation, such as man and
>info pages. According to use.desc it 'Adds extra documentation (API,
>Javadoc, etc)'.
>
>
>
>
Learn something every day. So if I remove the doc USE flag that will
not remove the man page? That would be cool. I wonder how much space
that takes up?
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] USE flags question
2006-06-01 1:25 ` Teresa and Dale
@ 2006-06-02 10:27 ` Enrico Weigelt
2006-06-02 10:41 ` Teresa and Dale
2006-06-02 23:09 ` Ryan Tandy
0 siblings, 2 replies; 12+ messages in thread
From: Enrico Weigelt @ 2006-06-02 10:27 UTC (permalink / raw
To: gentoo-user
* Teresa and Dale <teendale@vista-express.com> wrote:
<snip>
> Learn something every day. So if I remove the doc USE flag that will
> not remove the man page? That would be cool. I wonder how much space
> that takes up?
hmm, is there also an man useflag or some other option to kick
of manpages (I personally don't need them on every system) ?
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact@metux.de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] USE flags question
2006-06-02 10:27 ` Enrico Weigelt
@ 2006-06-02 10:41 ` Teresa and Dale
2006-06-02 13:39 ` Michael Schreckenbauer
2006-06-02 23:09 ` Ryan Tandy
1 sibling, 1 reply; 12+ messages in thread
From: Teresa and Dale @ 2006-06-02 10:41 UTC (permalink / raw
To: gentoo-user
Enrico Weigelt wrote:
>* Teresa and Dale <teendale@vista-express.com> wrote:
>
><snip>
>
>
>
>>Learn something every day. So if I remove the doc USE flag that will
>>not remove the man page? That would be cool. I wonder how much space
>>that takes up?
>>
>>
>
>hmm, is there also an man useflag or some other option to kick
>of manpages (I personally don't need them on every system) ?
>
>
>cu
>
>
That would be nice if you have more than one system. After all, you
only need one set of man pages. I didn't see anything in
/usr/portage/profile/use.desc. Good question though. /usr/share/man
takes up almost 30MBs on my system.
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] USE flags question
2006-06-02 10:41 ` Teresa and Dale
@ 2006-06-02 13:39 ` Michael Schreckenbauer
2006-06-02 14:00 ` Teresa and Dale
0 siblings, 1 reply; 12+ messages in thread
From: Michael Schreckenbauer @ 2006-06-02 13:39 UTC (permalink / raw
To: gentoo-user
Am Freitag, 2. Juni 2006 12:41 schrieb Teresa and Dale:
> Enrico Weigelt wrote:
> >* Teresa and Dale <teendale@vista-express.com> wrote:
> >
> ><snip>
> >
> >>Learn something every day. So if I remove the doc USE flag that will
> >>not remove the man page? That would be cool. I wonder how much space
> >>that takes up?
> >
> >hmm, is there also an man useflag or some other option to kick
> >of manpages (I personally don't need them on every system) ?
> >
> >
> >cu
>
> That would be nice if you have more than one system. After all, you
> only need one set of man pages. I didn't see anything in
> /usr/portage/profile/use.desc. Good question though. /usr/share/man
> takes up almost 30MBs on my system.
There is the FEATURE="noman".
>From man make.conf:
"noman Do not install manpages."
Seems to be what you are looking for :)
> Dale
Hand,
Michael
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] USE flags question
2006-06-02 13:39 ` Michael Schreckenbauer
@ 2006-06-02 14:00 ` Teresa and Dale
0 siblings, 0 replies; 12+ messages in thread
From: Teresa and Dale @ 2006-06-02 14:00 UTC (permalink / raw
To: gentoo-user
Michael Schreckenbauer wrote:
>Am Freitag, 2. Juni 2006 12:41 schrieb Teresa and Dale:
>
>
>>Enrico Weigelt wrote:
>>
>>
>>>* Teresa and Dale <teendale@vista-express.com> wrote:
>>>
>>><snip>
>>>
>>>
>>>
>>>>Learn something every day. So if I remove the doc USE flag that will
>>>>not remove the man page? That would be cool. I wonder how much space
>>>>that takes up?
>>>>
>>>>
>>>hmm, is there also an man useflag or some other option to kick
>>>of manpages (I personally don't need them on every system) ?
>>>
>>>
>>>cu
>>>
>>>
>>That would be nice if you have more than one system. After all, you
>>only need one set of man pages. I didn't see anything in
>>/usr/portage/profile/use.desc. Good question though. /usr/share/man
>>takes up almost 30MBs on my system.
>>
>>
>
>There is the FEATURE="noman".
>
>>From man make.conf:
>
>"noman Do not install manpages."
>
>Seems to be what you are looking for :)
>
>
>
>>Dale
>>
>>
>
>Hand,
>Michael
>
>
>
>
Oooooh, I was looking in the USE options. I need to remember that when
I get my servers set up again. One of them only has a 2.5GB drive and
it gets full sometimes.
Thanks
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] USE flags question
2006-06-02 10:27 ` Enrico Weigelt
2006-06-02 10:41 ` Teresa and Dale
@ 2006-06-02 23:09 ` Ryan Tandy
1 sibling, 0 replies; 12+ messages in thread
From: Ryan Tandy @ 2006-06-02 23:09 UTC (permalink / raw
To: gentoo-user
Enrico Weigelt wrote:
> * Teresa and Dale <teendale@vista-express.com> wrote:
>
> <snip>
>
>> Learn something every day. So if I remove the doc USE flag that will
>> not remove the man page? That would be cool. I wonder how much space
>> that takes up?
>
> hmm, is there also an man useflag or some other option to kick
> of manpages (I personally don't need them on every system) ?
>
>
> cu
http://thread.gmane.org/gmane.linux.gentoo.devel/30264
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-06-02 23:18 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-31 18:49 [gentoo-user] USE flags question Anthony E. Caudel
2006-05-31 19:15 ` Ryan Tandy
2006-05-31 21:52 ` Neil Bothwick
2006-05-31 19:19 ` Calvin Walton
2006-05-31 20:15 ` Teresa and Dale
2006-05-31 21:50 ` Neil Bothwick
2006-06-01 1:25 ` Teresa and Dale
2006-06-02 10:27 ` Enrico Weigelt
2006-06-02 10:41 ` Teresa and Dale
2006-06-02 13:39 ` Michael Schreckenbauer
2006-06-02 14:00 ` Teresa and Dale
2006-06-02 23:09 ` Ryan Tandy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox