manuals: add reference to GIR_EXTRA_LIBS_PATH plus minor improvements

Message ID
State New
Headers show
Series manuals: add reference to GIR_EXTRA_LIBS_PATH plus minor improvements | expand

Commit Message

Michael Opdenacker Jan. 6, 2022, 4:25 p.m. UTC
Fixes [YOCTO #14533]

Signed-off-by: Michael Opdenacker <>
 documentation/dev-manual/common-tasks.rst | 7 +++----
 documentation/ref-manual/variables.rst    | 7 +++++++
 2 files changed, 10 insertions(+), 4 deletions(-)


diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
index 9d0c8f33d4..e2f74ada9f 100644
--- a/documentation/dev-manual/common-tasks.rst
+++ b/documentation/dev-manual/common-tasks.rst
@@ -4947,8 +4947,7 @@  the x32 psABI. Here is an example::
 Enabling GObject Introspection Support
-introspection <>`__
+`GObject introspection <>`__
 is the standard mechanism for accessing GObject-based software from
 runtime environments. GObject is a feature of the GLib library that
 provides an object framework for the GNOME desktop and related software.
@@ -4960,7 +4959,7 @@  introspection is the only way to do it.
 This section describes the Yocto Project support for generating and
 packaging GObject introspection data. GObject introspection data is a
-description of the API provided by libraries built on top of GLib
+description of the API provided by libraries built on top of the GLib
 framework, and, in particular, that framework's GObject mechanism.
 GObject Introspection Repository (GIR) files go to ``-dev`` packages,
 ``typelib`` files go to main packages as they are packaged together with
@@ -5006,7 +5005,7 @@  library package involves the following:
    .. note::
       See recipes in the ``oe-core`` repository that use that
-      ``GIR_EXTRA_LIBS_PATH`` variable as an example.
+      :term:`GIR_EXTRA_LIBS_PATH` variable as an example.
 4. Look for any other errors, which probably mean that introspection
    support in a package is not entirely standard, and thus breaks down
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index e81a12030a..be496161bd 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -2667,6 +2667,13 @@  system and gives an overview of their function and contents.
       The minimal command and arguments to run the GNU Debugger.
+      Allows to specify an extra search path for ``.so`` files
+      in GLib related recipes using GObject introspection,
+      and which do not compile without this setting.
+      See the ":ref:`dev-manual/common-tasks:enabling gobject introspection support`"
+      section for details.
       The directory in which a local copy of a Git repository is stored
       when it is cloned.