Re: [gentoo-user] New USE flags for lvm2?

2013-02-11 Thread Tanstaafl

On 2013-02-10 3:43 PM, Neil Bothwick n...@digimed.co.uk wrote:

On Sun, 10 Feb 2013 15:40:00 -0500, Tanstaafl wrote:


Here's what IUSE says are enabled for the currently installed lvm2:

readline +static +static-libs clvm cman +lvm1 selinux


IUSE shows the flags that were available to that build, USE shows the
flags that were used.


Ah, thanks for that...

Ok, so the current one was installed with::

amd64 elibc_glibc kernel_linux lvm1 multilib readline static static-libs 
userland_GNU


And the update wants to install with:

USE=lvm1 readline thin%* udev%* (-clvm) (-cman) (-selinux) -static* 
-static-libs*


So, what is with the differences?

+ thin udev

Why is amd64, elibc_glibc, kernel_linux, multilib  userland_GNU not 
included?


and why omitting

- static, static-libs

?

Just trying to understand why the changes, and want to make sure lvm 
isn't going to end up failing on me the next reboot...


Thanks



Re: [gentoo-user] New USE flags for lvm2?

2013-02-11 Thread Alan McKinnon
On 11/02/2013 14:09, Tanstaafl wrote:
 On 2013-02-10 3:43 PM, Neil Bothwick n...@digimed.co.uk wrote:
 On Sun, 10 Feb 2013 15:40:00 -0500, Tanstaafl wrote:

 Here's what IUSE says are enabled for the currently installed lvm2:

 readline +static +static-libs clvm cman +lvm1 selinux

 IUSE shows the flags that were available to that build, USE shows the
 flags that were used.
 
 Ah, thanks for that...
 
 Ok, so the current one was installed with::
 
 amd64 elibc_glibc kernel_linux lvm1 multilib readline static static-libs
 userland_GNU
 
 And the update wants to install with:
 
 USE=lvm1 readline thin%* udev%* (-clvm) (-cman) (-selinux) -static*
 -static-libs*
 
 So, what is with the differences?
 
 + thin udev
 
 Why is amd64, elibc_glibc, kernel_linux, multilib  userland_GNU not
 included?
 
 and why omitting
 
 - static, static-libs
 
 ?
 
 Just trying to understand why the changes, and want to make sure lvm
 isn't going to end up failing on me the next reboot...
 
 Thanks
 

The answers to most of the questions you asked are in the ebuild file
and in the ChangeLog. You can find them at

$PORTDIR/sys-fs/lvm2/



amd64, elibc_glibc, kernel_linux, multilib  userland_GNU are not in
emerge output as those are not USE flags in the regular sense of the
word. Don't worry about them, they define the basic settings upon which
portage built your host. Change any of them only at your peril, you will
break things horribly (and keep N pieces, where N is a big number). You
can see the full lot near the end of

emerge --info

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] New USE flags for lvm2?

2013-02-10 Thread Florian Philipp
Am 10.02.2013 19:37, schrieb Tanstaafl:
 I'm prepping for updating some things I've been putting off, and I
 noticed that lvm2 has some new use flags set, and I'm wondering why...
 
 [ebuild U  ] sys-fs/lvm2-2.02.97-r1 [2.02.88] USE=lvm1 readline
 thin%* udev%* (-clvm) (-cman) (-selinux) -static* -static-libs* 1,166 kB
 
 The two that are new/green (with asterisks) are -static and -static-libs...
 
 I'm pretty sure that lvm2 was NOT built with either of these, but is
 there a way to to tell what USE flags were used for the currently
 installed package?
 

I guess you remember wrongly:
Symbol   LocationMeaning
*suffix  transition to or from the enabled state
%suffix  newly added or removed


Read /var/db/pkg/sys-fs/lvm2-2.02.88/IUSE to find out what was enabled.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] New USE flags for lvm2?

2013-02-10 Thread Tanstaafl

On 2013-02-10 1:47 PM, Florian Philipp li...@binarywings.net wrote:

Am 10.02.2013 19:37, schrieb Tanstaafl:

I'm pretty sure that lvm2 was NOT built with either of these, but is
there a way to to tell what USE flags were used for the currently
installed package?



I guess you remember wrongly:
Symbol   LocationMeaning
*suffix  transition to or from the enabled state
%suffix  newly added or removed

Read /var/db/pkg/sys-fs/lvm2-2.02.88/IUSE to find out what was enabled.


