summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-11-10 20:39:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-11 17:09:16 +0000
commite1691b1c84083a06b9ed44305f854375a8fbab37 (patch)
treea06ed67b91b4ef114d91318ee13c1a95eb4bf20a /meta
parent5afc62d4914f71483435daf7ba45069e9c42a334 (diff)
downloadpoky-e1691b1c84083a06b9ed44305f854375a8fbab37.tar.gz
meson: upgrade 0.59.2 -> 0.60.1
(From OE-Core rev: 687234cbac01608053c14cbab0fba6eecbba1b91) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/meson/meson.inc2
-rw-r--r--meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch53
-rw-r--r--meta/recipes-devtools/meson/meson/disable-rpath-handling.patch14
-rw-r--r--meta/recipes-devtools/meson/meson_0.60.1.bb (renamed from meta/recipes-devtools/meson/meson_0.59.2.bb)0
-rw-r--r--meta/recipes-devtools/meson/nativesdk-meson_0.60.1.bb (renamed from meta/recipes-devtools/meson/nativesdk-meson_0.59.2.bb)0
5 files changed, 33 insertions, 36 deletions
diff --git a/meta/recipes-devtools/meson/meson.inc b/meta/recipes-devtools/meson/meson.inc
index 174ebd9f31..f383ad9f74 100644
--- a/meta/recipes-devtools/meson/meson.inc
+++ b/meta/recipes-devtools/meson/meson.inc
@@ -15,7 +15,7 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P
15 file://0002-Support-building-allarch-recipes-again.patch \ 15 file://0002-Support-building-allarch-recipes-again.patch \
16 file://0001-is_debianlike-always-return-False.patch \ 16 file://0001-is_debianlike-always-return-False.patch \
17 " 17 "
18SRC_URI[sha256sum] = "13dee549a7ba758b7e33ce7719f28d1d337a98d10d378a4779ccc996f5a2fc49" 18SRC_URI[sha256sum] = "5add789c953d984b500858b2851ee3d7add0460cf1a6f852f0a721af17384e13"
19 19
20UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases" 20UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases"
21UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar" 21UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar"
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 fdadc6869b..86abfa9d52 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 2264e67d7c2c22ca634fd26ea8ada6f0344ab280 Mon Sep 17 00:00:00 2001 1From dd5b4a200cd2fdf7fef627c4b6752f90c00b863a 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
@@ -8,36 +8,31 @@ Upstream-Status: Inappropriate [oe-core specific]
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9 9
10--- 10---
11 mesonbuild/modules/python.py | 12 ------------ 11 mesonbuild/modules/python.py | 7 +------
12 1 file changed, 12 deletions(-) 12 1 file changed, 1 insertion(+), 6 deletions(-)
13 13
14diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py 14diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py
15index 422155b..aaf5844 100644 15index f479ab9..b934bc6 100644
16--- a/mesonbuild/modules/python.py 16--- a/mesonbuild/modules/python.py
17+++ b/mesonbuild/modules/python.py 17+++ b/mesonbuild/modules/python.py
18@@ -70,11 +70,6 @@ class PythonDependency(ExternalDependency): 18@@ -239,10 +239,6 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
19 old_pkg_libdir = os.environ.get('PKG_CONFIG_LIBDIR') 19 # If python-X.Y.pc exists in LIBPC, we will try to use it
20 old_pkg_path = os.environ.get('PKG_CONFIG_PATH') 20 def wrap_in_pythons_pc_dir(name: str, env: 'Environment', kwargs: T.Dict[str, T.Any],
21 21 installation: 'PythonInstallation') -> 'ExternalDependency':
22- os.environ.pop('PKG_CONFIG_PATH', None) 22- old_pkg_libdir = os.environ.pop('PKG_CONFIG_LIBDIR', None)
23- 23- old_pkg_path = os.environ.pop('PKG_CONFIG_PATH', None)
24- if pkg_libdir: 24- if pkg_libdir:
25- os.environ['PKG_CONFIG_LIBDIR'] = pkg_libdir 25- os.environ['PKG_CONFIG_LIBDIR'] = pkg_libdir
26- 26 try:
27 try: 27 return PythonPkgConfigDependency(name, env, kwargs, installation)
28 self.pkgdep = PkgConfigDependency(pkg_name, environment, kwargs) 28 finally:
29 mlog.debug(f'Found "{pkg_name}" via pkgconfig lookup in LIBPC ({pkg_libdir})') 29@@ -251,8 +247,7 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
30@@ -83,13 +78,6 @@ class PythonDependency(ExternalDependency): 30 os.environ[name] = value
31 mlog.debug(f'"{pkg_name}" could not be found in LIBPC ({pkg_libdir})') 31 elif name in os.environ:
32 mlog.debug(e) 32 del os.environ[name]
33 33- set_env('PKG_CONFIG_LIBDIR', old_pkg_libdir)
34- if old_pkg_path is not None: 34- set_env('PKG_CONFIG_PATH', old_pkg_path)
35- os.environ['PKG_CONFIG_PATH'] = old_pkg_path 35+ pass
36-
37- if old_pkg_libdir is not None:
38- os.environ['PKG_CONFIG_LIBDIR'] = old_pkg_libdir
39- else:
40- os.environ.pop('PKG_CONFIG_LIBDIR', None)
41 else:
42 mlog.debug(f'"{pkg_name}" could not be found in LIBPC ({pkg_libdir}), this is likely due to a relocated python installation')
43 36
37 candidates.extend([
38 functools.partial(wrap_in_pythons_pc_dir, pkg_name, env, kwargs, installation),
diff --git a/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch b/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch
index 7c766c61b0..7aaed8b4a3 100644
--- a/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch
+++ b/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch
@@ -1,4 +1,4 @@
1From 27bbd3c9d8d86de545fcf6608564a14571c98a61 Mon Sep 17 00:00:00 2001 1From 18600f7a1cddf23aeabd188f86e66983f27ccfe3 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Fri, 23 Nov 2018 15:28:28 +0000 3Date: Fri, 23 Nov 2018 15:28:28 +0000
4Subject: [PATCH] meson: Disable rpath stripping at install time 4Subject: [PATCH] meson: Disable rpath stripping at install time
@@ -10,26 +10,28 @@ is a specific directive to do something differently in the project.
10RP 2018/11/23 10RP 2018/11/23
11 11
12Upstream-Status: Submitted [https://github.com/mesonbuild/meson/issues/2567] 12Upstream-Status: Submitted [https://github.com/mesonbuild/meson/issues/2567]
13
14--- 13---
15 mesonbuild/minstall.py | 7 +++++-- 14 mesonbuild/minstall.py | 7 +++++--
16 1 file changed, 5 insertions(+), 2 deletions(-) 15 1 file changed, 5 insertions(+), 2 deletions(-)
17 16
18diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py 17diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py
19index 212568a..06366d4 100644 18index 7d0da13..17d50db 100644
20--- a/mesonbuild/minstall.py 19--- a/mesonbuild/minstall.py
21+++ b/mesonbuild/minstall.py 20+++ b/mesonbuild/minstall.py
22@@ -653,8 +653,11 @@ class Installer: 21@@ -718,8 +718,11 @@ class Installer:
23 if file_copied: 22 if file_copied:
24 self.did_install_something = True 23 self.did_install_something = True
25 try: 24 try:
26- self.fix_rpath(outname, t.rpath_dirs_to_remove, install_rpath, final_path, 25- self.fix_rpath(outname, t.rpath_dirs_to_remove, install_rpath, final_path,
27- install_name_mappings, verbose=False) 26- install_name_mappings, verbose=False)
28+ if install_rpath: 27+ if install_rpath:
29+ self.fix_rpath(outname, t.rpath_dirs_to_remove, install_rpath, final_path, 28+ self.fix_rpath(outname, t.rpath_dirs_to_remove, install_rpath, final_path,
30+ install_name_mappings, verbose=False) 29+ install_name_mappings, verbose=False)
31+ else: 30+ else:
32+ print("RPATH changes at install time disabled") 31+ print("RPATH changes at install time disabled")
33 except SystemExit as e: 32 except SystemExit as e:
34 if isinstance(e.code, int) and e.code == 0: 33 if isinstance(e.code, int) and e.code == 0:
35 pass 34 pass
35--
362.20.1
37
diff --git a/meta/recipes-devtools/meson/meson_0.59.2.bb b/meta/recipes-devtools/meson/meson_0.60.1.bb
index de9b905c12..de9b905c12 100644
--- a/meta/recipes-devtools/meson/meson_0.59.2.bb
+++ b/meta/recipes-devtools/meson/meson_0.60.1.bb
diff --git a/meta/recipes-devtools/meson/nativesdk-meson_0.59.2.bb b/meta/recipes-devtools/meson/nativesdk-meson_0.60.1.bb
index 7b77041c7e..7b77041c7e 100644
--- a/meta/recipes-devtools/meson/nativesdk-meson_0.59.2.bb
+++ b/meta/recipes-devtools/meson/nativesdk-meson_0.60.1.bb