| 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.29 2005/01/23 08:50:16 swift Exp $ --> |
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 $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>1.26</version> |
11 | <version>1.27</version> |
| 12 | <date>2005-01-23</date> |
12 | <date>2005-02-14</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> |
| 21 | When you are installing Gentoo (or any other distribution, or even operating |
21 | When you are installing Gentoo (or any other distribution, or even operating |
| 22 | system for that matter) you make choices depending on the environment you are |
22 | system for that matter) you make choices depending on the environment you are |
| 23 | working with. A setup for a server differs from a setup for a workstation. |
23 | working with. A setup for a server differs from a setup for a workstation. |
| 24 | A gaming workstation differs from a 3D rendering workstation. |
24 | A gaming workstation differs from a 3D rendering workstation. |
| 25 | </p> |
25 | </p> |
| 26 | |
26 | |
| 27 | <p> |
27 | <p> |
| … | |
… | |
| 358 | options: |
358 | options: |
| 359 | </p> |
359 | </p> |
| 360 | |
360 | |
| 361 | <pre caption="Viewing the used USE-flags"> |
361 | <pre caption="Viewing the used USE-flags"> |
| 362 | # <i>emerge --pretend --verbose mozilla</i> |
362 | # <i>emerge --pretend --verbose mozilla</i> |
| 363 | These are the packages that I would merge, in order: |
363 | These are the packages that I would merge, in order: |
| 364 | |
364 | |
| 365 | Calculating dependencies ...done! |
365 | Calculating dependencies ...done! |
| 366 | [ebuild N ] net-www/mozilla-1.5-r1 +java +crypt -ipv6 -gtk2 +ssl +ldap |
366 | [ebuild N ] net-www/mozilla-1.5-r1 +java +crypt -ipv6 -gtk2 +ssl +ldap |
| 367 | +gnome -debug +mozcalendar -mozaccess -mozxmlterm -moznoirc -moznomail |
367 | +gnome -debug +mozcalendar -mozaccess -mozxmlterm -moznoirc -moznomail |
| 368 | -moznocompose -moznoxft |
368 | -moznocompose -moznoxft |
| 369 | </pre> |
369 | </pre> |
| 370 | |
370 | |
| 371 | <p> |
371 | <p> |
| 372 | <c>emerge</c> isn't the only tool for this job. In fact, we have a tool |
372 | <c>emerge</c> isn't the only tool for this job. In fact, we have a tool |
| 373 | dedicated to package information called <c>etcat</c> which resides in the |
373 | dedicated to package information called <c>equery</c> which resides in the |
| 374 | <c>gentoolkit</c> package. First, install <c>gentoolkit</c>: |
374 | <c>gentoolkit</c> package. First, install <c>gentoolkit</c>: |
| 375 | </p> |
375 | </p> |
| 376 | |
376 | |
| 377 | <pre caption="Installing gentoolkit"> |
377 | <pre caption="Installing gentoolkit"> |
| 378 | # <i>emerge gentoolkit</i> |
378 | # <i>emerge gentoolkit</i> |
| 379 | </pre> |
379 | </pre> |
| 380 | |
380 | |
| 381 | <p> |
381 | <p> |
| 382 | Now run <c>etcat</c> with the <c>uses</c> argument to view the USE-flags of a |
382 | Now run <c>equery</c> with the <c>uses</c> argument to view the USE-flags of a |
| 383 | certain package. For instance, for the <c>gnumeric</c> package: |
383 | certain package. For instance, for the <c>gnumeric</c> package: |
| 384 | </p> |
384 | </p> |
| 385 | |
385 | |
| 386 | <pre caption="Using etcat to view used USE-flags"> |
386 | <pre caption="Using equery to view used USE-flags"> |
| 387 | # <i>etcat uses gnumeric</i> |
387 | # <i>equery uses gnumeric</i> |
| 388 | [ Colour Code : <i>set</i> <comment>unset</comment> ] |
388 | [ Colour Code : <i>set</i> <comment>unset</comment> ] |
| 389 | [ Legend : (U) Col 1 - Current USE flags ] |
389 | [ Legend : (U) Col 1 - Current USE flags ] |
| 390 | [ : (I) Col 2 - Installed With USE flags ] |
390 | [ : (I) Col 2 - Installed With USE flags ] |
| 391 | |
391 | |
| 392 | U I [ Found these USE variables in : app-office/gnumeric-1.2.0 ] |
392 | U I [ Found these USE variables in : app-office/gnumeric-1.2.0 ] |
| 393 | - - <comment>libgda</comment> : Adds GNU Data Access (CORBA wrapper) support for gnumeric |
393 | - - <comment>libgda</comment> : Adds GNU Data Access (CORBA wrapper) support for gnumeric |
| 394 | - - <comment>gnomedb</comment> : unknown |
394 | - - <comment>gnomedb</comment> : unknown |
| 395 | + + <i>python</i> : Adds support/bindings for the Python language |
395 | + + <i>python</i> : Adds support/bindings for the Python language |
| 396 | + + <i>bonobo</i> : Adds support for gnome-base/bonobo (Gnome CORBA interfaces) |
396 | + + <i>bonobo</i> : Adds support for gnome-base/bonobo (Gnome CORBA interfaces) |
| 397 | </pre> |
397 | </pre> |
| 398 | |
398 | |
| 399 | </body> |
399 | </body> |
| 400 | </subsection> |
400 | </subsection> |
| 401 | </section> |
401 | </section> |
| 402 | </sections> |
402 | </sections> |