ref-manual: Added the gtk-immodules-cache class and GTKIMMODULES_PACKAGES variable.

(From yocto-docs rev: 2c5476591e932951ed77c0b09265610cd102e2c7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2013-12-02 08:02:38 -06:00 committed by Richard Purdie
parent 5a5833a437
commit 312682c59f
2 changed files with 41 additions and 0 deletions

View File

@ -746,6 +746,31 @@
</para>
</section>
<section id='ref-classes-gtk-immodules-cache'>
<title><filename>gtk-immodules-cache.bbclass</filename></title>
<para>
The GIMP Toolkit input method modules
(<filename>gtk-immodules-cache</filename>) class
generates the proper post-install and post-remove (postinst/postrm)
scriptlets for packages that install GTK+ input method modules for
virtual keyboards.
These scriptlets call <filename>gtk-update-icon-cache</filename> to add
the input method modules to the cache.
Since the cache files are architecture-specific,
<filename>gtk-update-icon-cache</filename> is run using QEMU if the
postinst scriptlets need to be run on the build host during image
creation.
</para>
<para>
If the input method modules being installed are in packages other than
the main package, set
<link linkend='var-GTKIMMODULES_PACKAGES'><filename>GTKIMMODULES_PACKAGES</filename></link>
to include the packages containing the modules.
</para>
</section>
<section id='ref-classes-mime'>
<title><filename>mime.bbclass</filename></title>

View File

@ -2205,6 +2205,22 @@
</glossdef>
</glossentry>
<glossentry id='var-GTKIMMODULES_PACKAGES'><glossterm>GTKIMMODULES_PACKAGES</glossterm>
<glossdef>
<para>
Includes the packages that contain the GIMP Toolkit input
method modules being installed when the modules are in
packages other than the main package.
</para>
<para>
See the
<link linkend='ref-classes-gtk-immodules-cache'><filename>gtk-immodules-cache</filename></link>
class for more information on how this variable is used.
</para>
</glossdef>
</glossentry>
</glossdiv>
<glossdiv id='var-glossary-h'><title>H</title>