Thanks Florian, yep, you're right...

So, the question becomes, why did these change? I do have /user on a 
separate LVM partition, so, is this something I should worry about?


Actually, a bit of googling suggests I shouldn't have had them enabled 
in the first place?


Thanks again



Re: [gentoo-user] New USE flags for lvm2?

2013-02-10 Thread Florian Philipp
Am 10.02.2013 20:07, schrieb Tanstaafl:
 On 2013-02-10 1:47 PM, Florian Philipp li...@binarywings.net wrote:
 Am 10.02.2013 19:37, schrieb Tanstaafl:
 I'm pretty sure that lvm2 was NOT built with either of these, but is
 there a way to to tell what USE flags were used for the currently
 installed package?
 
 I guess you remember wrongly:
 Symbol   LocationMeaning
 *suffix  transition to or from the enabled state
 %suffix  newly added or removed

 Read /var/db/pkg/sys-fs/lvm2-2.02.88/IUSE to find out what was enabled.
 
 Thanks Florian, yep, you're right...
 
 So, the question becomes, why did these change? I do have /user on a
 separate LVM partition, so, is this something I should worry about?
 
 Actually, a bit of googling suggests I shouldn't have had them enabled
 in the first place?
 
 Thanks again
 

My version of lvm2 (-static) has no dependencies to /usr libraries.

equery files lvm2 | while read line; do test -x $line  ldd $line;
done | awk '{print $3}' | sort -u

Regards,
Florian Philipp




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] New USE flags for lvm2?

2013-02-10 Thread Neil Bothwick
On Sun, 10 Feb 2013 14:07:38 -0500, Tanstaafl wrote:

 So, the question becomes, why did these change? I do have /user on a 
 separate LVM partition, so, is this something I should worry about?

The static use flag builds a separate lvm.static all-in-one binary
more suitable for use in an initramfs.


-- 
Neil Bothwick

Don't put all your hypes in one home page.


signature.asc
Description: PGP signature


Re: [gentoo-user] New USE flags for lvm2?

2013-02-10 Thread Tanstaafl

On 2013-02-10 2:57 PM, Neil Bothwick n...@digimed.co.uk wrote:

On Sun, 10 Feb 2013 14:07:38 -0500, Tanstaafl wrote:


So, the question becomes, why did these change? I do have /user on a
separate LVM partition, so, is this something I should worry about?


The static use flag builds a separate lvm.static all-in-one binary
more suitable for use in an initramfs.


Thanks Neil...

Now that I'm looking at the USE flags that were used for the current 
install, I'm confused...


Here's what IUSE says are enabled for the currently installed lvm2:

readline +static +static-libs clvm cman +lvm1 selinux

But...

emerge output shows:

[ebuild U  ] sys-fs/lvm2-2.02.97-r1 [2.02.88] USE=lvm1 readline 
thin%* udev%* (-clvm) (-cman) (-selinux) -static* -static-libs* 1,166 kB


The only ones showing as changed (in green and with asterisks by them) 
are -static and -static-libs...


