Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE Flags - Multi Use, Feature Rich Gentoo System
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ChaosInMind
n00b
n00b


Joined: 09 Apr 2007
Posts: 4

PostPosted: Mon Apr 09, 2007 7:52 pm    Post subject: USE Flags - Multi Use, Feature Rich Gentoo System Reply with quote

Ok, I want to compile a new Gentoo System. it will be either a x86 or an x64_86, depending on what system I decide to put it on.


Basically, it will be a general use PC.

I do some basic programming, some web development which includes apache, mysql, php, and graphic design, I will use it to listen to music, attach USB devices and use multiple WM's, including fluxbox, KDE, Gnome and XFCE. Watch DVD's, burn CDR/DVDR, download torrents, play some 3D games such as Quake, UT2004, Etc...

From the beginning is there any ideas on how many USE flags I should use, what flags or some ideas or thoughts on a multi use, full featured gentoo system?

SO far I have just basic things in the USE.. looks like this:
USE="X dri 3dnow 3dfx opengl xmms alsa qt3 qt4 gtk gnome kde hal avahi apache2 dbus"
Back to top
View user's profile Send private message
shaumux
Veteran
Veteran


Joined: 13 May 2005
Posts: 1009
Location: Hong Kong

PostPosted: Mon Apr 09, 2007 7:57 pm    Post subject: Reply with quote

I think u should also put unicode there for unicode support in applications supporting it.
Back to top
View user's profile Send private message
broken_chaos
Guru
Guru


Joined: 18 Jan 2006
Posts: 370
Location: Ontario, Canada

PostPosted: Mon Apr 09, 2007 8:08 pm    Post subject: Reply with quote

No xmms USE flag. XMMS was removed from the portage tree several months ago.
Back to top
View user's profile Send private message
The Unknown
Guru
Guru


Joined: 28 Feb 2007
Posts: 335
Location: Minnesota, U.S.A

PostPosted: Mon Apr 09, 2007 9:52 pm    Post subject: Reply with quote

