/[gentoo]/xml/htdocs/doc/en/handbook/hb-working-use.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-working-use.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.49 Revision 1.50
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-use.xml,v 1.49 2007/10/21 19:16:11 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-use.xml,v 1.50 2010/06/07 09:20:00 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12USE flags are a very important aspect of Gentoo. In this chapter, you learn to 12USE flags are a very important aspect of Gentoo. In this chapter, you learn to
13work with USE flags and understand how USE flags interact with your system. 13work with USE flags and understand how USE flags interact with your system.
14</abstract> 14</abstract>
15 15
16<version>1.38</version> 16<version>1.39</version>
17<date>2007-10-21</date> 17<date>2010-06-07</date>
18 18
19<section> 19<section>
20<title>What are USE flags?</title> 20<title>What are USE flags?</title>
21<subsection> 21<subsection>
22<title>The ideas behind USE flags</title> 22<title>The ideas behind USE flags</title>
133profile is the <path>base</path> profile 133profile is the <path>base</path> profile
134(<path>/usr/portage/profiles/base</path>). 134(<path>/usr/portage/profiles/base</path>).
135</p> 135</p>
136 136
137<p> 137<p>
138Let us take a look at this default setting for the 2004.3 profile: 138Let us take a look at this default setting for the 10.0 profile:
139</p> 139</p>
140 140
141<pre caption="Cumulative make.defaults USE variable for the 2004.3 profile"> 141<pre caption="Cumulative make.defaults USE variable for the 10.0 profile">
142<comment>(This example is the sum of the settings in base, default-linux, 142<comment>(This example is the sum of the settings in base, default/linux,
143 default-linux/x86 and default-linux/x86/2004.3)</comment> 143 default/linux/x86 and default/linux/x86/10.0/)</comment>
144USE="x86 oss apm arts avi berkdb bitmap-fonts crypt cups encode fortran f77 144USE="a52 aac acpi alsa branding cairo cdr dbus dts dvd dvdr emboss encode exif
145 foomaticdb gdbm gif gpm gtk imlib jpeg kde gnome libg++ libwww mad 145fam firefox flac gif gpm gtk hal jpeg lcms ldap libnotify mad mikmod mng mp3
146 mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt 146mp4 mpeg ogg opengl pango pdf png ppds qt3support qt4 sdl spell
147 quicktime readline sdl spell ssl svga tcpd truetype X xml2 xmms xv zlib" 147startup-notification svg tiff truetype vorbis unicode usb X xcb x264 xml
148xulrunner xv xvid"
148</pre> 149</pre>
149 150
150<p> 151<p>
151As you can see, this variable already contains quite a lot of keywords. Do 152As you can see, this variable already contains quite a lot of keywords. Do
152<b>not</b> alter any <path>make.defaults</path> file to tailor 153<b>not</b> alter any <path>make.defaults</path> file to tailor
166For instance, to remove support for KDE and QT but add support for ldap, the 167For instance, to remove support for KDE and QT but add support for ldap, the
167following <c>USE</c> can be defined in <path>/etc/make.conf</path>: 168following <c>USE</c> can be defined in <path>/etc/make.conf</path>:
168</p> 169</p>
169 170
170<pre caption="An example USE setting in /etc/make.conf"> 171<pre caption="An example USE setting in /etc/make.conf">
171USE="-kde -qt3 -qt4 ldap" 172USE="-kde -qt4 ldap"
172</pre> 173</pre>
173 174
174</body> 175</body>
175</subsection> 176</subsection>
176<subsection> 177<subsection>

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

  ViewVC Help
Powered by ViewVC 1.1.20