So, why do clvm, cman and selinux all show as not previously used 
according to emerge output (in blue, with a '-' in front of them?


Confusing...



Re: [gentoo-user] New USE flags for lvm2?

2013-02-10 Thread Neil Bothwick
On Sun, 10 Feb 2013 15:40:00 -0500, Tanstaafl wrote:

 Here's what IUSE says are enabled for the currently installed lvm2:
 
 readline +static +static-libs clvm cman +lvm1 selinux

IUSE shows the flags that were available to that build, USE shows the
flags that were used.


-- 
Neil Bothwick

I just took an IQ test. The results were negative.


signature.asc
Description: PGP signature


Re: [gentoo-user] New USE Flags, Emerge -e world -- Broken systems -- PLEASE HELP

2006-05-19 Thread Walter Dnes
On Wed, May 17, 2006 at 11:29:47AM -0400, Timothy A. Holmes wrote

 If anyone can suggest a good set of minimal use flags, I would be most
 thankful

  Here's mine.  Note that some flags (mmx, sse, and sse2) are
cpu-specific.  My machine is a general-purpose desktop.

USE=-* 3dnow X a52 aac alsa bzip2 cdr dga dio divx4linux dri dvd dvdr dvdread 
encode exif ffmpeg flac fortran gb gif gtk2 imlib jpeg maildir mikmod mime mmap 
mmx mng mp3 mpeg ncurses nptl nptlonly nsplugin offensive ogg opengl plotutils 
png posix quicktime readline sdl sharedmem slang sockets sse sse2 theora 
threads tiff truetype vcd vorbis win32codecs wmf xpm xv zlib

  In addition, here's my /etc/portage/package.use

# If you don't specify motif here or in USE, the xpdf ebuild only
# installs the libraries, but not the /usr/bin/xpdf executable!!!
app-text/xpdf motif
media-gfx/gimp doc
media-gfx/imagemagick doc
media-libs/win32codecs real
media-video/mplayer custom-cflags i8x0 real 3dnowext mmxext
net-misc/wget ssl
net-nntp/slrn uudeview
sys-libs/glibc userlocales
www-client/w3m -X -imlib

x11-base/xorg-x11 bitmap-fonts font-server truetype-fonts type1-fonts

# If it's going to be a rescue package, it better work standalone
# when libraries get broken.
sys-apps/busybox static

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE Flags, Emerge -e world -- Broken systems -- PLEASE HELP

2006-05-18 Thread Boyd Stephen Smith Jr.
On Wednesday 17 May 2006 23:48, Jonathan Chocron [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user] New USE Flags, Emerge -e world -- Broken 
systems -- PLEASE HELP':
 Le Mercredi 17 Mai 2006 18:01, Jeremy Olexa a écrit :
  I would start with the defaults, eg. leave USE= (blank) in make.conf
  and then start editing package.use to modify them from there. type
  emerge --info to see ALL of the use flags that are being used

 Yes, USE= is a good start. However, one has to take into account that
 portage adds use flags while going through the emerge process. For
 example, if you install mysql in order to use it with amaroK, mysql
 would, after that emerge be turned on as a global useflag.

Actually, there was some noise about this and I believe it (auto-USE) has 
gone away.  It was confusing to new users and poorly documented.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


pgpfh1mHvMs5x.pgp
Description: PGP signature


Re: [gentoo-user] New USE Flags, Emerge -e world -- Broken systems -- PLEASE HELP

2006-05-18 Thread Neil Bothwick
On Thu, 18 May 2006 06:48:44 +0200, Jonathan Chocron wrote:

 Yes, USE= is a good start. However, one has to take into account that 
 portage adds use flags while going through the emerge process. For
 example, if you install mysql in order to use it with amaroK, mysql
 would, after that emerge be turned on as a global useflag.

Dynamic USE flags have been removed from portage 2.1, thankfully.


-- 
Neil Bothwick

You couldn't get a job as a firing squad target.


signature.asc
Description: PGP signature


Re: [gentoo-user] New USE Flags, Emerge -e world -- Broken systems -- PLEASE HELP

2006-05-18 Thread Jonathan Chocron
Le Jeudi 18 Mai 2006 10:22, Neil Bothwick a écrit :
 On Thu, 18 May 2006 06:48:44 +0200, Jonathan Chocron wrote:
  Yes, USE= is a good start. However, one has to take into account that
  portage adds use flags while going through the emerge process. For
  example, if you install mysql in order to use it with amaroK, mysql
  would, after that emerge be turned on as a global useflag.

 Dynamic USE flags have been removed from portage 2.1, thankfully.

That's exactly right, but I was assuming he used the stable version of 
portage. I now use unstable, precisely because they removed that feature !

Cheers,

Jonathan


-- 
gentoo-user@gentoo.org mailing list



[Copfilter] Copy of quarantined email - *** SPAM *** [6.0/6.0] Re: [gentoo-user] New USE Flags, Emerge -e world -- Broken systems -- PLEASE HELP

2006-05-18 Thread bdunglison
Le Jeudi 18 Mai 2006 10:22, Neil Bothwick a écrit :
 On Thu, 18 May 2006 06:48:44 +0200, Jonathan Chocron wrote:
  Yes, USE= is a good start. However, one has to take into account that
  portage adds use flags while going through the emerge process. For
  example, if you install mysql in order to use it with amaroK, mysql
  would, after that emerge be turned on as a global useflag.

 Dynamic USE flags have been removed from portage 2.1, thankfully.

That's exactly right, but I was assuming he used the stable version of 
portage. I now use unstable, precisely because they removed that feature !

Cheers,

Jonathan


-- 
gentoo-user@gentoo.org mailing list

.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE Flags, Emerge -e world -- Broken systems -- PLEASE HELP

2006-05-17 Thread Rumen Yotov
Hi,
Timothy A. Holmes wrote:
 Hi folks - I have a major problem brewing here im afraid:
 
 I have several systems that I had originally built with the Gentoo
 installer disk -- As such they have a very large group of use flags, and
 a fairly large genkernel.  In wanting to lean them out and optimize them
 for running, went in, rebuilt the kernel, and apparently with a bad
 understanding of how portage and the USE flags interact, removed all the
 use flags, changed them to:
 
The default genkernel options/modules has nothing to do with used USE
flags. But it's a bloat of course. Use only what you need.
 USE=-*
 
You'll need at least 4-5 USE flags in order to get a working system.
IIRC some are readline ncurses ..., search the ML archives for
minimal USE flags or something similar.
 and ran emerge -e world.  The processes have all failed, and now I have
 broken systems -- for example, eterm wont start at all, nor will it
 build on a re-install, firefox is messed up (the fonts look funny) and
 im starting to panic.  Is there any way short of rebuilding these
 systems to get things working right again?
 
 Thanks
 
 TIM
 
 
 Timothy A. Holmes
 IT Manager / Network Admin / Web Master / Computer Teacher
  
 Medina Christian Academy
 A Higher Standard...
  
 Jeremiah 33:3
 Jeremiah 29:11
 Esther 4:14
 
 
HTH.Rumen


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] New USE Flags, Emerge -e world -- Broken systems -- PLEASE HELP