The question is hard to answer,because it is all about choice,what you want from your system,which apps your going to use.
The only thing I can suggest is what I do,use emerge -pv its displays the USE flags for each, then use a gui application like ufed to edit
your USE flags or at least to see what they pull in. There is also USE documentation in the doc`s http://www.gentoo.org/dyn/use-index.xml
and in the wiki http://gentoo-wiki.com/USE_Flags_explained and http://gentoo-wiki.com/USE_Flags
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Mon Apr 09, 2007 9:58 pm    Post subject: Re: USE Flags - Multi Use, Feature Rich Gentoo System Reply with quote

ChaosInMind wrote:
multi use, full featured gentoo system?

SO far I have just basic things in the USE.. looks like this:
USE="X dri 3dnow 3dfx opengl xmms alsa qt3 qt4 gtk gnome kde hal avahi apache2 dbus"

here is my main USE from make.conf
Code:
USE="ffmpeg X gtk gtk2 gnome alsa xine cdr dvd dvdr dvdread gphoto2 cups hal dbus glitz cairo opengl win32codecs xvid asf firefox browserplugin nsplugin dlloader nptl nptlonly userlocales mono samba svg png jpeg mpeg mp3 spell -mozilla -gstreamer -kde -arts -qt3 -qt4 -mysql"

this is gnome oriented but I do rely on some KDE apps such a digikam and k3b (couldn't compute without either :)).

I use this desktop for ut2k4, java dev, c/c++ dev, php dev (via vi in an SSH link to my server), web browsing, media, you name it. running amd64 mainly ARCH but with nvidia, beryl, xorg, gnome 2.18... it's fun.

and my individual package USE flags:
Code:
user hostname ~ $ cat /etc/portage/package.use
sys-libs/glibc userlocales
dev-util/subversion apache2 bash_completion java
net-www/apache apache2 ldap
dev-libs/apr-util ldap
app-office/gnucash ofx
media-sound/xmms alsa mp3 nls flac mad vorbis -esd
media-libs/xine-lib mad
sys-apps/dbus X gtk mono python qt3
sys-devel/gcc -gcj -fortran

dev-java/ant-tasks -javamail noantlr nobcel nobeanutils nobsf nobsh nocommonslogging nocommonsnet nojdepend nojython nooro noregexp norhino noxalan noxerces

x11-libs/cairo X pdf

media-plugins/audacious-plugins mp3 wma

media-video/dvdrip -xine mplayer

net-im/gaim -dbus
sys-apps/paludis bash-completion glsa doc

gnome-extra/gnome-main-menu nautilus
net-misc/openssh X pam tcpd X509
sys-devel/gcc d

i think overall, this gives a good idea how the machine is used.
Back to top
View user's profile Send private message
kmj0377
Guru
Guru


Joined: 26 Sep 2003
Posts: 397

PostPosted: Mon Apr 09, 2007 11:17 pm    Post subject: Reply with quote

I've got somewhat of the same stuff. Most of my use flags stem from what I need for PHP:

USE="imlib gnome truetype xml acpi X bzip2 mmx tiff mp3 png jpeg gif logrotate sdl toolbar glitz svg gtk java mozbranding mozdevelop hal samba gnutls alsa nsplugin expat fam swat syslog ldap acl async automount avahi opengl dbus pcmcia png
truetype logrotate acl xattr nfs samba dbus php html apache2 jpeg threads mpm-threadpool odbc pdo mssql mysql gmp gd curl bzip2 ldap snmp tidy tokenizer xml xmlreader xmlrpc xmlwriter zip -sasl exif imap mysqli tiff swat syslog async automount authdaemond postgres fam diskio dhcp java vim-syntax expat soap sockets simplexml iodbc posix filter curlwrappers json xsl tetex mgetty lcms gs examples fontconfig sqlite office opendoc pdf ps offensive imagemagick graphviz tcl tk cups
passwordsave mpeg wmf xine xv vorbis theora ogg mad flac firefox ffmpeg dvd a52 t1lib dvi djvu cdr guile artworkextra mono cairo ruby pango gstreamer branding x264 xvid aac dts encode moznoirc moznomail moznocompose source xpm spell win32codecs mng startup-notification libnotify tagwriting musicbrainz msn seamonkey webdav sound -macmenu esd aiglx divx gmedia quicktime realmedia wmp cdparanoia lzo real dvdread"
Back to top
View user's profile Send private message
ChaosInMind
n00b
n00b


Joined: 09 Apr 2007
Posts: 4

PostPosted: Mon Apr 09, 2007 11:39 pm    Post subject: Reply with quote

Yes, Thats what I was looking for, a comparison of what other people use their system for and what USE flags they use. I can read all day long about USE flags, but unfortunately I learn by interacting with people rather than reading about a subject.

If anyone else comes across this thread, please post your USE flags and what you use your system for. Thanks!

Something I think I overlooked...

Quote:
and my individual package USE flags:


Individual package USE flags.... I don't think I have any of those setup, can you please explain? Is it a .conf file with USE flags for specific types of applications? If so, it sounds like I should only have general USE flags setup for the majority of my applications like "X KDE OPENGL, etc, and then specify media apps to use media flags... and so fourth.

So, wouldn't kmj0377's setup be a little much?

Code:
USE="imlib gnome truetype xml acpi X bzip2 mmx tiff mp3 png jpeg gif logrotate sdl toolbar glitz svg gtk java mozbranding mozdevelop hal samba gnutls alsa nsplugin expat fam swat syslog ldap acl async automount avahi opengl dbus pcmcia png
truetype logrotate acl xattr nfs samba dbus php html apache2 jpeg threads mpm-threadpool odbc pdo mssql mysql gmp gd curl bzip2 ldap snmp tidy tokenizer xml xmlreader xmlrpc xmlwriter zip -sasl exif imap mysqli tiff swat syslog async automount authdaemond postgres fam diskio dhcp java vim-syntax expat soap sockets simplexml iodbc posix filter curlwrappers json xsl tetex mgetty lcms gs examples fontconfig sqlite office opendoc pdf ps offensive imagemagick graphviz tcl tk cups
passwordsave mpeg wmf xine xv vorbis theora ogg mad flac firefox ffmpeg dvd a52 t1lib dvi djvu cdr guile artworkextra mono cairo ruby pango gstreamer branding x264 xvid aac dts encode moznoirc moznomail moznocompose source xpm spell win32codecs mng startup-notification libnotify tagwriting musicbrainz msn seamonkey webdav sound -macmenu esd aiglx divx gmedia quicktime realmedia wmp cdparanoia lzo real dvdread"


and by not specifying JPG for example, does that mean I cant use GIMP to export or edit a .JPG?

I hate being a n00b!
Back to top
View user's profile Send private message
The Unknown
Guru
Guru


Joined: 28 Feb 2007
Posts: 335
Location: Minnesota, U.S.A

PostPosted: Tue Apr 10, 2007 12:46 am    Post subject: Reply with quote

I apologize if my answer was not what you looking for,I promote learning and research to prevent questions.
But if examples and comparisons will give you your desired results I still would love to help.
here are my use flags
USE="3dfx 3dnow a52 aac aalib acpi amarok artworkextra audiofile
bash-completion bogofilter cairo cdaudio cddb cdr cdrom clamav css dbus
dcraw dga directfb djbfft dv dvd dvdr dvdread dvi effects escreen etwin
exif ffmpeg firefox flac fontconfig gimp gimpprint gphoto2 hal imap
inkjar java jpeg2k libnotify lm_sensors lzo mjpeg mmx musepack
musicbrainz mysql nas nautilus nptlonly nsplugin nvidia plugin plugins
povray scanner sndfile sse sse2 startup-notification svg svga sysfs t1lib
tcltk tetex theora tiff type1 unicode usb vcd vdr win32codecs wma
xcomposite xine xinerama xpm xprint xrandr xscreensaver xvid xvmc -gnome
-kde"
I use my system for everything that you will plus mythtv and vdr.
here my package.use
sys-libs/glibc userlocales
www-client/mozilla-firefox java
dev-java/blackdown-jre nsplugin
media-tv/mythtv alsa opengl vorbis dvb dvd ieee1394 lirc mmx xvmc
www-client/opera qt-static
dev-lang/python tk
x11-wm/enlightenment doc esd nls xcomposite xinerama xrandr
x11-plugins/epplets esd

this is a file called /etc/portage/package.use
this where you can declare specific USE flags per package.
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Wed Apr 11, 2007 5:23 pm    Post subject: Reply with quote

You'll get most features that you might want for a desktop system by using the appropriate desktop profile.
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Wed Apr 11, 2007 5:42 pm    Post subject: Reply with quote

ChaosInMind wrote:
Quote:
and my individual package USE flags:


Individual package USE flags.... I don't think I have any of those setup, can you please explain? Is it a .conf file with USE flags for specific types of applications?

individual package USE flags are specified in /etc/portage/package.use

I use these for specific things that I know I don't really want the whole system using... or if a package has a lot of USE flags available, I'll put it in here so that I know how I built the package without having to think about it.

Generally, individual USE flags are more useful for server based installation. I specify per-package USE flags for PHP, for instance and then I have a record of sorts for what functionality I'm using with PHP. This keeps the system as a whole smaller while keeping functionality exactly where I need it.

I hope that helps, at least a little.
Back to top
View user's profile Send private message
UgolinoII
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2004
Posts: 119

PostPosted: Fri Apr 13, 2007 8:32 pm    Post subject: Reply with quote

this is my desktop running ~amd64

Code:
USE="a52 aac acpi alsa apache2 arts avi cairo canna cdr cjk cups divx4linux dts dv dvd dvdr dvdread emerald ffmpeg firefox flac foomaticdb freewnn gimp gimpprint glitz gtk2 java lm_sensors mad midi mysql nls nvidia nsplugin ogg opengl oss pam pcre pdf ppds qt4 quicktime real rtc scanner ssl svg tcpd tiff truetype unicode usb v4l v4l2 vhosts vorbis wma X x264 xft xorg xscreensaver xv xvid"


there is some funk in here at the moment due to a little craziness with guile,pciutils and zlib, but im sure it will all come out in the wash

Code:
# cat /etc/portage/package.use

x11-misc/rss-glx -kde
net-misc/vnc server

dev-lang/php ctype session

dev-scheme/guile deprecated regex
sys-apps/pciutils -zlib
=net-misc/openssh-4.6_p1-r1 -ldap


I use it for web app development and general computing (office/web/email/music/video etc) seems to cope with most day to day multimedia type situations.


Last edited by UgolinoII on Tue May 08, 2007 8:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
tuam
l33t
l33t


Joined: 04 May 2004
Posts: 765
Location: CGN, Germany

PostPosted: Fri Apr 13, 2007 9:10 pm    Post subject: Reply with quote

If you want to develop and have mysql, I recommend adding the mysql flag, so all apps that can will interface with it :wink:
My box is mostly for watching tv, videos, listen to music, surf the web, and basic office programs:
Code:
danielsrasepc ~ # cat /etc/make.conf
<snip>
USE="3dnowext aac alsa apache2 arts audiofile avi bzip2 cdr cdparanoia \
     crypt cups curl cvs dbus divx4linux dvd dvdr dvdread encode \
     -esd exif ffmpeg firefox flac gd glitz -gnome gtk hal \
     imagemagick imap innodb java jpeg kde kdeenablefinal \
     kdehiddenvisibility lame logrotate mbox mmx mmxext -mozilla mpeg mplayer \
     musicbrainz mysql ncurses nptl oggvorbis opengl pdf perl php png qt \
     real samba scanner sndfile srvdir sse ssl subversion tcltk \
     tiff timidity unicode usb v4l2 videos vorbis vcd wma wmf X \
     xine xv xvid x264 zlib theora dts extrafilters ipod ogg mikmod \
     svg mp3 mad tcl tk"
<snip>


FF,

Daniel
_________________
Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard
Back to top
View user's profile Send private message
KH
n00b
n00b


Joined: 28 Jun 2003
Posts: 26
Location: Canada

PostPosted: Sat Apr 14, 2007 8:03 pm    Post subject: Reply with quote

I pretty much stick to surfing the internet, Amarok, gaim, OpenOffice and azureus. Over time I'v added all media related functions that I need - burn/create dvds w/ menus, transcode between video and audio formats, etc.

USE="3dnow 3dnowext \
a52 aac acl acpi aiglx alsa amr ao -arts asf aspell async attr audiofile avi \
bash-completion bcmath -bindist bzlib -bitmap-fonts bzip2 \
cairo cdr cdparanoia chroot cpudetection css -cups curl custom-cflags \
dbus dga dio djbfft dri dts dv dvd dvdnav dvdr dvdread \
-eds encode -esd exif exscalibar \
faac flac faad fftw firefox fontconfig -fortran -font-server ffmpeg fuse \
gd -gdbm gif glibc-omitfp glitz gnome gnutls gpm gs -gstreamer gtk2 -gtkhtml \
hal \
id3 imagemagick ithreads -ipv6 \
java jpeg jpeg2k \
kde kdehiddenvisibility \
lame ldap lm_sensors \
mad md5sum mime mjpeg mmap mmx mmxext mng mozsvg mp3 mp3rtp mpeg mpeg2 mplayer mono -mozilla msn mysql \
-nls ncurses network nomotif nptl nptlonly nsplugin \
oggvorbis opengl offensive -oss \
-pam pcre pdf perl pic plotutils png prelink \
qt qt3 -qt4 quicktime \
rar real readline rtc ruby \
samba sasl scenarios sdl -slang sndfile sound sox stream subtitles svg svga ssl \
tcl tcltk tk threads threadsafe tiff truetype2 truetype-fonts \
usb unicode \
v4l v4l2 vcd visualization \
wmf win32codecs \
xcomposite xforms xine xinerama xpm xsl -xmms xml xml2 xorg xv xvmc xvid x86 \
zlib"
Back to top
View user's profile Send private message
Zillode
n00b
n00b


Joined: 19 May 2006
Posts: 54

PostPosted: Sat Apr 14, 2007 8:55 pm    Post subject: Reply with quote

64bit arch, desktop (as much support for media/dev/web as possible) + dev pc

make.conf:
Code:

USE="3dnow 3dnowext 64bit 7zip a52 aac akode amarok amd apache2 api arts asf
     audiofile bash-completion browserplugin cdr devhelp doc dv dvd dvdr
     dvdread esd ethereal examples fam ffmpeg firefox flac flash ftp gimp
     gimpprint gphoto2 hal hardened imap java jpeg2k kdeenablefinal
     logitech-mouse mmxext mng mono msn mysql network new-login nforce
     no-htdocs no-seamonkey nptlonly nsplugin nvidia ogg opera optimizations
     oss pdf php qt rdesktop ruby scanner seamonkey sftp subversion svg theora
     threads tidy truetype unicode v4l videos vim-with-x vorbis win32ddl
     xinerama xml xscreensaver xvid xvmc tracker branding -ipv6"

package.use:
Code:

media-libs/win32codecs aac divx4linux dts live mad matroska mythtv theora xanim xvid aalid alsa arts jack jpeg nas oss png dvd dvb dvdread rtc bidi bl lzo samba quicktime real xvmc x264 musepack wmv9dmo wmvdmo
media-video/totem -gstreamer xine
media-libs/xine-lib aac divx4linux dts live mad matroska mythtv theora xanim xvid aalid alsa arts jack jpeg nas oss png dvd dvb dvdread rtc bidi bl lzo samba quicktime real xvmc x264 musepack wmv9dmo wmvdmo asf mad ffmpeg flac sdl win32codecs vorbis theora
media-video/mplayer-bin -real -quicktime mmx mmx2 sse sse2 sse3 3dnow 3dnowext aac divx4linux dts live mad matroska mythtv theora win32codecs xanim xvid aalib alsa arts jack jpeg nas opengl oss png sdl svga xv 3dfx dvb dvd dvdread rtc bidi bl -gtk -ipv6 lzo samba xmms wmv9dmo wmvdmo cdda qtx opendivx x264 amr_wb amr_nb dshow dmo win32 musepack speex twolame toolame openal v4l2 gtk joystick lirc
media-video/mplayer -real -quicktime mmx mmx2 sse sse2 sse3 3dnow 3dnowext aac divx4linux dts live mad matroska mythtv theora win32codecs xanim xvid aalib alsa arts jack jpeg nas opengl oss png sdl svga xv 3dfx dvb dvd dvdread rtc bidi bl -gtk -ipv6 lzo samba xmms wmv9dmo wmvdmo cdda qtx opendivx x264 amr_wb amr_nb dshow dmo win32 musepack speex twolame toolame openal v4l2 gtk joystick lirc
dev-util/subversion berkdb apache
app-cdr/k3b -hal kde
media-libs/libjsw gtk gtk2
app-emulation/wine X alsa arts cups -debug esd gif glut -jack jpeg lcms ldap -nas ncurses opengl oss -scanner truetype xml2
dev-util/subversion berkdb apache
x11-libs/wxGTK unicode
media-sound/bmpx -hal
dev-lang/php session unicode cgi gd -apache bcmath bzip2 calendar -cdb -cjk -concurrentmodphp ctype curl curlwrappers -db2 -dbase debug discard-path -exif force-cgi-redirect -gd-external hardenedphp hash -hyperwave-api inifile -interbase -iodbc ipv6 java-external -kerberos -ldap -libedit -mcve memlimit mhash -ming mysqli -oci8 -odbc -pdo pic -posix postgres -recode -sapdb -sasl -sharedext -sharedmem simplexml soap sockets sqlite threads tidy tokenizer truetype xmlreader xmlwriter -xsl -yaz zip
sys-apps/dbus qt3
media-sound/amarok aac opengl visualization flac mad NMM musicbrainz XMMS helix njb
x11-wm/metacity xcomposite
net-im/gaim -tcl -tk -doc -crypt -eds -gstreamer gtk msn nls -perl -spell -ssl -avahi -bonjour -cjk -console -custom-cflags dbus -debug -gadu -gnutls -groupwise -meanwhile -mono -qq -sasl -silc -startup-notification -xscreensaver
net-news/liferea -dbus -gnutils -libnotify -seamonkey -xulrunner
media-video/vlc X a52 alsa arts dvd esd flac hal mp3 mpeg ncurses nsplugin* ogg opengl oss png sdl seamonkey svg* v4l vorbis xinerama xml xv aalib bidi cdda cddb corba daap dts fbcon ggi gnutls httpd libcaca lirc live matroska mod rtsp shout skins speex stream theora truetype vcd vlm wxwindows xosd dvb
net-misc/tightvnc server
net-misc/vnc server
net-www/apache -static-modules threads -mpm-worker -mpm-threadpool mpm-prefork
dev-db/libpq threads
dev-lang/python tk gdbm usc2
app-misc/beagle chm -debug -evo galago ole thunderbird pdf doc
x11-libs/qt postgres sqlite sqlite3 dbus glib
dev-util/mono-tools gtkhtml
media-gfx/gimp -gtkhml wmf smp -doc
app-misc/mc 7zip
app-office/openoffice-bin gnome java kde linguas_de linguas_en linguas_en_GB linguas_es linguas_fr linguas_it linguas_nl
dev-lang/fpc source
dev-python/PyQt doc examples
app-text/evince djvu dvi t1lib
mail-mta/postfix mbox
media-video/dvdrip hal ogg vorbis xvid -fping mplayer subtitles vcd xine
media-video/mpeg4ip a52 alsa arts esd ffmpeg xvid id3 ipv6 lame -mmx mp4live mpeg2 nas player v4l2
media-libs/mlt dv gtk ogg quicktime sdl vorbis xml -jack lame mmx sox theora xine
media-video/motiontrack -debug gd imagemagick multiprocess
media-video/noad ffmpeg imagemagick
media-video/mkvtoolnix flac bzip2 -debug lzo wxwindows
media-video/xine-ui X ncurses nls readline aalib curl libcaca lirc vdr
media-video/flumotion dv jpeg v4l -debug speex -gstreamer08
x11-libs/fox cups doc jpeg opengl png tiff zlib bzip2
media-video/gpac aac ffmpeg jpeg ogg opengl oss png sdl ssl vorbis xml xvid amr -debug mad -mozilla theora truetype wxwindows
media-video/qdvdauthor mplayer xine
media-video/winki dvd mp3 ogg css matroska mjpeg vcd
media-video/avidemux a52 aac mad alsa arts encode mad nls -oss sdl vorbis xv xvid truetype
net-dns/avahi doc gtk mono python -qt3 qt4 autoipd bookmarks dbus -gdbm howl-compat -mdnsresponder-compat
net-libs/libgadu -ssl
app-emulation/qemu-softmmu kqemu alsa sdl
net-ftp/proftpd -mysql -ncurses -pam authfile noauthunix softquota opensslcrypt
net-ftp/ftpcube sftp
www-apps/viewcvs apache2 -mysql -apache cvsgraph enscript -mod_python -standalone -vhosts
media-plugins/vdr-setup setup-plugin
dev-lisp/cmucl -doc -lesstif -source
dev-util/kdevelop arts fortran java perl php python ruby subversion xinerama ada clearcase cvs -debug graphviz haskell pascal perforce sql
dev-lang/ruby doc examples -cjk -debug -ipv6 socks5 threads tk
dev-util/mercurial bash-completion
net-misc/rdesktop ao
kde-base/kdelibs lua
media-libs/libquicktime lame x264
dev-lang/swig lua ocaml pike tcl tk
media-tv/xdtv lirc
media-video/ffmpeg network ieee1394 theora threads truetype x264
media-video/transcode mjpeg network theora truetype v4l2
media-gfx/graphviz  X doc examples gtk java perl php python ruby cairo guile lua ocaml pango tcl tk
sys-devel/gcc nocxx objc objc++ objc-gc
app-admin/testdisk jpeg ntfs reiserfs
net-www/mplayerplug-in gtk quicktime divx gmedia realmedia wmp
app-editors/vim bash-completion gpm nls perl python ruby vim-with-x acl cscope
dev-util/anjuta doc subversion -debug glade inherit-graph sourceview valgrind
dev-ruby/rails fastcgi postgres sqlite sqlite3
dev-libs/apr urandom
media-gfx/imagemagick X doc jpeg jpeg2k mpeg perl png tiff truetype xml zlib bzip2 fpx graphviz gs jbig -lcms -nocxx wmf
x11-libs/cairo glitz
net-misc/ntp caps
cross-mingw32/gcc -boundschecking -gtk -gcj -mudflap -objc -objc++ -objc-gc
net-misc/tsclient vnc
Back to top
View user's profile Send private message
sabbat
n00b
n00b


Joined: 16 Dec 2003
Posts: 34
Location: Australia

PostPosted: Wed Apr 18, 2007 12:42 pm    Post subject: Reply with quote

Saw this thread and thought I'd put in my 2 cents...

USE="X gtk gtk2 gtkhtml gnome alsa mmx mmxext 3dnow 3dnowext sse ssl gpm gmp zlib bzip2 zip nls gif
bash-completion unicode type1 truetype perl java nsplugin mplayer -xine pam nptl nptlonly xml
artworkextra cdr dvd dvdr asf dvdrw tools tiff cairo dvi dbus hal firefox samba mpeg xv sdl qt3
acpi -arts -esd flac -cups mp3 ogg vorbis svga wmf pdf sndfile xinerama logrotate offensive
svg mp4 dts xvid audiofile css ffmpeg musicbrainz vcd aac amr dga dv dvb dvdread enca live eds
real tga theora v4l v4l2 win32codecs x264 xanim xvmc yv12 gnutls zlib -oss png aoss aalib mng
a52 divx gmedia realmedia wmp imagemagick lzo openal expat javascript fame mjpeg glitz apache2
xcomposite jpeg2k -xmms selinux mozbranding encode lm_sensors aiglx avahi libcaca -qt4 quicktime
subversion fbcon musepack matroska rar nvidia emerald gstreamer opengl jpeg spell mad imlib
motif speex ggi bidi bindist bl cddb cdparanoia rtc"

/etc/portage/package.use
app-benchmarks/bootchart -java
mail-mta/exim exiscan exiscan-acl
net-dialup/ppp atm dhcp eap-tls mppe-mppc
dev-lang/spidermonkey threadsafe
dev-util/kdevelop ruby php pascal ada clearcase haskell perforce cvs
x11-wm/compiz -kde
sys-apps/pciutils -zlib
www-apps/gallery mysql
dev-lang/php mysql
_________________
I'm not as think you confused I am!!!
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Wed Apr 18, 2007 3:17 pm    Post subject: Reply with quote

wow. I knew my make.conf USE flags were comparatively small but damn... do all of these flags listed actually do stuff? wouldn't most be covered by the desktop profile?
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1611
Location: U.S.A.

PostPosted: Thu Apr 19, 2007 6:34 am    Post subject: Reply with quote

My God that's a lot of USE flags.

Examples are useful, but you should also consider the process of managing USE flags at this point. You don't need to set much at this time.

As someone mentioned briefly, a good way to start is to choose a profile, which will set some pretty good initial choices. From what you describe, the Desktop profile (for either arch) would be good choice. Before you go adding stuff to your /etc/make.conf file, you can easily get a summary of what is already set by the profile. If you temporarily comment out everything in your make.conf file and:
Code:
emerge --info


...whatever you see there are your defaults. The only things you need in your make.conf are things you want to change. That goes for everything (CFLAGS, USE, FEATURES, etc.). You'll probably want to eventually tweak a lot of it, but you don't need to right away.

As to USE flags:

a) first steps: one of the more important initial steps is to disable the ones in your profile that you don't want. The desktop profile is set up to support both gnome and kde. Some people like to use packages from both; others like to exclusively stick to one, and you may want to disable accordingly. Look the others over.

b) when to set USE flags: in my opinion, it's important to understand that there is no value in setting a USE flag until you happen to emerge a package that uses it. I also think the state of every USE flag of every package on a system should be the result of a conscious choice by the administrator. So I set them as I go. Before I emerge a package, I do it with the --pretend and --verbose options. This tells me what all the USE flags are that are used by the various packages that would be emerged. If I don't know what they mean, I find out (there are various ways -- mine is "euse -i <use_flag>").

c) package-specific USE flags: as a general rule, you only want USE flags in make.conf that you want to apply globally. Some flags are tagged as "global" and some "local", and that's a pretty good initial indicator. Here is a good example: the desktop profile includes the USE flag "imap" (a global USE flag). But if you set this globally you'll end up with an imap server. On all but one of my machines I don't want that, so I disable it in make.conf but set it selectively for some packages (like email clients). Package-by-package settings you make in /etc/portage/. These package-specific settings in /etc/portage are over-rides on anything in make.conf.

So unlike some examples you may have seen :roll: you don't have to explicitly set every USE flag available for a package in /etc/portage/package.use. You only have to set the ones that deviate from what shows up in emerge -pv <package> (which is based on what's in your profile, plus what's in make.conf, plus anything already set in package.use). If you properly allocate these to either make.conf or package.use, you will save yourself a lot of administrative busy-work.

In /etc/make.conf I have 38 USE flags set and 10 disabled. In package.use I have another 8 set and one disabled.
Back to top
View user's profile Send private message
spiffywiffy
n00b
n00b


Joined: 08 May 2007
Posts: 21

PostPosted: Tue May 15, 2007 2:20 pm    Post subject: Reply with quote

Great concise and helpful explanation. Thank you. BTW... euses is great! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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