]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
gobject-introspection: fix default search path for girdir
authorChen Qi <Qi.Chen@windriver.com>
Wed, 30 Mar 2022 03:08:45 +0000 (20:08 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Mar 2022 16:46:43 +0000 (17:46 +0100)
commit4bc68b6a8187947516615e47f22a6b16d71c3b37
treedbf659f78e0bf2b21bceca37ed3ec3dfb213fb93
parentd1849a1facd64fa0bcf8336a0ed5fbf71b2e3cb5
gobject-introspection: fix default search path for girdir

When running g-ir-scanner, we get the following error:

  Couldn't find include 'GObject-2.0.gir' (search path:
  '['/usr/lib64', 'gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0',
  '/usr/share/gir-1.0', '/usr/share/gir-1.0']')

This is because g-ir-tool-template.in is not setting girdir correctly.
It's using the prefix instead of the actual girdir.

Note that we don't get such error at do_rootfs time because the extra
directories are speicified. But we will get such error at runtime when
multilib is enabled.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-g-ir-tool-template.in-fix-girdir-path.patch [new file with mode: 0644]
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.72.0.bb