summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-10-21 21:35:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-10-25 15:25:33 +0100
commit491a90d6e817add7f7d4db5cd23f9a9e080435f3 (patch)
treede4e3dc96ad911111f8749e1e13474a692bec84d
parentd68d0ba16b1d7ae296060748832886bdeef338aa (diff)
downloadpoky-491a90d6e817add7f7d4db5cd23f9a9e080435f3.tar.gz
meson: upgrade to 1.6.0
Detailed release notes at https://mesonbuild.com/Release-notes-for-1-6-0.html. (From OE-Core rev: 24da8fb65a7b62bd2b0c7a60099d30c725df45ab) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch6
-rw-r--r--meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch8
-rw-r--r--meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch2
-rw-r--r--meta/recipes-devtools/meson/meson_1.6.0.bb (renamed from meta/recipes-devtools/meson/meson_1.5.2.bb)2
4 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
index b272fd45b0..dcc8209c31 100644
--- a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
+++ b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
@@ -1,4 +1,4 @@
1From 13e05ca933a572c1caf93372df808a30976f99cd Mon Sep 17 00:00:00 2001 1From 32c4ccfbdc8649f595a79e7fd1bd39d6f8325340 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Tue, 3 Jul 2018 13:59:09 +0100 3Date: Tue, 3 Jul 2018 13:59:09 +0100
4Subject: [PATCH] Make CPU family warnings fatal 4Subject: [PATCH] Make CPU family warnings fatal
@@ -26,10 +26,10 @@ index 86bad9b..9703315 100644
26 endian = literal['endian'] 26 endian = literal['endian']
27 if endian not in ('little', 'big'): 27 if endian not in ('little', 'big'):
28diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py 28diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
29index 484ef45..cf4a3ba 100644 29index 71a2f3a..4cbeabe 100644
30--- a/mesonbuild/environment.py 30--- a/mesonbuild/environment.py
31+++ b/mesonbuild/environment.py 31+++ b/mesonbuild/environment.py
32@@ -389,10 +389,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str: 32@@ -416,10 +416,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
33 if compilers and not any_compiler_has_define(compilers, '__mips64'): 33 if compilers and not any_compiler_has_define(compilers, '__mips64'):
34 trial = 'mips' 34 trial = 'mips'
35 35
diff --git a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
index b4671f591f..23f96f4788 100644
--- a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
+++ b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
@@ -1,4 +1,4 @@
1From 66e350bbbd65e56a0d19c75710f61503e15e24a2 Mon Sep 17 00:00:00 2001 1From 4ff04d388baf9d31efa73a92c0124a8d45b65377 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 19 Nov 2018 14:24:26 +0100 3Date: Mon, 19 Nov 2018 14:24:26 +0100
4Subject: [PATCH] python module: do not manipulate the environment when calling 4Subject: [PATCH] python module: do not manipulate the environment when calling
@@ -11,10 +11,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11 1 file changed, 1 insertion(+), 5 deletions(-) 11 1 file changed, 1 insertion(+), 5 deletions(-)
12 12
13diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py 13diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py
14index 883a29a..52bfbf3 100644 14index fff4aaa..1fde2f6 100644
15--- a/mesonbuild/dependencies/python.py 15--- a/mesonbuild/dependencies/python.py
16+++ b/mesonbuild/dependencies/python.py 16+++ b/mesonbuild/dependencies/python.py
17@@ -399,9 +399,6 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice', 17@@ -400,9 +400,6 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
18 empty.name = 'python' 18 empty.name = 'python'
19 return empty 19 return empty
20 20
@@ -24,7 +24,7 @@ index 883a29a..52bfbf3 100644
24 try: 24 try:
25 return PythonPkgConfigDependency(name, env, kwargs, installation, True) 25 return PythonPkgConfigDependency(name, env, kwargs, installation, True)
26 finally: 26 finally:
27@@ -410,8 +407,7 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice', 27@@ -411,8 +408,7 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
28 os.environ[name] = value 28 os.environ[name] = value
29 elif name in os.environ: 29 elif name in os.environ:
30 del os.environ[name] 30 del os.environ[name]
diff --git a/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch b/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
index 5149d61af4..d3120e84e8 100644
--- a/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
+++ b/meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch
@@ -1,4 +1,4 @@
1From 61430cf9a80e24eb33d72c6eae4e8d536d308e08 Mon Sep 17 00:00:00 2001 1From bcdd72ed1956e0a1b1b725e552fa391c549c2099 Mon Sep 17 00:00:00 2001
2From: Peter Kjellerstedt <pkj@axis.com> 2From: Peter Kjellerstedt <pkj@axis.com>
3Date: Thu, 26 Jul 2018 16:32:49 +0200 3Date: Thu, 26 Jul 2018 16:32:49 +0200
4Subject: [PATCH] Support building allarch recipes again 4Subject: [PATCH] Support building allarch recipes again
diff --git a/meta/recipes-devtools/meson/meson_1.5.2.bb b/meta/recipes-devtools/meson/meson_1.6.0.bb
index beb1751e6f..46127b7a9b 100644
--- a/meta/recipes-devtools/meson/meson_1.5.2.bb
+++ b/meta/recipes-devtools/meson/meson_1.6.0.bb
@@ -15,7 +15,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/meson-${PV}.tar.gz \
15 file://0001-Make-CPU-family-warnings-fatal.patch \ 15 file://0001-Make-CPU-family-warnings-fatal.patch \
16 file://0002-Support-building-allarch-recipes-again.patch \ 16 file://0002-Support-building-allarch-recipes-again.patch \
17 " 17 "
18SRC_URI[sha256sum] = "f955e09ab0d71ef180ae85df65991d58ed8430323de7d77a37e11c9ea630910b" 18SRC_URI[sha256sum] = "999b65f21c03541cf11365489c1fad22e2418bb0c3d50ca61139f2eec09d5496"
19UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)$" 19UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)$"
20 20
21inherit python_setuptools_build_meta github-releases 21inherit python_setuptools_build_meta github-releases