On Tue, Jul 29, 2014 at 09:34:04PM +0430, behrouz khosravi wrote
> Hello everyone.
> I just concurred my fear and jumped to installing gentoo!
> So far so good!
> Before installing on my laptop and desktop, I am trying on virtual box
> and the system is running Fluxbox very good.(default profile)
> Now I am thinking about managing USE flags.
> What if I  disable everything in the make.conf ( I mean USE="-*" ) and
> gradually add the needed flags to package.use?
> I am not trying to have severe control, I just want to expand my knowledge!
> thanks.

  Here is a compromise.  I started with USE="-*" and then gradually
added stuff that was needed by most items.  My rule-of-thumb is...
If adding a flag to USE reduces the number of entries in package.use,
then I add it.  I.e. if...
* not having flag "foobar" in USE requires 6 entries in package.use, and
* having flag "foobar" in USE requires only 2 "-" entries in package.use

...then I move flag "foobar" into USE and put a few "-" entries in
package.use.  I do want stuff like "ncurses nptl nptlonly posix readline
threads" for every app which can use it.  Similarly, cpu-specific flags
should be in your USE.  This effectively gives you a very customized
profile.  By the way, you can make your own variables in make.conf, and
concatenate them, like in bash.  In my make.conf I have...

USE_BASE="-* a52 aac bzip2 cxx fortran ncurses netifrc nptl nptlonly nsplugin 
offensive openssl posix readline ssl threads vim-syntax zlib"
USE_CPU="mmx mmxext sse sse2 sse3 ssse3"
USE_VIDEO="X dga dri exif ffmpeg flac classic gif intel jpeg mng mp3 mpeg ogg 
opengl png rtmp theora tiff truetype vorbis xcomposite webm x264 xpm xv xvid 
xvmc"
USE="${USE_BASE} ${USE_CPU} ${USE_VIDEO}"

  I can mostly copy this to another machine.  ***WARNING*** the flags in
USE_CPU are specific to, and have to be customized for, each machine.
My Dell Dimension 530 dates back to June 2008.  Newer Intel machines
will have additional cpu-specific flags, and AMD cpus will have their
own unique additional flags.  Your set of flags may be different,
depending on what applications you use, and what you want to do with the
machine.

-- 
Walter Dnes <[email protected]>
I don't run "desktop environments"; I run useful applications

Reply via email to