summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-06-17 12:15:52 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-16 22:28:40 +0100
commitcee8ab3d17ac01ed9de4e9fa74b1ad29aa9d695e (patch)
tree77a6a3562dc56b0084213d71d3ff76697cb398a5 /meta/recipes-gnome
parent968d0a264b379a4c3587046693b12dc10f8547da (diff)
downloadpoky-cee8ab3d17ac01ed9de4e9fa74b1ad29aa9d695e.tar.gz
gobject-introspection: add a patch to fix a build race
(From OE-Core rev: 80b61573fd1509cb46d263d6adb3621c3dee15d1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1d6ffc795fc815509e193b28df3a33cc72bfb31b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r--meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-gir-add-a-dependency-for-g-ir-compiler-for-building-.patch33
-rw-r--r--meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb1
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 @@
1From 56ba5656258b82dbc069ab3a61e597c931a16a83 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 17 Jun 2020 11:43:16 +0200
4Subject: [PATCH] gir: add a dependency for g-ir-compiler for building .girs
5
6meson inserts the dependency if the compiler is used directly, but
7fails to do so if the compiler is run through a wrapper. This leads
8to build race errors between building the compiler and using it.
9
10Fix provided by Quentin Schulz <quentin.schulz@streamunlimited.com>
11
12Upstream-Status: Accepted [https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/228]
13Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14---
15 gir/meson.build | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/gir/meson.build b/gir/meson.build
19index 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--
322.27.0
33
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb
index b1371776af..92b0d1d52f 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb
@@ -22,6 +22,7 @@ SRC_URI = "${GNOME_MIRROR}/${BPN}/${@oe.utils.trim_version("${PV}", 2)}/${BPN}-$
22 file://0001-Port-cross-compilation-support-to-meson.patch \ 22 file://0001-Port-cross-compilation-support-to-meson.patch \
23 file://0001-meson.build-disable-tests-when-cross-compiling.patch \ 23 file://0001-meson.build-disable-tests-when-cross-compiling.patch \
24 file://0001-Fix-build-reproducibility.patch \ 24 file://0001-Fix-build-reproducibility.patch \
25 file://0001-gir-add-a-dependency-for-g-ir-compiler-for-building-.patch \
25 " 26 "
26 27
27SRC_URI[md5sum] = "37278eab3704e42234b6080b8cf241f1" 28SRC_URI[md5sum] = "37278eab3704e42234b6080b8cf241f1"