diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-11-27 10:12:50 -0800 | 
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-03 12:53:30 +0000 | 
| commit | d2d4febc89407c9f12ab053753530fa2102531d2 (patch) | |
| tree | f2d5836d2ebd31d7f7b2431791bd9558d1f835f0 /documentation/ref-manual | |
| parent | 37802407f882af7f488a5933409474e6ff4b5f6a (diff) | |
| download | poky-d2d4febc89407c9f12ab053753530fa2102531d2.tar.gz | |
ref-manual: Added fontcache class and FONT_PACKAGES variable.
(From yocto-docs rev: 5d0cd87e45155236cd72b02267d5d081654bc2d3)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
| -rw-r--r-- | documentation/ref-manual/ref-classes.xml | 23 | ||||
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 15 | 
2 files changed, 38 insertions, 0 deletions
| diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 9752767c69..5aae51eef4 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
| @@ -573,6 +573,29 @@ | |||
| 573 | </para> | 573 | </para> | 
| 574 | </section> | 574 | </section> | 
| 575 | 575 | ||
| 576 | <section id='ref-classes-fontcache'> | ||
| 577 | <title><filename>fontcache.bbclass</filename></title> | ||
| 578 | |||
| 579 | <para> | ||
| 580 | The font cache (<filename>fontcache</filename>) class generates the | ||
| 581 | proper post-installation and post-remove (postinst and postrm) | ||
| 582 | scriptlets for font packages. | ||
| 583 | These scriptlets call <filename>fc-cache</filename> (part of | ||
| 584 | <filename>Fontconfig</filename>) to add the fonts to the font | ||
| 585 | information cache. | ||
| 586 | Since the cache files are architecture-specific, | ||
| 587 | <filename>fc-cache</filename> runs using QEMU if the postinst | ||
| 588 | scriptlets need to be run on the build host during image creation. | ||
| 589 | </para> | ||
| 590 | |||
| 591 | <para> | ||
| 592 | If the fonts being installed are in packages other than the main | ||
| 593 | package, set | ||
| 594 | <link linkend='var-FONT_PACKAGES'><filename>FONT_PACKAGES</filename></link> | ||
| 595 | to include the packages containing the fonts. | ||
| 596 | </para> | ||
| 597 | </section> | ||
| 598 | |||
| 576 | <section id='ref-classes-debian'> | 599 | <section id='ref-classes-debian'> | 
| 577 | <title>Debian Renaming - <filename>debian.bbclass</filename></title> | 600 | <title>Debian Renaming - <filename>debian.bbclass</filename></title> | 
| 578 | 601 | ||
| diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 70d510887a..048d44082e 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
| @@ -2065,6 +2065,21 @@ | |||
| 2065 | </glossdef> | 2065 | </glossdef> | 
| 2066 | </glossentry> | 2066 | </glossentry> | 
| 2067 | 2067 | ||
| 2068 | <glossentry id='var-FONT_PACKAGES'><glossterm>FONT_PACKAGES</glossterm> | ||
| 2069 | <glossdef> | ||
| 2070 | <para> | ||
| 2071 | When a recipe inherits the | ||
| 2072 | <link linkend='ref-classes-fontcache'><filename>fontcache</filename></link> | ||
| 2073 | class, this variable identifies packages that contain fonts | ||
| 2074 | the OpenEmbedded build system installs. | ||
| 2075 | By default, installed fonts appear in the main package | ||
| 2076 | (i.e. <filename>${</filename><link linkend='var-PN'><filename>PN</filename></link><filename>}</filename>). | ||
| 2077 | Use this variable if fonts you need appear in a package | ||
| 2078 | other than that main package. | ||
| 2079 | </para> | ||
| 2080 | </glossdef> | ||
| 2081 | </glossentry> | ||
| 2082 | |||
| 2068 | <glossentry id='var-FULL_OPTIMIZATION'><glossterm>FULL_OPTIMIZATION</glossterm> | 2083 | <glossentry id='var-FULL_OPTIMIZATION'><glossterm>FULL_OPTIMIZATION</glossterm> | 
| 2069 | <glossdef> | 2084 | <glossdef> | 
| 2070 | <para> | 2085 | <para> | 
