From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: [PATCH] libgweather: fix build with gobject-introspection 1.80.0
Date: Mon, 29 Apr 2024 13:53:16 +0200 [thread overview]
Message-ID: <20240429115316.3138488-1-alex@linutronix.de> (raw)
gweather build is running a python script build-aux/meson/gen_locations_variant.py
which imports g-i data at build time:
from gi.repository import GLib
Previously this would import the typelib file installed by native
g-i (which would likely not match the cross target, but nvm). New
g-i version no longer installs those files, so the options are:
- run the python script with target python inside qemu
- copy the needed typelib from target sysroot into the native one.
I took the easy way out.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb
index acf288528..e0c8724a3 100644
--- a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb
+++ b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb
@@ -28,3 +28,7 @@ FILES:${PN} += " \
${datadir}/libgweather-4 \
${libdir}/libgweather-4 \
"
+
+do_configure:prepend() {
+ cp -f ${STAGING_LIBDIR}/girepository-1.0/GLib*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/
+}
--
2.39.2
reply other threads:[~2024-04-29 11:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240429115316.3138488-1-alex@linutronix.de \
--to=alex.kanavin@gmail.com \
--cc=alex@linutronix.de \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).