View previous topic :: View next topic |
Author |
Message |
russianpirate Veteran
Joined: 26 Sep 2004 Posts: 1167 Location: Detroit, MI
|
Posted: Mon Jan 17, 2005 5:26 am Post subject: do i really need use flags? |
|
|
do i really need use flags or is this enough:
mp3 ogg cdr dvd alsa oss |
|
Back to top |
|
|
lisa Retired Dev
Joined: 01 Jun 2003 Posts: 273 Location: York, UK again! Horray!
|
Posted: Mon Jan 17, 2005 5:47 am Post subject: Re: do i really need use flags? |
|
|
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 |
|
|
russianpirate Veteran
Joined: 26 Sep 2004 Posts: 1167 Location: Detroit, MI
|
Posted: Mon Jan 17, 2005 6:21 am Post subject: |
|
|
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 |
|
|
lisa Retired Dev
Joined: 01 Jun 2003 Posts: 273 Location: York, UK again! Horray!
|
Posted: Mon Jan 17, 2005 6:26 am Post subject: |
|
|
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 |
|
|
russianpirate Veteran
Joined: 26 Sep 2004 Posts: 1167 Location: Detroit, MI
|
Posted: Mon Jan 17, 2005 6:31 am Post subject: |
|
|
there isnt really a list there
its just the handbook from the livecd online |
|
Back to top |
|
|
lisa Retired Dev
Joined: 01 Jun 2003 Posts: 273 Location: York, UK again! Horray!
|
Posted: Mon Jan 17, 2005 6:35 am Post subject: |
|
|
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 |
|
|
Lews_Therin l33t
Joined: 03 Oct 2003 Posts: 657 Location: Banned
|
Posted: Mon Jan 17, 2005 7:32 am Post subject: |
|
|
Also, if you emerge -pv $PACKAGENAME, it'll show you a list of all the flags a package accepts. |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Mon Jan 17, 2005 9:28 am Post subject: |
|
|
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 |
|
|
russianpirate Veteran
Joined: 26 Sep 2004 Posts: 1167 Location: Detroit, MI
|
Posted: Mon Jan 17, 2005 4:18 pm Post subject: |
|
|
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 |
|
|
thechris Veteran
Joined: 12 Oct 2003 Posts: 1203
|
Posted: Mon Jan 17, 2005 11:26 pm Post subject: |
|
|
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 |
|
|
|