diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-12-31 09:30:04 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-12-31 10:40:32 -0800 |
commit | 097de1b55fc3cb1189ca690b8961c307ec04c20e (patch) | |
tree | a05da03838ca1bb77e9e6eb386ccaa5840202537 /meta-gnome | |
parent | 0c3d0146a4fb5004d47d333771d013c1c44baf22 (diff) | |
download | meta-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')
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 @@ | |||
1 | From 06240574626eb21af37cf7dde5bf81e892dff467 Mon Sep 17 00:00:00 2001 | ||
2 | From: Emmanuele Bassi <ebassi@gnome.org> | ||
3 | Date: Wed, 5 Oct 2022 22:15:37 +0100 | ||
4 | Subject: [PATCH] build: Use the appropriate dependency object | ||
5 | |||
6 | Just using `link_with` will not ensure that the GOA web extension shared | ||
7 | module is properly built against libgoa-backend and libgoa; the | ||
8 | generated headers must be transitively available by the time we build | ||
9 | the shared module. | ||
10 | |||
11 | Fixes: #226 | ||
12 | Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/commit/fe86bfb0271735c8130367c46536b08dad5c20d8] | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | src/goabackend/meson.build | 3 +-- | ||
16 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
17 | |||
18 | diff --git a/src/goabackend/meson.build b/src/goabackend/meson.build | ||
19 | index 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 | -- | ||
34 | 2.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 | ||
9 | DEPENDS = "gtk+3 gtk+3-native gdk-pixbuf dbus json-glib libxml2 webkitgtk glib-2.0 rest libsecret" | 9 | DEPENDS = "gtk+3 gtk+3-native gdk-pixbuf dbus json-glib libxml2 webkitgtk glib-2.0 rest libsecret" |
10 | 10 | ||
11 | SRC_URI += "file://0001-build-Use-the-appropriate-dependency-object.patch" | ||
11 | SRC_URI[archive.sha256sum] = "5e7859ce4858a6b99d3995ed70527d66e297bb90bbf75ec8780fe9da22c1fcaa" | 12 | SRC_URI[archive.sha256sum] = "5e7859ce4858a6b99d3995ed70527d66e297bb90bbf75ec8780fe9da22c1fcaa" |
12 | 13 | ||
13 | PACKAGECONFIG_SOUP ?= "soup3" | 14 | PACKAGECONFIG_SOUP ?= "soup3" |