Changes

Jump to: navigation, search

Funtoo Profiles

621 bytes added, 4 years ago
Mix-ins
{{2Col|{{c|xfce}}|USE settings required for merging XFCE.}}
{{TableEnd}}
 
=== Media Device Mix-ins ===
 
Media device mix-ins have been created to support media devices, including external and portable devices, and associated low-level hardware support and hardware-focused codecs. Media devices have been categorized into audio and video categories, and consumer and professional categories. "Consumer" devices are those devices that regular desktop users might typically use, while "professional" devices are those that professionals, hobbyists or enthusiasts would typically use. Here are the new mix-ins for media devices:
 
{{TableStart}}
<tr><th class="active">Mix-in</th><th class="active">Description</th></tr>
<tr><td>{{c|mediadevice-base}}</td><td>Common, universally-supported media devices, like IEEE-1394 (Firewire), CDDA, CDIO. Other mediadevice mix-ins have this as a parent.</td></tr>
<tr><td>{{c|mediadevice-audio-consumer}}</td><td>Consumer audio devices, such as personal portable media players (iOS, iPod, etc.)</td></tr>
<tr><td>{{c|mediadevice-audio-pro}}</td><td>Pro audio support, such as JACK.</td></tr>
<tr><td>{{c|mediadevice-video-consumer}}</td><td>Consumer video support, such as DVD, Blu Ray, V4L</td></tr>
<tr><td>{{c|mediadevice-video-pro}}</td><td>Pro video support, such as dv, dc1394.</td></tr>
{{TableEnd}}
 
=== Media Format Mix-ins ===
 
Media format mix-ins have been created to support media formats for reading, writing, encoding and decoding images, audio and video. They have been organized into a "common" collection, for popular formats, and an "extra" collection, which is intended to include "everything else". Let's look at the new mix-ins:
 
{{TableStart}}
<tr><th class="active">Mix-in</th><th class="active">Description</th></tr>
<tr><td>{{c|mediaformat-video-common}}</td><td>Common (ie. popular) video formats.</td></tr>
<tr><td>{{c|mediaformat-video-extra}}</td><td>More esoteric video formats.</td></tr>
<tr><td>{{c|mediaformat-audio-common}}</td><td>Common (ie. popular) audio formats.</td></tr>
<tr><td>{{c|mediaformat-audio-extra}}</td><td>More esoteric audio formats.</td></tr>
<tr><td>{{c|mediaformat-gfx-common}}</td><td>Common (ie. popular) graphics formats.</td></tr>
<tr><td>{{c|mediaformat-gfx-extra}}</td><td>More esoteric graphics formats.</td></tr>
{{TableEnd}}
 
=== How to Use Them ===
 
Our existing {{c|media}} mix-in still exists, and is still pulled in by the {{c|desktop}} and {{c|workstation}} flavors automatically. It now includes the following parent mix-ins:
 
* {{c|mediadevice-audio-consumer}}
* {{c|mediadevice-video-consumer}}
* {{c|mediaformat-audio-common}}
* {{c|mediaformat-gfx-common}}
* {{c|mediaformat-video-common}}
 
In addition, there is a new {{c|media-pro}} mix-in which needs to be enabled manually, which pulls in the following mix-ins:
 
* {{c|mediadevice-audio-pro}}
* {{c|mediadevice-video-pro}}
 
So typically, you would enable the {{c|desktop}} or {{c|workstation}} flavor, and if you need professional hardware support, you'd also enable the {{c|media-pro}} mix-in. If you needed any additional media formats support, you could enable one or more of the {{c|mediaformat-*-extra}} mix-ins to add the formats you needed. Of course, it's possible to enable only the specific mix-ins you need, and also complement these mix-ins with specific USE variable settings you might require.
=== Setting Profiles ===
gentoo:funtoo/1.0/linux-gnu/mix-ins/media
}}
 
=== Using epro ===
 
Remember that profiles can often be inherited. For example, the <code>desktop</code> flavor inherits the <code>workstation</code> flavor settings, which in turn inherits the <code>X</code> and <code>audio</code> mix-ins. You can view this by using {{c|epro}}:
 
{{console|body=
# ##i## epro show
 
=== ##g##Enabled Profiles##!g##: ===
 
arch: ##c## x86-64bit
build: ##c## current
subarch: ##c## intel64-haswell
flavor: ##c## desktop
mix-ins: ##c## gnome
 
 
=== ##g##All inherited flavors from desktop flavor##!g##: ===
 
##c##workstation (from desktop flavor)
##c##core (from workstation flavor)
##c##minimal (from core flavor)
 
=== ##g##All inherited mix-ins from desktop flavor##!g##: ===
 
##c##X##!c## (from workstation flavor)
##c##audio##!c## (from workstation flavor)
##c##dvd##!c## (from workstation flavor)
##c##media##!c## (from workstation flavor)
##c##mediadevice-audio-consumer##!c## (from media mix-in)
##c##mediadevice-base##!c## (from mediadevice-audio-consumer mix-in)
##c##mediadevice-video-consumer##!c## (from media mix-in)
##c##mediadevice-base##!c## (from mediadevice-video-consumer mix-in)
##c##mediaformat-audio-common##!c## (from media mix-in)
##c##mediaformat-gfx-common##!c## (from media mix-in)
##c##mediaformat-video-common##!c## (from media mix-in)
##c##console-extras##!c## (from workstation flavor)
##c##print##!c## (from desktop flavor)
}}
 
To view available profiles:
{{console|body=
# ##i## epro list
}}
 
Enabled profiles will be highlighted in cyan. Directly enabled profiles will be in bold and have an asterisk {{c|*}} appended. Sub-profiles enabled via inheritance will be highlighted.
 
==== Usage Examples ====
 
{{TableStart}}
{{2Col|Add the mix-ins {{c|gnome}} and {{c|kde}}|{{console|body=# ##i## epro mix-ins +gnome +kde}}}}
{{2Col|Remove a mix-in, for example {{c|gnome}}|{{console|body=# ##i## epro mix-ins -gnome}}}}
{{2Col|Change the profile arch to x86-64bit|{{console|body=# ##i## epro arch x86-64bit}}}}
{{2Col|Change the subarch to {{c|generic_64}}|{{console|body=# ##i## epro subarch generic_64}}}}
{{2Col|Change the system flavor|{{console|body=# ##i## epro flavor desktop}}}}
{{2Col|Get JSON output of profile settings|{{console|body=# ##i## epro show-json}}}}
{{2Col|Get current sub-profile setting in text form|{{console|body=# ##i## epro get [profiletype]}}}}
{{TableEnd}}
== History and Origins ==
Bureaucrats, Administrators, wiki-admins, wiki-staff
6,333
edits

Navigation menu