diff options
-rw-r--r-- | meta/recipes-devtools/meson/meson.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0001-is_debianlike-always-return-False.patch | 26 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0001-modules-python.py-do-not-substitute-python-s-install.patch | 41 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson_0.59.2.bb (renamed from meta/recipes-devtools/meson/meson_0.59.1.bb) | 0 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/nativesdk-meson_0.59.2.bb (renamed from meta/recipes-devtools/meson/nativesdk-meson_0.59.1.bb) | 0 |
5 files changed, 28 insertions, 43 deletions
diff --git a/meta/recipes-devtools/meson/meson.inc b/meta/recipes-devtools/meson/meson.inc index c83ea406f0..174ebd9f31 100644 --- a/meta/recipes-devtools/meson/meson.inc +++ b/meta/recipes-devtools/meson/meson.inc | |||
@@ -11,11 +11,11 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P | |||
11 | file://0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch \ | 11 | file://0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch \ |
12 | file://0001-python-module-do-not-manipulate-the-environment-when.patch \ | 12 | file://0001-python-module-do-not-manipulate-the-environment-when.patch \ |
13 | file://disable-rpath-handling.patch \ | 13 | file://disable-rpath-handling.patch \ |
14 | file://0001-modules-python.py-do-not-substitute-python-s-install.patch \ | ||
15 | file://0001-Make-CPU-family-warnings-fatal.patch \ | 14 | file://0001-Make-CPU-family-warnings-fatal.patch \ |
16 | 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 \ | ||
17 | " | 17 | " |
18 | SRC_URI[sha256sum] = "db586a451650d46bbe10984a87b79d9bcdc1caebf38d8e189f8848f8d502356d" | 18 | SRC_URI[sha256sum] = "13dee549a7ba758b7e33ce7719f28d1d337a98d10d378a4779ccc996f5a2fc49" |
19 | 19 | ||
20 | UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases" | 20 | UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases" |
21 | UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar" | 21 | UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar" |
diff --git a/meta/recipes-devtools/meson/meson/0001-is_debianlike-always-return-False.patch b/meta/recipes-devtools/meson/meson/0001-is_debianlike-always-return-False.patch new file mode 100644 index 0000000000..83c4782a61 --- /dev/null +++ b/meta/recipes-devtools/meson/meson/0001-is_debianlike-always-return-False.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 667b9ede638677fb37911306937ea62f05897581 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Mon, 18 Oct 2021 15:55:59 +0200 | ||
4 | Subject: [PATCH] is_debianlike(): always return False | ||
5 | |||
6 | Otherwise, host contamination happens. | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe-core specific] | ||
9 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
10 | --- | ||
11 | mesonbuild/mesonlib/universal.py | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/mesonbuild/mesonlib/universal.py b/mesonbuild/mesonlib/universal.py | ||
15 | index d670d04..47d1b52 100644 | ||
16 | --- a/mesonbuild/mesonlib/universal.py | ||
17 | +++ b/mesonbuild/mesonlib/universal.py | ||
18 | @@ -651,7 +651,7 @@ def is_cygwin() -> bool: | ||
19 | |||
20 | |||
21 | def is_debianlike() -> bool: | ||
22 | - return os.path.isfile('/etc/debian_version') | ||
23 | + return False | ||
24 | |||
25 | |||
26 | def is_dragonflybsd() -> bool: | ||
diff --git a/meta/recipes-devtools/meson/meson/0001-modules-python.py-do-not-substitute-python-s-install.patch b/meta/recipes-devtools/meson/meson/0001-modules-python.py-do-not-substitute-python-s-install.patch deleted file mode 100644 index 231414fcb6..0000000000 --- a/meta/recipes-devtools/meson/meson/0001-modules-python.py-do-not-substitute-python-s-install.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From f8f67c8d5c3f374b1e30e2d40cb56a79f0544471 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 18 Apr 2019 17:36:11 +0200 | ||
4 | Subject: [PATCH] modules/python.py: do not substitute python's install prefix | ||
5 | with meson's | ||
6 | |||
7 | Not sure why this is being done, but it | ||
8 | a) relies on Python's internal variable substitution which may break in the future | ||
9 | b) shouldn't be necessary as Python's prefix ought to be correct in the first place | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
13 | |||
14 | --- | ||
15 | mesonbuild/modules/python.py | 6 +++--- | ||
16 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
17 | |||
18 | diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py | ||
19 | index eda70ce..18edd15 100644 | ||
20 | --- a/mesonbuild/modules/python.py | ||
21 | +++ b/mesonbuild/modules/python.py | ||
22 | @@ -251,7 +251,7 @@ INTROSPECT_COMMAND = '''import sysconfig | ||
23 | import json | ||
24 | import sys | ||
25 | |||
26 | -install_paths = sysconfig.get_paths(scheme='posix_prefix', vars={'base': '', 'platbase': '', 'installed_base': ''}) | ||
27 | +install_paths = sysconfig.get_paths(scheme='posix_prefix') | ||
28 | |||
29 | def links_against_libpython(): | ||
30 | from distutils.core import Distribution, Extension | ||
31 | @@ -280,8 +280,8 @@ class PythonInstallation(ExternalProgramHolder): | ||
32 | self.variables = info['variables'] | ||
33 | self.paths = info['paths'] | ||
34 | install_paths = info['install_paths'] | ||
35 | - self.platlib_install_path = os.path.join(prefix, install_paths['platlib'][1:]) | ||
36 | - self.purelib_install_path = os.path.join(prefix, install_paths['purelib'][1:]) | ||
37 | + self.platlib_install_path = install_paths['platlib'] | ||
38 | + self.purelib_install_path = install_paths['purelib'] | ||
39 | self.version = info['version'] | ||
40 | self.platform = info['platform'] | ||
41 | self.is_pypy = info['is_pypy'] | ||
diff --git a/meta/recipes-devtools/meson/meson_0.59.1.bb b/meta/recipes-devtools/meson/meson_0.59.2.bb index de9b905c12..de9b905c12 100644 --- a/meta/recipes-devtools/meson/meson_0.59.1.bb +++ b/meta/recipes-devtools/meson/meson_0.59.2.bb | |||
diff --git a/meta/recipes-devtools/meson/nativesdk-meson_0.59.1.bb b/meta/recipes-devtools/meson/nativesdk-meson_0.59.2.bb index 0e76cc78f8..0e76cc78f8 100644 --- a/meta/recipes-devtools/meson/nativesdk-meson_0.59.1.bb +++ b/meta/recipes-devtools/meson/nativesdk-meson_0.59.2.bb | |||