diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-06-17 12:15:52 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-17 16:31:52 +0100 |
commit | 1b8681a8bc6b58c70045861e7e6e9ad0128e4b90 (patch) | |
tree | fd312d60193dc83ca48f26ba961c0dea54936985 | |
parent | a1a3a3b80ef6be77a323b461ba302769e09e0a49 (diff) | |
download | poky-1b8681a8bc6b58c70045861e7e6e9ad0128e4b90.tar.gz |
gobject-introspection: add a patch to fix a build race
(From OE-Core rev: 1d6ffc795fc815509e193b28df3a33cc72bfb31b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-gir-add-a-dependency-for-g-ir-compiler-for-building-.patch b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-gir-add-a-dependency-for-g-ir-compiler-for-building-.patch new file mode 100644 index 0000000000..adb357b5ec --- /dev/null +++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-gir-add-a-dependency-for-g-ir-compiler-for-building-.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 56ba5656258b82dbc069ab3a61e597c931a16a83 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Wed, 17 Jun 2020 11:43:16 +0200 | ||
4 | Subject: [PATCH] gir: add a dependency for g-ir-compiler for building .girs | ||
5 | |||
6 | meson inserts the dependency if the compiler is used directly, but | ||
7 | fails to do so if the compiler is run through a wrapper. This leads | ||
8 | to build race errors between building the compiler and using it. | ||
9 | |||
10 | Fix provided by Quentin Schulz <quentin.schulz@streamunlimited.com> | ||
11 | |||
12 | Upstream-Status: Accepted [https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/228] | ||
13 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
14 | --- | ||
15 | gir/meson.build | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/gir/meson.build b/gir/meson.build | ||
19 | index b37fdb81..557e5517 100644 | ||
20 | --- a/gir/meson.build | ||
21 | +++ b/gir/meson.build | ||
22 | @@ -448,7 +448,7 @@ foreach gir : gir_files | ||
23 | typelibs += custom_target('generate-typelib-@0@'.format(gir).underscorify(), | ||
24 | input: gir, | ||
25 | output: '@BASENAME@.typelib', | ||
26 | - depends: [gobject_gir, ], | ||
27 | + depends: [gobject_gir, gircompiler, ], | ||
28 | command: gircompiler_command, | ||
29 | install: true, | ||
30 | install_dir: typelibdir, | ||
31 | -- | ||
32 | 2.27.0 | ||
33 | |||
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.64.1.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.64.1.bb index 9dfb55e055..7eefdd3e27 100644 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.64.1.bb +++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.64.1.bb | |||
@@ -15,6 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c434e8128a68bedd59b80b2ac1eb1c4a \ | |||
15 | 15 | ||
16 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${@oe.utils.trim_version("${PV}", 2)}/${BPN}-${PV}.tar.xz \ | 16 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${@oe.utils.trim_version("${PV}", 2)}/${BPN}-${PV}.tar.xz \ |
17 | file://0001-giscanner-ignore-error-return-codes-from-ldd-wrapper.patch \ | 17 | file://0001-giscanner-ignore-error-return-codes-from-ldd-wrapper.patch \ |
18 | file://0001-gir-add-a-dependency-for-g-ir-compiler-for-building-.patch \ | ||
18 | " | 19 | " |
19 | 20 | ||
20 | SRC_URI[md5sum] = "3419dfd086efcf83768e0579ab6abd2b" | 21 | SRC_URI[md5sum] = "3419dfd086efcf83768e0579ab6abd2b" |