summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-12-31 09:30:04 -0800
committerKhem Raj <raj.khem@gmail.com>2022-12-31 10:40:32 -0800
commit097de1b55fc3cb1189ca690b8961c307ec04c20e (patch)
treea05da03838ca1bb77e9e6eb386ccaa5840202537 /meta-gnome
parent0c3d0146a4fb5004d47d333771d013c1c44baf22 (diff)
downloadmeta-openembedded-097de1b55fc3cb1189ca690b8961c307ec04c20e.tar.gz
gnome-online-accounts: Fix build race seen on musl systems
Backport a patch to fix correct use of dependency object Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts/0001-build-Use-the-appropriate-dependency-object.patch35
-rw-r--r--meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.46.0.bb1
2 files changed, 36 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts/0001-build-Use-the-appropriate-dependency-object.patch b/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts/0001-build-Use-the-appropriate-dependency-object.patch
new file mode 100644
index 0000000000..838ca1a7d4
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts/0001-build-Use-the-appropriate-dependency-object.patch
@@ -0,0 +1,35 @@
1From 06240574626eb21af37cf7dde5bf81e892dff467 Mon Sep 17 00:00:00 2001
2From: Emmanuele Bassi <ebassi@gnome.org>
3Date: Wed, 5 Oct 2022 22:15:37 +0100
4Subject: [PATCH] build: Use the appropriate dependency object
5
6Just using `link_with` will not ensure that the GOA web extension shared
7module is properly built against libgoa-backend and libgoa; the
8generated headers must be transitively available by the time we build
9the shared module.
10
11Fixes: #226
12Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/commit/fe86bfb0271735c8130367c46536b08dad5c20d8]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 src/goabackend/meson.build | 3 +--
16 1 file changed, 1 insertion(+), 2 deletions(-)
17
18diff --git a/src/goabackend/meson.build b/src/goabackend/meson.build
19index f5382b3..865b2d2 100644
20--- a/src/goabackend/meson.build
21+++ b/src/goabackend/meson.build
22@@ -157,9 +157,8 @@ libgoa_web_extension = shared_module(
23 'goawebextension',
24 libgoawebextension_sources,
25 include_directories: common_incs + [goa_inc],
26- dependencies: deps,
27+ dependencies: [deps, libgoa_backend_dep],
28 c_args: cflags,
29- link_with: libgoa_backend,
30 install: true,
31 install_dir: join_paths(goa_pkglibdir, 'web-extensions')
32 )
33--
342.39.0
35
diff --git a/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.46.0.bb b/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.46.0.bb
index 80cf4969cd..ce02a507da 100644
--- a/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.46.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.46.0.bb
@@ -8,6 +8,7 @@ inherit gnomebase gsettings gobject-introspection gtk-icon-cache vala features_c
8 8
9DEPENDS = "gtk+3 gtk+3-native gdk-pixbuf dbus json-glib libxml2 webkitgtk glib-2.0 rest libsecret" 9DEPENDS = "gtk+3 gtk+3-native gdk-pixbuf dbus json-glib libxml2 webkitgtk glib-2.0 rest libsecret"
10 10
11SRC_URI += "file://0001-build-Use-the-appropriate-dependency-object.patch"
11SRC_URI[archive.sha256sum] = "5e7859ce4858a6b99d3995ed70527d66e297bb90bbf75ec8780fe9da22c1fcaa" 12SRC_URI[archive.sha256sum] = "5e7859ce4858a6b99d3995ed70527d66e297bb90bbf75ec8780fe9da22c1fcaa"
12 13
13PACKAGECONFIG_SOUP ?= "soup3" 14PACKAGECONFIG_SOUP ?= "soup3"