diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-01-19 11:40:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-20 11:57:28 +0000 |
commit | 80a6e76eb4cac62721a1a7d63f17bcaab25a6550 (patch) | |
tree | d93fd70a4bda8c7c6a390f0a8a425e0ec5550a52 /meta/recipes-devtools | |
parent | bc0c43cf16d846187e8069938222261fc1838f5f (diff) | |
download | poky-80a6e76eb4cac62721a1a7d63f17bcaab25a6550.tar.gz |
meson: update 0.60.3 -> 0.61.1
Backport patches to epiphany/gcr/g-i to address failures with new meson.
(From OE-Core rev: 2ab302edc33681f94b2cd85b564f6feebe154392)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch | 39 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson_0.61.1.bb (renamed from meta/recipes-devtools/meson/meson_0.60.3.bb) | 8 |
2 files changed, 3 insertions, 44 deletions
diff --git a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch b/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch deleted file mode 100644 index b098c4a123..0000000000 --- a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From bbdd6679e49bcba5ec022b240ac234a87b451e41 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 4 Aug 2017 16:16:41 +0300 | ||
4 | Subject: [PATCH] gtkdoc: add support for a binary wrapper | ||
5 | |||
6 | Make it possible to specify a wrapper for executing binaries | ||
7 | in cross-compiling scenarios. | ||
8 | (usually, some kind of target hardware emulator, such as qemu) | ||
9 | |||
10 | Upstream-Status: Submitted [https://github.com/mesonbuild/meson/pull/9627] | ||
11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
12 | |||
13 | --- | ||
14 | mesonbuild/modules/gnome.py | 5 ++++- | ||
15 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py | ||
18 | index 1c6952d..5a6ff94 100644 | ||
19 | --- a/mesonbuild/modules/gnome.py | ||
20 | +++ b/mesonbuild/modules/gnome.py | ||
21 | @@ -35,7 +35,7 @@ from ..mesonlib import ( | ||
22 | from ..dependencies import Dependency, PkgConfigDependency, InternalDependency | ||
23 | from ..interpreterbase import noPosargs, noKwargs, permittedKwargs, FeatureNew, FeatureNewKwargs, FeatureDeprecatedKwargs, FeatureDeprecated | ||
24 | from ..interpreterbase import typed_kwargs, KwargInfo, ContainerTypeInfo | ||
25 | -from ..programs import ExternalProgram, OverrideProgram | ||
26 | +from ..programs import ExternalProgram, OverrideProgram, EmptyExternalProgram | ||
27 | from ..build import CustomTarget, CustomTargetIndex, GeneratedList | ||
28 | |||
29 | if T.TYPE_CHECKING: | ||
30 | @@ -1103,6 +1103,9 @@ class GnomeModule(ExtensionModule): | ||
31 | args.append(f'--{program_name}={path}') | ||
32 | if namespace: | ||
33 | args.append('--namespace=' + namespace) | ||
34 | + if state.environment.need_exe_wrapper() and not isinstance(state.environment.get_exe_wrapper(), EmptyExternalProgram): | ||
35 | + args.append('--run=' + ' '.join(state.environment.get_exe_wrapper().get_command())) | ||
36 | + | ||
37 | args += self._unpack_args('--htmlargs=', 'html_args', kwargs) | ||
38 | args += self._unpack_args('--scanargs=', 'scan_args', kwargs) | ||
39 | args += self._unpack_args('--scanobjsargs=', 'scanobjs_args', kwargs) | ||
diff --git a/meta/recipes-devtools/meson/meson_0.60.3.bb b/meta/recipes-devtools/meson/meson_0.61.1.bb index 62ca09465b..32b1240012 100644 --- a/meta/recipes-devtools/meson/meson_0.60.3.bb +++ b/meta/recipes-devtools/meson/meson_0.61.1.bb | |||
@@ -8,14 +8,15 @@ LICENSE = "Apache-2.0" | |||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" |
9 | 9 | ||
10 | SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz \ | 10 | SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz \ |
11 | file://0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch \ | 11 | file://meson-setup.py \ |
12 | file://meson-wrapper \ | ||
12 | file://0001-python-module-do-not-manipulate-the-environment-when.patch \ | 13 | file://0001-python-module-do-not-manipulate-the-environment-when.patch \ |
13 | file://disable-rpath-handling.patch \ | 14 | file://disable-rpath-handling.patch \ |
14 | file://0001-Make-CPU-family-warnings-fatal.patch \ | 15 | file://0001-Make-CPU-family-warnings-fatal.patch \ |
15 | file://0002-Support-building-allarch-recipes-again.patch \ | 16 | file://0002-Support-building-allarch-recipes-again.patch \ |
16 | file://0001-is_debianlike-always-return-False.patch \ | 17 | file://0001-is_debianlike-always-return-False.patch \ |
17 | " | 18 | " |
18 | SRC_URI[sha256sum] = "87ca5fa9358a01864529392bd64e027158eb94afca7c7766b1866ef27eccb98e" | 19 | SRC_URI[sha256sum] = "feb2cefb325b437dbf36146df7c6b87688ddff0b0205caa31dc64055c6da410c" |
19 | 20 | ||
20 | UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases" | 21 | UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases" |
21 | UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar" | 22 | UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar" |
@@ -40,9 +41,6 @@ BBCLASSEXTEND = "native nativesdk" | |||
40 | 41 | ||
41 | inherit meson-routines | 42 | inherit meson-routines |
42 | 43 | ||
43 | SRC_URI:append:class-nativesdk = " file://meson-setup.py \ | ||
44 | file://meson-wrapper" | ||
45 | |||
46 | # The cross file logic is similar but not identical to that in meson.bbclass, | 44 | # The cross file logic is similar but not identical to that in meson.bbclass, |
47 | # since it's generating for an SDK rather than a cross-compile. Important | 45 | # since it's generating for an SDK rather than a cross-compile. Important |
48 | # differences are: | 46 | # differences are: |