Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE variables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
s0rtd
n00b
n00b


Joined: 21 Feb 2006
Posts: 39

PostPosted: Tue Feb 21, 2006 2:04 am    Post subject: USE variables Reply with quote

I am currently building my gentoo system and am editing my /etc/make.conf file. working with USE variables. Now I have had a look at the list here: http://www.gentoo.org/dyn/use-index.xml and there are a lot. I have read a fair bit about USE, and am a little unclear as to why we really need them, I sort of get it. But if an app say mplayer is dependent on something from kde for instance then even if you have in your make.conf file -kde, when you do the emerge mplayer it will still install everything that is required. So I guess my question is why not exclude them all in make.conf? thereby speeding compile time etc? and if the app needs something it will install it.

cheers
Jurgen
Back to top
View user's profile Send private message
Catch-22
Apprentice
Apprentice


Joined: 22 Oct 2004
Posts: 244

PostPosted: Tue Feb 21, 2006 2:16 am    Post subject: Reply with quote

The idea of USE flags is to enable optional features or support for various things. Sure, you may not want all of it but there are some things that a great deal of people *will* want (X is a big one) which is why there are default use flags.

As for your example, if "foo" is dependent on "bah" then it's not very likely that "foo" will have a "bah" USE flag in addition to there being a core dependency on it.
For example, gnome doesn't have an X USE flag because X (or virtuals/x-11 or whatever) is a dependency of gnome.
Back to top
View user's profile Send private message
s0rtd
n00b
n00b


Joined: 21 Feb 2006
Posts: 39

PostPosted: Tue Feb 21, 2006 2:51 am    Post subject: Reply with quote

Thanks for your help Catch. So just for my noob sake, should I be putting any use flags or minusing and flags within the /etc/make.conf file during my installation? I dont plan to use kde or gnome, but do plan to use X (enlightenment).
In that link I included I think the top USE variable was 3dfx, should I be adding -3dfx to my make.conf file? (I dont ever plan on using 3dfx)
Im just trying to work out a general rule of thumb for the make.conf
As far as I understand so far, if the app has support for 3dfx for instance, but it is not a dependency, then it may well compile support for it (so long as it is in the defaults), but if I never plan to use 3dfx, hence adding the -3dfx to my make.conf, when i do the emerge it wont include 3dfx support even though the app allows for it?

So should I be going through all the use variables and marking down all the ones i will never require and placing them in the make.conf with a - infront?
back to that general rule of thumb I guess??

cheers
Jurgen
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7080
Location: Saint Amant, Acadiana

PostPosted: Tue Feb 21, 2006 3:02 am    Post subject: Reply with quote

You can make your life easier. Emerge ufed. This shows you USE flags already enabled in your system and also allows editing.
Back to top
View user's profile Send private message
s0rtd
n00b
n00b


Joined: 21 Feb 2006
Posts: 39

PostPosted: Tue Feb 21, 2006 3:26 am    Post subject: Reply with quote

Thanks Jag, that helps. I did some more research on this and found this thread which helps heaps :https://forums.gentoo.org/viewtopic-t-434398-highlight-ufed.html I have included it for anyone else who is interested or has a similar question.
If emerge ufed during the installation. how do I start it? and does that write to my make.conf file or how does it store my selections?

cheers
Jurgen
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue Feb 21, 2006 5:35 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
Moved in favour of https://forums.gentoo.org/viewtopic-t-313549-highlight-flags+explained.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum