diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-03-19 18:28:49 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-20 08:46:57 -0700 |
| commit | 054716edca0ed56c171b5cb8d375c6bdf53eaa4b (patch) | |
| tree | 01f23510f49b1e9b437aa6507d635a1a8d91dcea | |
| parent | ed85b606d015b0909969a0e28e49019583ab5328 (diff) | |
| download | meta-openembedded-054716edca0ed56c171b5cb8d375c6bdf53eaa4b.tar.gz | |
libgweather4: Upgrade to 4.4.4
- Fix deprecation warnings [!300]
- Fix introspection annotation for async functions [!318]
- Plug some memory leaks [!321]
- Translation updates
Use GI_TYPELIB_PATH to point to typlib paths in target sysroot
Fixes
| FAILED: data/Locations.bin
| /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/libgweather4/4.4.4/libgweather-4.4.4/build-aux/meson/gen_locations_variant.py ../libgweather-4.4.4/data/Locations.xml data/Locations.bin
| Traceback (most recent call last):
| File "/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/libgweather4/4.4.4/libgweather-4.4.4/build-aux/meson/gen_locations_variant.py", line 7, in <module>
| from gi.repository import GLib
| File "/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/libgweather4/4.4.4/recipe-sysroot-native/usr/lib/python3.13/site-packages/gi/importer.py", line 133, in create_module
| raise ImportError('cannot import name %s, '
| 'introspection typelib not found' % namespace)
| ImportError: cannot import name GLib, introspection typelib not found
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.4.bb (renamed from meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb) | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.4.bb index e0c8724a31..85bc21b5da 100644 --- a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.2.bb +++ b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.4.bb | |||
| @@ -11,11 +11,13 @@ inherit gnomebase gsettings gobject-introspection gettext gi-docgen vala feature | |||
| 11 | REQUIRED_DISTRO_FEATURES = "opengl" | 11 | REQUIRED_DISTRO_FEATURES = "opengl" |
| 12 | 12 | ||
| 13 | SRC_URI += "file://0001-Allow-building-gir-in-cross-environments.patch" | 13 | SRC_URI += "file://0001-Allow-building-gir-in-cross-environments.patch" |
| 14 | SRC_URI[archive.sha256sum] = "a6e427b4770ada48945f3aa906af710fc833cff0d42df91f1828302740d794ec" | 14 | SRC_URI[archive.sha256sum] = "7017677753cdf7d1fdc355e4bfcdb1eba8369793a8df24d241427a939cbf4283" |
| 15 | 15 | ||
| 16 | GTKDOC_MESON_OPTION = "gtk_doc" | 16 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 17 | VALA_MESON_OPTION = "enable_vala" | 17 | VALA_MESON_OPTION = "enable_vala" |
| 18 | 18 | ||
| 19 | export GI_TYPELIB_PATH = "${STAGING_LIBDIR}/girepository-1.0/" | ||
| 20 | |||
| 19 | DEPENDS = " \ | 21 | DEPENDS = " \ |
| 20 | geocode-glib \ | 22 | geocode-glib \ |
| 21 | gtk4 \ | 23 | gtk4 \ |
| @@ -28,7 +30,3 @@ FILES:${PN} += " \ | |||
| 28 | ${datadir}/libgweather-4 \ | 30 | ${datadir}/libgweather-4 \ |
| 29 | ${libdir}/libgweather-4 \ | 31 | ${libdir}/libgweather-4 \ |
| 30 | " | 32 | " |
| 31 | |||
| 32 | do_configure:prepend() { | ||
| 33 | cp -f ${STAGING_LIBDIR}/girepository-1.0/GLib*typelib ${STAGING_LIBDIR_NATIVE}/girepository-1.0/ | ||
| 34 | } | ||