2006-05-17 Thread Daniel da Veiga

On 5/17/06, Timothy A. Holmes [EMAIL PROTECTED] wrote:

Hi folks - I have a major problem brewing here im afraid:

I have several systems that I had originally built with the Gentoo
installer disk -- As such they have a very large group of use flags, and
a fairly large genkernel.  In wanting to lean them out and optimize them
for running, went in, rebuilt the kernel, and apparently with a bad


genkernel does not use USE flags, so, that's not related, probably.
Someone will tell if I'm wrong.


understanding of how portage and the USE flags interact, removed all the
use flags, changed them to:

USE=-*



Heh, once I tried that... Its better leave it empty than putting this.
You CAN put -*, but then you would have to create a fairly large
packages.use in order to get a working system. That includes every
package listed in emerge -pv world with an entry.

Remove that option, start with minimal USE flags and reemerge world.
You're lucky you didn't try emerge -e system after that.


and ran emerge -e world.  The processes have all failed, and now I have
broken systems -- for example, eterm wont start at all, nor will it
build on a re-install, firefox is messed up (the fonts look funny) and
im starting to panic.  Is there any way short of rebuilding these
systems to get things working right again?


You're lucky that you still have a working system after all. You even
get a working portage, so, nothing to worry about. Fix your flags and
reemerge world.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] New USE Flags, Emerge -e world -- Broken systems -- PLEASE HELP

2006-05-17 Thread Timothy A. Holmes
 
 On 5/17/06, Timothy A. Holmes [EMAIL PROTECTED] wrote:
  Hi folks - I have a major problem brewing here im afraid:
 
  I have several systems that I had originally built with the Gentoo
  installer disk -- As such they have a very large group of use flags,
and
  a fairly large genkernel.  In wanting to lean them out and optimize
them
  for running, went in, rebuilt the kernel, and apparently with a bad
 
 genkernel does not use USE flags, so, that's not related, probably.
 Someone will tell if I'm wrong.
 
  understanding of how portage and the USE flags interact, removed all
the
  use flags, changed them to:
 
  USE=-*
 
 
 Heh, once I tried that... Its better leave it empty than putting this.
 You CAN put -*, but then you would have to create a fairly large
 packages.use in order to get a working system. That includes every
 package listed in emerge -pv world with an entry.
 
 Remove that option, start with minimal USE flags and reemerge world.
 You're lucky you didn't try emerge -e system after that.
 
  and ran emerge -e world.  The processes have all failed, and now I
have
  broken systems -- for example, eterm wont start at all, nor will it
  build on a re-install, firefox is messed up (the fonts look funny)
and
  im starting to panic.  Is there any way short of rebuilding these
  systems to get things working right again?
 
 You're lucky that you still have a working system after all. You even
 get a working portage, so, nothing to worry about. Fix your flags and
 reemerge world.
 
 --

[Timothy A. Holmes] 

Turns out all 5 systems are totally broke - I will be rebuilding all of
them --

