diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2025-10-27 13:43:43 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-11-03 07:17:02 -0800 |
| commit | 7e77ef90161459c69fa17d76844d9d998a5e1c42 (patch) | |
| tree | af640c526ee986124d687ef3e1eea20f1534f91b /documentation/ref-manual | |
| parent | 448d31c10b4a2f57e06c182b89d0449110859d67 (diff) | |
| download | poky-7e77ef90161459c69fa17d76844d9d998a5e1c42.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: b16f19e8004d571e7a6eadfa34983781ba6a7634)
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>
Diffstat (limited to 'documentation/ref-manual')
| -rw-r--r-- | documentation/ref-manual/classes.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index d5d59cdc99..63c756e78e 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
| @@ -913,6 +913,14 @@ software that uses the GNU ``gettext`` internationalization and localization | |||
| 913 | system. All recipes building software that use ``gettext`` should inherit this | 913 | system. All recipes building software that use ``gettext`` should inherit this |
| 914 | class. | 914 | class. |
| 915 | 915 | ||
| 916 | This class will configure recipes to build translations *unless*: | ||
| 917 | |||
| 918 | - the :term:`USE_NLS` variable is set to ``no``, or | ||
| 919 | |||
| 920 | - the :term:`INHIBIT_DEFAULT_DEPS` variable is set and the recipe inheriting | ||
| 921 | the :ref:`ref-classes-gettext` class does not also inherit the | ||
| 922 | :ref:`ref-classes-cross-canadian` class. | ||
| 923 | |||
| 916 | .. _ref-classes-github-releases: | 924 | .. _ref-classes-github-releases: |
| 917 | 925 | ||
| 918 | ``github-releases`` | 926 | ``github-releases`` |
