From d2d4febc89407c9f12ab053753530fa2102531d2 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 27 Nov 2013 10:12:50 -0800 Subject: ref-manual: Added fontcache class and FONT_PACKAGES variable. (From yocto-docs rev: 5d0cd87e45155236cd72b02267d5d081654bc2d3) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 23 +++++++++++++++++++++++ documentation/ref-manual/ref-variables.xml | 15 +++++++++++++++ 2 files changed, 38 insertions(+) (limited to 'documentation') 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 @@ +
+ <filename>fontcache.bbclass</filename> + + + The font cache (fontcache) class generates the + proper post-installation and post-remove (postinst and postrm) + scriptlets for font packages. + These scriptlets call fc-cache (part of + Fontconfig) to add the fonts to the font + information cache. + Since the cache files are architecture-specific, + fc-cache runs using QEMU if the postinst + scriptlets need to be run on the build host during image creation. + + + + If the fonts being installed are in packages other than the main + package, set + FONT_PACKAGES + to include the packages containing the fonts. + +
+
Debian Renaming - <filename>debian.bbclass</filename> 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 @@ + FONT_PACKAGES + + + When a recipe inherits the + fontcache + class, this variable identifies packages that contain fonts + the OpenEmbedded build system installs. + By default, installed fonts appear in the main package + (i.e. ${PN}). + Use this variable if fonts you need appear in a package + other than that main package. + + + + FULL_OPTIMIZATION -- cgit v1.2.3-54-g00ecf