/[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.30 Revision 1.31
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
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/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-use.xml,v 1.30 2005/02/14 15:49:20 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-use.xml,v 1.31 2005/05/05 00:47:58 vapier Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>1.27</version> 11<version>1.28</version>
12<date>2005-02-14</date> 12<date>2005-05-04</date>
13 13
14<section> 14<section>
15<title>What are USE-flags?</title> 15<title>What are USE-flags?</title>
16<subsection> 16<subsection>
17<title>The ideas behind USE-flags</title> 17<title>The ideas behind USE-flags</title>
18<body> 18<body>
19 19
20<p> 20<p>
21When you are installing Gentoo (or any other distribution, or even operating 21When you are installing Gentoo (or any other distribution, or even operating
22system for that matter) you make choices depending on the environment you are 22system for that matter) you make choices depending on the environment you are
23working with. A setup for a server differs from a setup for a workstation. 23working with. A setup for a server differs from a setup for a workstation.
24A gaming workstation differs from a 3D rendering workstation. 24A gaming workstation differs from a 3D rendering workstation.
25</p> 25</p>
26 26
27<p> 27<p>
222update) your changes will be lost! 222update) your changes will be lost!
223</p> 223</p>
224 224
225<p> 225<p>
226As an example we will temporarily remove java from the USE-setting 226As an example we will temporarily remove java from the USE-setting
227during the installation of mozilla. 227during the installation of mozilla.
228</p> 228</p>
229 229
230<pre caption="Using USE as environment variable"> 230<pre caption="Using USE as environment variable">
231# <i>USE="-java" emerge mozilla</i> 231# <i>USE="-java" emerge mozilla</i>
232</pre> 232</pre>
233 233
234</body> 234</body>
235</subsection> 235</subsection>
236<subsection> 236<subsection>
237<title>Inheriting USE-flags</title> 237<title>Automatic USE Flags</title>
238<body> 238<body>
239 239
240<p> 240<p>
241Some packages don't only listen to USE-flags, but also provide USE-flags. When 241After certain packages are installed, additional USE flags will automatically
242you install such a package, the USE-flag they provide is added to your USE 242be enabled for you if you do not explicitly disable them. To view the list
243setting. To view the list of packages that provide a USE-flag, check 243of packages that trigger automatic USE-flags, check
244<path>/etc/make.profile/use.defaults</path> and the <path>use.defaults</path> 244<path>/etc/make.profile/use.defaults</path> and the <path>use.defaults</path>
245files of the parent profiles. 245files of the parent profiles.
246</p> 246</p>
247 247
248<pre caption="A snippet from /etc/make.profile/use.defaults"> 248<pre caption="A snippet from /etc/make.profile/use.defaults">
249gnome gnome-base/gnome 249gnome gnome-base/gnome
250gtk x11-libs/gtk+ 250gtk x11-libs/gtk+
251qt x11-libs/qt 251qt x11-libs/qt
252kde kde-base/kdebase 252kde kde-base/kdebase
253motif x11-libs/openmotif 253motif x11-libs/openmotif
254</pre> 254</pre>
255 255
256</body> 256</body>
257</subsection> 257</subsection>
258<subsection> 258<subsection>
259<title>Precedence</title> 259<title>Precedence</title>

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.20