Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
do i really need use flags?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
russianpirate
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1167
Location: Detroit, MI

PostPosted: Mon Jan 17, 2005 5:26 am    Post subject: do i really need use flags? Reply with quote

do i really need use flags or is this enough:
mp3 ogg cdr dvd alsa oss
Back to top
View user's profile Send private message
lisa
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 273
Location: York, UK again! Horray!

PostPosted: Mon Jan 17, 2005 5:47 am    Post subject: Re: do i really need use flags? Reply with quote

russianpirate wrote:
do i really need use flag


Short answer: Yes.

Long answer: It depends on what you want your Gentoo system to do for you and what features you wish used and not used.
_________________
Distcc guide
Visit my website
I maintain Distcc, Ccache, Memcached, and some others (i think)
Back to top
View user's profile Send private message
russianpirate
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1167
Location: Detroit, MI

PostPosted: Mon Jan 17, 2005 6:21 am    Post subject: Reply with quote

ive had about 3 gentoo systems before.. and never used use on them and they ran just fine.. but i really wanna optimize and custom it more
is there a complete list (besides the one that comes with gentoo) of use variables and their descriptions?
Back to top
View user's profile Send private message
lisa
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 273
Location: York, UK again! Horray!

PostPosted: Mon Jan 17, 2005 6:26 am    Post subject: Reply with quote

russianpirate wrote:

is there a complete list (besides the one that comes with gentoo) of use variables and their descriptions?


yes
_________________
Distcc guide
Visit my website
I maintain Distcc, Ccache, Memcached, and some others (i think)
Back to top
View user's profile Send private message
russianpirate
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1167
Location: Detroit, MI

PostPosted: Mon Jan 17, 2005 6:31 am    Post subject: Reply with quote

there isnt really a list there
its just the handbook from the livecd online
Back to top
View user's profile Send private message
lisa
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 273
Location: York, UK again! Horray!

PostPosted: Mon Jan 17, 2005 6:35 am    Post subject: Reply with quote

russianpirate wrote:
there isnt really a list there
its just the handbook from the livecd online


There used to be a list.

Any reason you can't use /usr/portage/profiles/use.* ?

Code:

  useflag() {
    local pd="/usr/portage"
    sed -ne "s,^\([^ ]*:\)\?$1 - ,,p" \
    "${pd}/profiles/use.desc" \
    "${pd}/profiles/use.local.desc"
  }


Very handy code function. Stick it in bash_profile.
_________________
Distcc guide
Visit my website
I maintain Distcc, Ccache, Memcached, and some others (i think)
Back to top
View user's profile Send private message
Lews_Therin
l33t
l33t


Joined: 03 Oct 2003
Posts: 657
Location: Banned

PostPosted: Mon Jan 17, 2005 7:32 am    Post subject: Reply with quote

Also, if you emerge -pv $PACKAGENAME, it'll show you a list of all the flags a package accepts.
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Mon Jan 17, 2005 9:28 am    Post subject: Reply with quote

lisa wrote:
russianpirate wrote:
there isnt really a list there
its just the handbook from the livecd online

There used to be a list.

The list is here, and it only shows global USE flags. use{,.local}.desc is the way to go.
Quote:
Code:

  useflag() {
    local pd="/usr/portage"
    sed -ne "s,^\([^ ]*:\)\?$1 - ,,p" \
    "${pd}/profiles/use.desc" \
    "${pd}/profiles/use.local.desc"
  }

Very handy code function. Stick it in bash_profile.

Mmmm, where have I seen that before?
Back to top
View user's profile Send private message
russianpirate
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1167
Location: Detroit, MI

PostPosted: Mon Jan 17, 2005 4:18 pm    Post subject: Reply with quote

a good use editor:
ufed
simple, and functional
shows u all the possible use (.desc + .local.desc), their description, and you can select to use that variable right there
Back to top
View user's profile Send private message
thechris
Veteran
Veteran


Joined: 12 Oct 2003
Posts: 1203

PostPosted: Mon Jan 17, 2005 11:26 pm    Post subject: Reply with quote

to the OP:

you do not _need_ to set use flags. the major ones are set by your profile. like X kde gnome gtk qt are all set by default. to use literally no use flags (probably a bad idea) you can use -*

if you ever emerge mplayer, you may want to look into use flags.
_________________
HW problems. It's a VIA thing.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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