If anyone can suggest a good set of minimal use flags, I would be most
thankful

Tim


Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE Flags, Emerge -e world -- Broken systems -- PLEASE HELP

2006-05-17 Thread Jeremy Olexa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Timothy A. Holmes wrote:
  
 On 5/17/06, Timothy A. Holmes [EMAIL PROTECTED] wrote:
 Hi folks - I have a major problem brewing here im afraid:

 I have several systems that I had originally built with the Gentoo
 installer disk -- As such they have a very large group of use flags,
 and
 a fairly large genkernel.  In wanting to lean them out and optimize
 them
 for running, went in, rebuilt the kernel, and apparently with a bad
 genkernel does not use USE flags, so, that's not related, probably.
 Someone will tell if I'm wrong.

 understanding of how portage and the USE flags interact, removed all
 the
 use flags, changed them to:

 USE=-*

 Heh, once I tried that... Its better leave it empty than putting this.
 You CAN put -*, but then you would have to create a fairly large
 packages.use in order to get a working system. That includes every
 package listed in emerge -pv world with an entry.

 Remove that option, start with minimal USE flags and reemerge world.
 You're lucky you didn't try emerge -e system after that.

 and ran emerge -e world.  The processes have all failed, and now I
 have
 broken systems -- for example, eterm wont start at all, nor will it
 build on a re-install, firefox is messed up (the fonts look funny)
 and
 im starting to panic.  Is there any way short of rebuilding these
 systems to get things working right again?
 You're lucky that you still have a working system after all. You even
 get a working portage, so, nothing to worry about. Fix your flags and
 reemerge world.

 --
 
 [Timothy A. Holmes] 
 
 Turns out all 5 systems are totally broke - I will be rebuilding all of
 them --
 
 If anyone can suggest a good set of minimal use flags, I would be most
 thankful
 
 Tim

I would start with the defaults, eg. leave USE= (blank) in make.conf
and then start editing package.use to modify them from there. type
emerge --info to see ALL of the use flags that are being used

 
 Timothy A. Holmes
 IT Manager / Network Admin / Web Master / Computer Teacher
  
 Medina Christian Academy
 A Higher Standard...
  
 Jeremiah 33:3
 Jeremiah 29:11
 Esther 4:14
 
 


- --
Jeremy Olexa
([EMAIL PROTECTED])
Office: EE/CS 1-201
CS/IT Systems Staff
University of Minnesota

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEa0jTFN7pD9kMi/URAnE1AJkBny012MKtS+bH2m3CPNCKbVDRrACeMrxp
I+NTYvs8TW/x/daMQt/7aRM=
=+XcQ
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE Flags, Emerge -e world -- Broken systems -- PLEASE HELP

2006-05-17 Thread Teresa and Dale
Jeremy Olexa wrote:


 I would start with the defaults, eg. leave USE= (blank) in make.conf
 and then start editing package.use to modify them from there. type
 emerge --info to see ALL of the use flags that are being used


 --
 Jeremy Olexa
 ([EMAIL PROTECTED])
 Office: EE/CS 1-201
 CS/IT Systems Staff
 University of Minnesota


The way I always do is this, find what I want to install, in your case
emerge -e world, and add the -vp option.  It will then tell you what
flags each package will use.  I then go to
/usr/portage/profiles/use.desc and find the flag, they are in
alphabetical order, and see what it does and if I need it or not.  If
not, I add the flag with a - in front to disable it.  If I see something
it is not going to compile in that I need, I add it to my USE line.

You can also use the package.use file in /etc/portage too.  Then it will
only apply to that specific package.  Either way does the same thing but
one is global and affects all packages while the other only affect that
one package. 

Hope that helps.

Dale

:-)  :-)

Oh, if you are in comand line and need to scroll through the list, try
this:  emerge -evp world | less without the quotes of course.  You can
use the page up and down keys with that.  Works here anyway.  You can
switch to another console to edit your USE line and use another to view
the use.desc file.  Do I make sense at all??
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE Flags, Emerge -e world -- Broken systems -- PLEASE HELP

