/[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.27 Revision 1.28
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.27 2005/01/22 01:24:31 cam Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-working-use.xml,v 1.28 2005/01/23 08:47:30 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>1.24</version> 11<version>1.25</version>
12<date>2005-01-22</date> 12<date>2005-01-23</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>
117<title>Using USE-flags</title> 117<title>Using USE-flags</title>
118<subsection> 118<subsection>
119<title>Declare permanent USE-flags</title> 119<title>Declare permanent USE-flags</title>
120<body> 120<body>
121 121
122<p> 122<p>
123In the hope you are convinced of the importance of USE-flags we will now inform 123In the hope you are convinced of the importance of USE-flags we will now inform
124you how to declare USE-flags. 124you how to declare USE-flags.
125</p> 125</p>
126 126
127<p> 127<p>
128As previously mentioned, all USE-flags are declared inside the <c>USE</c> 128As previously mentioned, all USE-flags are declared inside the <c>USE</c>
129variable. To make it easy for users to search and pick USE-flags, we already 129variable. To make it easy for users to search and pick USE-flags, we already
130provide a <e>default</e> USE setting. This setting is a collection of USE-flags 130provide a <e>default</e> USE setting. This setting is a collection of USE-flags
131we think are commonly used by the Gentoo users. This default setting is declared 131we think are commonly used by the Gentoo users. This default setting is declared
132in the <path>make.defaults</path> files part of your profile. Let us take a 132in the <path>make.defaults</path> files part of your profile.
133look at this default setting: 133</p>
134
134</p> 135<p>
136The profile your system listens to is pointed to by the
137<path>/etc/make.profile</path> symlink. Each profile works on top of another,
138larger profile, the end result is therefore the sum of all profiles. The top
139profile is the <path>base</path> profile
140(<path>/usr/portage/profiles/base</path>).
141</p>
135 142
143<p>
144Let us take a look at this default setting:
145</p>
146
136<pre caption="/usr/portage/profiles/default-linux/x86/2004.3/make.defaults USE variable"> 147<pre caption="Cumulated /usr/portage/profiles/default-linux/x86/2004.3/make.defaults USE variable">
137<comment>(This is an example and might have changed since it was taken)</comment> 148<comment>(This example is the sum of the settings in base, default-linux,
149 default-linux/x86 and default-linux/x86/2004.3)</comment>
138USE="x86 oss apm arts avi berkdb bitmap-fonts crypt cups encode fortran f77 150USE="x86 oss apm arts avi berkdb bitmap-fonts crypt cups encode fortran f77
139 foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde gnome libg++ libwww mad 151 foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde gnome libg++ libwww mad
140 mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt 152 mikmod motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt
141 quicktime readline sdl spell ssl svga tcpd truetype X xml2 xmms xv zlib" 153 quicktime readline sdl spell ssl svga tcpd truetype X xml2 xmms xv zlib"
142</pre> 154</pre>
143 155
144<p> 156<p>
145As you can see, this variable already contains quite a lot of keywords. Do 157As you can see, this variable already contains quite a lot of keywords. Do
146<b>not</b> alter any <path>make.defaults</path> file to tailor 158<b>not</b> alter any <path>make.defaults</path> file to tailor
147the <c>USE</c> variable to your needs: changes in this file will be undone when 159the <c>USE</c> variable to your needs: changes in this file will be undone when
148you update Portage! 160you update Portage!
149</p> 161</p>
150 162
151<p> 163<p>
152To change this default setting, you need to add or remove keywords to the 164To change this default setting, you need to add or remove keywords to the

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.20