summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-10-27 13:43:43 +0100
committerSteve Sakoman <steve@sakoman.com>2025-10-31 06:23:13 -0700
commit56aa9e3241480cc72460390fb21c7e179f0dc68f (patch)
tree722178d91732c82ab2433fa9ab0ce1881be52b9f
parentea90d0a5b1efe1d42372d1144bf515c4663744d6 (diff)
downloadpoky-56aa9e3241480cc72460390fb21c7e179f0dc68f.tar.gz
ref-manual/classes.rst: gettext: extend the documentation of the class
Mention the use of USE_NLS, INHIBIT_DEFAULT_DEPS and the cross-canadian class. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 0bbb3eb02881b6ba41d3e77a21345e3520bbedea) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit d877e54f1c85cefc00dd674d60f2db81446bd95a) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--documentation/ref-manual/classes.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 9bf7a3cacf..94a85e3d65 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -829,6 +829,14 @@ software that uses the GNU ``gettext`` internationalization and localization
829system. All recipes building software that use ``gettext`` should inherit this 829system. All recipes building software that use ``gettext`` should inherit this
830class. 830class.
831 831
832This class will configure recipes to build translations *unless*:
833
834- the :term:`USE_NLS` variable is set to ``no``, or
835
836- the :term:`INHIBIT_DEFAULT_DEPS` variable is set and the recipe inheriting
837 the :ref:`ref-classes-gettext` class does not also inherit the
838 :ref:`ref-classes-cross-canadian` class.
839
832.. _ref-classes-gnomebase: 840.. _ref-classes-gnomebase:
833 841
834``gnomebase`` 842``gnomebase``