2006-05-17 Thread Jonathan Chocron
Le Mercredi 17 Mai 2006 18:01, Jeremy Olexa a écrit :
 Timothy A. Holmes wrote:
  On 5/17/06, Timothy A. Holmes [EMAIL PROTECTED] wrote:
  Hi folks - I have a major problem brewing here im afraid:
 
  I have several systems that I had originally built with the Gentoo
  installer disk -- As such they have a very large group of use flags,
 
  and
 
  a fairly large genkernel.  In wanting to lean them out and optimize
 
  them
 
  for running, went in, rebuilt the kernel, and apparently with a bad
 
  genkernel does not use USE flags, so, that's not related, probably.
  Someone will tell if I'm wrong.
 
  understanding of how portage and the USE flags interact, removed all
 
  the
 
  use flags, changed them to:
 
  USE=-*
 
  Heh, once I tried that... Its better leave it empty than putting this.
  You CAN put -*, but then you would have to create a fairly large
  packages.use in order to get a working system. That includes every
  package listed in emerge -pv world with an entry.
 
  Remove that option, start with minimal USE flags and reemerge world.
  You're lucky you didn't try emerge -e system after that.
 
  and ran emerge -e world.  The processes have all failed, and now I
 
  have
 
  broken systems -- for example, eterm wont start at all, nor will it
  build on a re-install, firefox is messed up (the fonts look funny)
 
  and
 
  im starting to panic.  Is there any way short of rebuilding these
  systems to get things working right again?
 
  You're lucky that you still have a working system after all. You even
  get a working portage, so, nothing to worry about. Fix your flags and
  reemerge world.
 
  --
 
  [Timothy A. Holmes]
 
  Turns out all 5 systems are totally broke - I will be rebuilding all of
  them --
 
  If anyone can suggest a good set of minimal use flags, I would be most
  thankful
 
  Tim

 I would start with the defaults, eg. leave USE= (blank) in make.conf
 and then start editing package.use to modify them from there. type
 emerge --info to see ALL of the use flags that are being used

Yes, USE= is a good start. However, one has to take into account that 
portage adds use flags while going through the emerge process. For example, 
if you install mysql in order to use it with amaroK, mysql would, after that 
emerge be turned on as a global useflag.

If one wants to keep a clean system, they have to compensate for this 
behaviour, and check, at the end of an emerge process*, that the list of 
useflags has remained unchanged.

*(NOTE : not at the end of the merge of every single package, but at the end 
of the merge of one list of package, since emerge reads the USE variable once 
at the beginning of the merge process, even if there are 20 packages on the 
list).

Oh, and unless you are a developper, there are some defaults useflags you can 
turn off, like fortran, for example.

One last thing, I would suggest using euse, which is part of gentoolkit, to 
check the meaning of a useflage. It searches both use.desc and 
use.local.desc.

-- Jonathan

  Timothy A. Holmes
  IT Manager / Network Admin / Web Master / Computer Teacher
 
  Medina Christian Academy
  A Higher Standard...
 
  Jeremiah 33:3
  Jeremiah 29:11
  Esther 4:14

 --
 Jeremy Olexa
 ([EMAIL PROTECTED])
 Office: EE/CS 1-201
 CS/IT Systems Staff
 University of Minnesota


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE flags???

2006-05-09 Thread Fernando Antunes
Use euse utility to query about USE flags.

emerge gentoolkit

euse -i flag1 [flag2 flag3]

or just euse for options.



On 5/8/06, Jerry McBride [EMAIL PROTECTED] wrote:

 Would someone know what the following two USE flags do? latin and aio

 It seems latin1 relates to mysql and aio relates to slocate... But what do
 they do?

 Thank you, in advance, Jerry
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE flags???

2006-05-09 Thread Bo Andresen
On Tuesday 09 May 2006 04:58, Jerry McBride wrote:
 The suggested equery wasn't much help

# equery belongs equery
[ Searching for file(s) equery in *... ]
app-portage/gentoolkit-0.2.2_pre4 (/usr/bin/equery)
app-portage/gentoolkit-0.2.2_pre4 
(/usr/share/doc/gentoolkit-0.2.2_pre4/equery)

-- 
Bo Andresen


pgpnYRgF8ELHF.pgp
Description: PGP signature


Re: [gentoo-user] New USE flags???

2006-05-09 Thread Bob Sanders
On Tue, 9 May 2006 20:06:53 -0600
Justin Findlay [EMAIL PROTECTED] wrote:

 Not even the most dogged user is going to read through every flag and
 decide if he wants it set or not. 

I do and set specific sets of flags for each machine I run.  It does take
about 30 min.  and I do have to check for changes - USE flags going away,
new ones, every six months or so, but a review is always a good thing.
 
 So, for example, Joe Hacker, who has a laptop and a server can
 explicitly unset all multimedia and office/desktop flags in ufed for
 his server while explicitly enabling just the server flags he needs
 while on his laptop he can enable all development flags and pick the
 desktop flags he wants in a matter of seconds rather than minutes
 because the desktop flags are all in the same catergory.
 
 You could also allow users even greater specificity over their flags
 with ufed by giving them the option to set flags on a per package
 basis, although this may be more effort than it's worth.
 

You might want to peruse this GLEP - 

http://www.gentoo.org/proj/en/glep/glep-0029.html

It was withdrawn, but perhaps that was because other tasks
took a higher priority and this needed to wait for them to complete.

Bob
-  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE flags???

2006-05-09 Thread Jim

Justin Findlay wrote:

On 5/8/06, JimD [EMAIL PROTECTED] wrote:


How would you recommend changing USE flags or making them better?  You
should post suggestions to the devs.  I think they need some fixing as
well.  However, I haven't really thought much about it and so have no
real useful suggestions, yet.


OK, let's think about this for a second.  I'm just shooting from the
hip here.  It may very well be that I don't have any substantial
improvements for USE flags.

but I think it would be easier and faster to set/unset use flags
if they were catergorized.


I like it.  Sounds like a good idea to me ;)

Jim
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE flags???

2006-05-08 Thread Justin Findlay

On 5/8/06, Jerry McBride [EMAIL PROTECTED] wrote:


Would someone know what the following two USE flags do? latin and aio

It seems latin1 relates to mysql and aio relates to slocate... But what do
they do?


There's a neat little utility called equery (from gentoolkit) that
will give you descriptions of local package USE flags, so in your case
try,

$ equery uses mysql

and

$ equery uses slocate

and enjoy. (:  Alternatively, you can grep for latin1 or aio in
/usr/portage/profiles/use.local.desc to see all the packages that have
USE flags with those particular names.


Justin

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE flags???

2006-05-08 Thread Jerry McBride
On Monday 08 May 2006 22:43, Justin Findlay wrote:
 On 5/8/06, Jerry McBride [EMAIL PROTECTED] wrote:
  Would someone know what the following two USE flags do? latin and aio
 
  It seems latin1 relates to mysql and aio relates to slocate... But what
  do they do?

 There's a neat little utility called equery (from gentoolkit) that
 will give you descriptions of local package USE flags, so in your case
 try,

 $ equery uses mysql

 and

 $ equery uses slocate

 and enjoy. (:  Alternatively, you can grep for latin1 or aio in
 /usr/portage/profiles/use.local.desc to see all the packages that have
 USE flags with those particular names.



The suggested equery wasn't much help, but grep-ing use.local.desc was a gold 
mine. Thanks! I had already looked into use.desc and I stopped there and 
posted my request for help. Why is it, that use.desc contains less 
information about the use flags than use.local.desc?

Other than that, thank you very much.

Jerry


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE flags???

2006-05-08 Thread Justin Findlay

On 5/8/06, Jerry McBride [EMAIL PROTECTED] wrote:

The suggested equery wasn't much help, but grep-ing use.local.desc was a gold
mine. Thanks! I had already looked into use.desc and I stopped there and
posted my request for help. Why is it, that use.desc contains less
information about the use flags than use.local.desc?


The difference is that use.local.desc contains flags that are local to
specific ebuilds while the flags in use.desc are system wide flags. 
Some flags in use.local.desc are common across 2 or even more ebuilds.

I don't know why those flags aren't global flags.  There may even be
flags in use.local.desc that share the same name but mean very
different things to different packages.

Honestly, I think USE flags, as powerful as they are, are the
cruftiest part of Gentoo and could be so much more powerful and ought
to be so much less clumsy.


Justin

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New USE flags???

2006-05-08 Thread JimD

Justin Findlay wrote:


Honestly, I think USE flags, as powerful as they are, are the
cruftiest part of Gentoo and could be so much more powerful and ought
to be so much less clumsy.


Justin


How would you recommend changing USE flags or making them better?  You 
should post suggestions to the devs.  I think they need some fixing as 
well.  However, I haven't really thought much about it and so have no 
real useful suggestions, yet.


Jim
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
There's no place like 127.0.0.1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
JimD
Central FL, USA, Earth, Sol
--
gentoo-user@gentoo.org mailing list