summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-05-31 17:52:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-04 13:27:31 +0100
commit7b2ae9881f189781d30460dcca4432181fd4bce8 (patch)
treee65cd91f3cb93ec2366e6a30594c71675767cad2 /meta/recipes-devtools
parent3ec2330acf6cf84f9030cd3358813170fb3ceff0 (diff)
downloadpoky-7b2ae9881f189781d30460dcca4432181fd4bce8.tar.gz
meson: upgrade 0.53.2 -> 0.54.2
Drop 0001-mesonbuild-environment.py-check-environment-for-vari.patch as upstream has refactored the code. (From OE-Core rev: 1264edce86cafaa64428bb42844437ac4de7df3a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/meson/meson.inc6
-rw-r--r--meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch10
-rw-r--r--meta/recipes-devtools/meson/meson/0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch41
-rw-r--r--meta/recipes-devtools/meson/meson/0001-mesonbuild-environment.py-check-environment-for-vari.patch26
-rw-r--r--meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch6
-rw-r--r--meta/recipes-devtools/meson/meson/0002-gobject-introspection-determine-g-ir-scanner-and-g-i.patch40
-rw-r--r--meta/recipes-devtools/meson/meson/0003-native_bindir.patch26
-rw-r--r--meta/recipes-devtools/meson/meson/disable-rpath-handling.patch25
-rw-r--r--meta/recipes-devtools/meson/meson_0.54.2.bb (renamed from meta/recipes-devtools/meson/meson_0.53.2.bb)0
-rw-r--r--meta/recipes-devtools/meson/nativesdk-meson_0.54.2.bb (renamed from meta/recipes-devtools/meson/nativesdk-meson_0.53.2.bb)0
10 files changed, 81 insertions, 99 deletions
diff --git a/meta/recipes-devtools/meson/meson.inc b/meta/recipes-devtools/meson/meson.inc
index 0a58c971ae..12bc08648a 100644
--- a/meta/recipes-devtools/meson/meson.inc
+++ b/meta/recipes-devtools/meson/meson.inc
@@ -9,16 +9,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
9 9
10SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz \ 10SRC_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://0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch \
12 file://0002-gobject-introspection-determine-g-ir-scanner-and-g-i.patch \
13 file://0003-native_bindir.patch \ 12 file://0003-native_bindir.patch \
14 file://0001-python-module-do-not-manipulate-the-environment-when.patch \ 13 file://0001-python-module-do-not-manipulate-the-environment-when.patch \
15 file://disable-rpath-handling.patch \ 14 file://disable-rpath-handling.patch \
16 file://cross-prop-default.patch \ 15 file://cross-prop-default.patch \
17 file://0001-mesonbuild-environment.py-check-environment-for-vari.patch \
18 file://0001-modules-python.py-do-not-substitute-python-s-install.patch \ 16 file://0001-modules-python.py-do-not-substitute-python-s-install.patch \
17 file://0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch \
19 " 18 "
20SRC_URI[sha256sum] = "3e8f830f33184397c2eb0b651ec502adb63decb28978bdc84b3558d71284c21f" 19SRC_URI[sha256sum] = "a7716eeae8f8dff002e4147642589ab6496ff839e4376a5aed761f83c1fa0455"
21SRC_URI[md5sum] = "80303535995fcae72bdb887df102b421"
22 20
23SRC_URI_append_class-native = " \ 21SRC_URI_append_class-native = " \
24 file://0001-Make-CPU-family-warnings-fatal.patch \ 22 file://0001-Make-CPU-family-warnings-fatal.patch \
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 9ce31e5489..8b2263588c 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 ee638fd4a299bfc53a2238e9f71ae310c8d97460 Mon Sep 17 00:00:00 2001 1From 830db2c7a136b2446d740c9ca025374352ffd16d 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
@@ -12,10 +12,10 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
12 2 files changed, 2 insertions(+), 4 deletions(-) 12 2 files changed, 2 insertions(+), 4 deletions(-)
13 13
14diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py 14diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
15index 0f277a7..24578ea 100644 15index 17058df..18bbf86 100644
16--- a/mesonbuild/envconfig.py 16--- a/mesonbuild/envconfig.py
17+++ b/mesonbuild/envconfig.py 17+++ b/mesonbuild/envconfig.py
18@@ -192,7 +192,7 @@ class MachineInfo: 18@@ -225,7 +225,7 @@ class MachineInfo:
19 19
20 cpu_family = literal['cpu_family'] 20 cpu_family = literal['cpu_family']
21 if cpu_family not in known_cpu_families: 21 if cpu_family not in known_cpu_families:
@@ -25,10 +25,10 @@ index 0f277a7..24578ea 100644
25 endian = literal['endian'] 25 endian = literal['endian']
26 if endian not in ('little', 'big'): 26 if endian not in ('little', 'big'):
27diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py 27diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
28index dc8b14f..3aab71e 100644 28index a2f78a4..59fcb07 100644
29--- a/mesonbuild/environment.py 29--- a/mesonbuild/environment.py
30+++ b/mesonbuild/environment.py 30+++ b/mesonbuild/environment.py
31@@ -354,9 +354,7 @@ def detect_cpu_family(compilers: CompilersDict) -> str: 31@@ -364,9 +364,7 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
32 trial = 'parisc' 32 trial = 'parisc'
33 33
34 if trial not in known_cpu_families: 34 if trial not in known_cpu_families:
diff --git a/meta/recipes-devtools/meson/meson/0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch b/meta/recipes-devtools/meson/meson/0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch
new file mode 100644
index 0000000000..35c18f0785
--- /dev/null
+++ b/meta/recipes-devtools/meson/meson/0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch
@@ -0,0 +1,41 @@
1From 7be634fa9705d0367f48a91305f9acb642ff0a11 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 27 May 2020 16:43:05 +0000
4Subject: [PATCH] gnome.py: prefix g-i paths with PKG_CONFIG_SYSROOT_DIR
5
6When using sysroots for builds, the standard target paths for the
7tools need to be prefixed (pkg-config is not clever enough to
8determine when a custom variable is a path)
9
10Upstream-Status: Pending
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12---
13 mesonbuild/modules/gnome.py | 8 ++++----
14 1 file changed, 4 insertions(+), 4 deletions(-)
15
16diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
17index 89d5d5d..d75f2e5 100644
18--- a/mesonbuild/modules/gnome.py
19+++ b/mesonbuild/modules/gnome.py
20@@ -739,17 +739,17 @@ class GnomeModule(ExtensionModule):
21 if giscanner.found():
22 giscanner_path = giscanner.get_command()[0]
23 if not any(x in giscanner_path for x in gi_util_dirs_check):
24- giscanner = self.gir_dep.get_pkgconfig_variable('g_ir_scanner', {})
25+ giscanner = os.environ['PKG_CONFIG_SYSROOT_DIR'] + self.gir_dep.get_pkgconfig_variable('g_ir_scanner', {})
26 else:
27- giscanner = self.gir_dep.get_pkgconfig_variable('g_ir_scanner', {})
28+ giscanner = os.environ['PKG_CONFIG_SYSROOT_DIR'] + self.gir_dep.get_pkgconfig_variable('g_ir_scanner', {})
29
30 gicompiler = self.interpreter.find_program_impl('g-ir-compiler')
31 if gicompiler.found():
32 gicompiler_path = gicompiler.get_command()[0]
33 if not any(x in gicompiler_path for x in gi_util_dirs_check):
34- gicompiler = self.gir_dep.get_pkgconfig_variable('g_ir_compiler', {})
35+ gicompiler = os.environ['PKG_CONFIG_SYSROOT_DIR'] + self.gir_dep.get_pkgconfig_variable('g_ir_compiler', {})
36 else:
37- gicompiler = self.gir_dep.get_pkgconfig_variable('g_ir_compiler', {})
38+ gicompiler = os.environ['PKG_CONFIG_SYSROOT_DIR'] + self.gir_dep.get_pkgconfig_variable('g_ir_compiler', {})
39
40 ns = kwargs.pop('namespace')
41 nsversion = kwargs.pop('nsversion')
diff --git a/meta/recipes-devtools/meson/meson/0001-mesonbuild-environment.py-check-environment-for-vari.patch b/meta/recipes-devtools/meson/meson/0001-mesonbuild-environment.py-check-environment-for-vari.patch
deleted file mode 100644
index f4456235fe..0000000000
--- a/meta/recipes-devtools/meson/meson/0001-mesonbuild-environment.py-check-environment-for-vari.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From a72dc2b1cddcf180ce782860896deae0b12d5000 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 25 Mar 2019 18:52:48 +0100
4Subject: [PATCH] mesonbuild/environment.py: check environment for various
5 binaries
6
7Upstream-Status: Inappropriate [oe-core specific]
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9
10---
11 mesonbuild/environment.py | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
15index 9a029f4..0cfdf9c 100644
16--- a/mesonbuild/environment.py
17+++ b/mesonbuild/environment.py
18@@ -448,7 +448,7 @@ class Environment:
19 config = MesonConfigFile.from_config_parser(
20 coredata.load_configs(self.coredata.cross_files))
21 properties.host = Properties(config.get('properties', {}), False)
22- binaries.host = BinaryTable(config.get('binaries', {}), False)
23+ binaries.host = BinaryTable(config.get('binaries', {}), True)
24 if 'host_machine' in config:
25 machines.host = MachineInfo.from_literal(config['host_machine'])
26 if 'target_machine' in config:
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 ce18660756..18517a6e26 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 9c221c74bd306dfa6fec22c8f156eb9d4e4f7fcb Mon Sep 17 00:00:00 2001 1From 45df8f0a71c6b60cb98a336f8690af04965dfa9b 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
@@ -13,10 +13,10 @@ Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
13 1 file changed, 1 insertion(+) 13 1 file changed, 1 insertion(+)
14 14
15diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py 15diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
16index 24578ea..216e71f 100644 16index 18bbf86..e76315e 100644
17--- a/mesonbuild/envconfig.py 17--- a/mesonbuild/envconfig.py
18+++ b/mesonbuild/envconfig.py 18+++ b/mesonbuild/envconfig.py
19@@ -36,6 +36,7 @@ _T = typing.TypeVar('_T') 19@@ -36,6 +36,7 @@ _T = T.TypeVar('_T')
20 20
21 21
22 known_cpu_families = ( 22 known_cpu_families = (
diff --git a/meta/recipes-devtools/meson/meson/0002-gobject-introspection-determine-g-ir-scanner-and-g-i.patch b/meta/recipes-devtools/meson/meson/0002-gobject-introspection-determine-g-ir-scanner-and-g-i.patch
deleted file mode 100644
index 61b26bb883..0000000000
--- a/meta/recipes-devtools/meson/meson/0002-gobject-introspection-determine-g-ir-scanner-and-g-i.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 9ccaed380780178c4dab3a681f652ac7cd27452d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 4 Aug 2017 16:18:47 +0300
4Subject: [PATCH] gobject-introspection: determine g-ir-scanner and
5 g-ir-compiler paths from pkgconfig
6
7Do not hardcode the name of those binaries; gobject-introspection
8provides them via pkgconfig, and they can be set to something else
9(for example when cross-compiling).
10
11Upstream-Status: Pending
12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13
14---
15 mesonbuild/modules/gnome.py | 6 +++---
16 1 file changed, 3 insertions(+), 3 deletions(-)
17
18diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
19index 7c5a363..0002498 100644
20--- a/mesonbuild/modules/gnome.py
21+++ b/mesonbuild/modules/gnome.py
22@@ -744,15 +744,15 @@ class GnomeModule(ExtensionModule):
23 if kwargs.get('install_dir'):
24 raise MesonException('install_dir is not supported with generate_gir(), see "install_dir_gir" and "install_dir_typelib"')
25
26- giscanner = self.interpreter.find_program_impl('g-ir-scanner')
27- gicompiler = self.interpreter.find_program_impl('g-ir-compiler')
28-
29 girtargets = [self._unwrap_gir_target(arg, state) for arg in args]
30
31 if len(girtargets) > 1 and any([isinstance(el, build.Executable) for el in girtargets]):
32 raise MesonException('generate_gir only accepts a single argument when one of the arguments is an executable')
33
34 self.gir_dep, pkgargs = self._get_gir_dep(state)
35+ giscanner = os.environ['PKG_CONFIG_SYSROOT_DIR'] + self.gir_dep.get_pkgconfig_variable('g_ir_scanner', {})
36+ gicompiler = os.environ['PKG_CONFIG_SYSROOT_DIR'] + self.gir_dep.get_pkgconfig_variable('g_ir_compiler', {})
37+
38
39 ns = kwargs.pop('namespace')
40 nsversion = kwargs.pop('nsversion')
diff --git a/meta/recipes-devtools/meson/meson/0003-native_bindir.patch b/meta/recipes-devtools/meson/meson/0003-native_bindir.patch
index dc822fb1fc..fb119ae852 100644
--- a/meta/recipes-devtools/meson/meson/0003-native_bindir.patch
+++ b/meta/recipes-devtools/meson/meson/0003-native_bindir.patch
@@ -1,4 +1,4 @@
1From e76726321067748362b39937bd1e663a1a948ad5 Mon Sep 17 00:00:00 2001 1From da2091f6dfe978fc6140fc2d01bcafbbfae8d8db Mon Sep 17 00:00:00 2001
2From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> 2From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
3Date: Wed, 15 Nov 2017 15:05:01 +0100 3Date: Wed, 15 Nov 2017 15:05:01 +0100
4Subject: [PATCH] native_bindir 4Subject: [PATCH] native_bindir
@@ -22,10 +22,10 @@ Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
22 2 files changed, 14 insertions(+), 11 deletions(-) 22 2 files changed, 14 insertions(+), 11 deletions(-)
23 23
24diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py 24diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py
25index 40e304c..4b687df 100644 25index 50f4179..e1529d8 100644
26--- a/mesonbuild/dependencies/base.py 26--- a/mesonbuild/dependencies/base.py
27+++ b/mesonbuild/dependencies/base.py 27+++ b/mesonbuild/dependencies/base.py
28@@ -184,7 +184,7 @@ class Dependency: 28@@ -157,7 +157,7 @@ class Dependency:
29 def get_exe_args(self, compiler): 29 def get_exe_args(self, compiler):
30 return [] 30 return []
31 31
@@ -34,16 +34,16 @@ index 40e304c..4b687df 100644
34 raise DependencyException('{!r} is not a pkgconfig dependency'.format(self.name)) 34 raise DependencyException('{!r} is not a pkgconfig dependency'.format(self.name))
35 35
36 def get_configtool_variable(self, variable_name): 36 def get_configtool_variable(self, variable_name):
37@@ -247,7 +247,7 @@ class InternalDependency(Dependency): 37@@ -225,7 +225,7 @@ class InternalDependency(Dependency):
38 self.sources = sources
39 self.ext_deps = ext_deps 38 self.ext_deps = ext_deps
39 self.variables = variables
40 40
41- def get_pkgconfig_variable(self, variable_name, kwargs): 41- def get_pkgconfig_variable(self, variable_name, kwargs):
42+ def get_pkgconfig_variable(self, variable_name, kwargs, use_native=False): 42+ def get_pkgconfig_variable(self, variable_name, kwargs, use_native=False):
43 raise DependencyException('Method "get_pkgconfig_variable()" is ' 43 raise DependencyException('Method "get_pkgconfig_variable()" is '
44 'invalid for an internal dependency') 44 'invalid for an internal dependency')
45 45
46@@ -673,15 +673,18 @@ class PkgConfigDependency(ExternalDependency): 46@@ -633,15 +633,18 @@ class PkgConfigDependency(ExternalDependency):
47 return s.format(self.__class__.__name__, self.name, self.is_found, 47 return s.format(self.__class__.__name__, self.name, self.is_found,
48 self.version_reqs) 48 self.version_reqs)
49 49
@@ -65,7 +65,7 @@ index 40e304c..4b687df 100644
65 # Always copy the environment since we're going to modify it 65 # Always copy the environment since we're going to modify it
66 # with pkg-config variables 66 # with pkg-config variables
67 if env is None: 67 if env is None:
68@@ -701,7 +704,7 @@ class PkgConfigDependency(ExternalDependency): 68@@ -667,7 +670,7 @@ class PkgConfigDependency(ExternalDependency):
69 targs = tuple(args) 69 targs = tuple(args)
70 cache = PkgConfigDependency.pkgbin_cache 70 cache = PkgConfigDependency.pkgbin_cache
71 if (self.pkgbin, targs, fenv) not in cache: 71 if (self.pkgbin, targs, fenv) not in cache:
@@ -74,7 +74,7 @@ index 40e304c..4b687df 100644
74 return cache[(self.pkgbin, targs, fenv)] 74 return cache[(self.pkgbin, targs, fenv)]
75 75
76 def _convert_mingw_paths(self, args: T.List[str]) -> T.List[str]: 76 def _convert_mingw_paths(self, args: T.List[str]) -> T.List[str]:
77@@ -907,7 +910,7 @@ class PkgConfigDependency(ExternalDependency): 77@@ -876,7 +879,7 @@ class PkgConfigDependency(ExternalDependency):
78 (self.name, out_raw)) 78 (self.name, out_raw))
79 self.link_args, self.raw_link_args = self._search_libs(out, out_raw) 79 self.link_args, self.raw_link_args = self._search_libs(out, out_raw)
80 80
@@ -83,7 +83,7 @@ index 40e304c..4b687df 100644
83 options = ['--variable=' + variable_name, self.name] 83 options = ['--variable=' + variable_name, self.name]
84 84
85 if 'define_variable' in kwargs: 85 if 'define_variable' in kwargs:
86@@ -920,7 +923,7 @@ class PkgConfigDependency(ExternalDependency): 86@@ -889,7 +892,7 @@ class PkgConfigDependency(ExternalDependency):
87 87
88 options = ['--define-variable=' + '='.join(definition)] + options 88 options = ['--define-variable=' + '='.join(definition)] + options
89 89
@@ -93,10 +93,10 @@ index 40e304c..4b687df 100644
93 if ret != 0: 93 if ret != 0:
94 if self.required: 94 if self.required:
95diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py 95diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py
96index da411ef..856506a 100644 96index 741f0b8..134dd54 100644
97--- a/mesonbuild/dependencies/ui.py 97--- a/mesonbuild/dependencies/ui.py
98+++ b/mesonbuild/dependencies/ui.py 98+++ b/mesonbuild/dependencies/ui.py
99@@ -330,7 +330,7 @@ class QtBaseDependency(ExternalDependency): 99@@ -320,7 +320,7 @@ class QtBaseDependency(ExternalDependency):
100 self.bindir = self.get_pkgconfig_host_bins(core) 100 self.bindir = self.get_pkgconfig_host_bins(core)
101 if not self.bindir: 101 if not self.bindir:
102 # If exec_prefix is not defined, the pkg-config file is broken 102 # If exec_prefix is not defined, the pkg-config file is broken
@@ -105,7 +105,7 @@ index da411ef..856506a 100644
105 if prefix: 105 if prefix:
106 self.bindir = os.path.join(prefix, 'bin') 106 self.bindir = os.path.join(prefix, 'bin')
107 107
108@@ -508,7 +508,7 @@ class Qt4Dependency(QtBaseDependency): 108@@ -524,7 +524,7 @@ class Qt4Dependency(QtBaseDependency):
109 applications = ['moc', 'uic', 'rcc', 'lupdate', 'lrelease'] 109 applications = ['moc', 'uic', 'rcc', 'lupdate', 'lrelease']
110 for application in applications: 110 for application in applications:
111 try: 111 try:
@@ -114,7 +114,7 @@ index da411ef..856506a 100644
114 except MesonException: 114 except MesonException:
115 pass 115 pass
116 116
117@@ -518,7 +518,7 @@ class Qt5Dependency(QtBaseDependency): 117@@ -534,7 +534,7 @@ class Qt5Dependency(QtBaseDependency):
118 QtBaseDependency.__init__(self, 'qt5', env, kwargs) 118 QtBaseDependency.__init__(self, 'qt5', env, kwargs)
119 119
120 def get_pkgconfig_host_bins(self, core): 120 def get_pkgconfig_host_bins(self, core):
diff --git a/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch b/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch
index 4b1fb57dd4..38e50d72f4 100644
--- a/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch
+++ b/meta/recipes-devtools/meson/meson/disable-rpath-handling.patch
@@ -1,4 +1,9 @@
1We need to allow our rpaths generated through the compiler flags to make it into 1From 3af10fa8cd4e97181288d72227dea712290fd5e6 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Fri, 23 Nov 2018 15:28:28 +0000
4Subject: [PATCH] meson: Disable rpath stripping at install time
5
6We need to allow our rpaths generated through the compiler flags to make it into
2our binaries. Therefore disable the meson manipulations of these unless there 7our binaries. Therefore disable the meson manipulations of these unless there
3is a specific directive to do something differently in the project. 8is a specific directive to do something differently in the project.
4 9
@@ -6,13 +11,17 @@ RP 2018/11/23
6 11
7Upstream-Status: Submitted [https://github.com/mesonbuild/meson/issues/2567] 12Upstream-Status: Submitted [https://github.com/mesonbuild/meson/issues/2567]
8 13
9Index: meson-0.47.2/mesonbuild/minstall.py 14---
10=================================================================== 15 mesonbuild/minstall.py | 7 +++++--
11--- meson-0.47.2.orig/mesonbuild/minstall.py 16 1 file changed, 5 insertions(+), 2 deletions(-)
12+++ meson-0.47.2/mesonbuild/minstall.py 17
13@@ -486,8 +486,11 @@ class Installer: 18diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py
14 printed_symlink_error = True 19index ace0569..85bd8df 100644
15 if os.path.isfile(outname): 20--- a/mesonbuild/minstall.py
21+++ b/mesonbuild/minstall.py
22@@ -508,8 +508,11 @@ class Installer:
23 if file_copied:
24 self.did_install_something = True
16 try: 25 try:
17- depfixer.fix_rpath(outname, install_rpath, final_path, 26- depfixer.fix_rpath(outname, install_rpath, final_path,
18- install_name_mappings, verbose=False) 27- install_name_mappings, verbose=False)
diff --git a/meta/recipes-devtools/meson/meson_0.53.2.bb b/meta/recipes-devtools/meson/meson_0.54.2.bb
index de9b905c12..de9b905c12 100644
--- a/meta/recipes-devtools/meson/meson_0.53.2.bb
+++ b/meta/recipes-devtools/meson/meson_0.54.2.bb
diff --git a/meta/recipes-devtools/meson/nativesdk-meson_0.53.2.bb b/meta/recipes-devtools/meson/nativesdk-meson_0.54.2.bb
index 67add2c25e..67add2c25e 100644
--- a/meta/recipes-devtools/meson/nativesdk-meson_0.53.2.bb
+++ b/meta/recipes-devtools/meson/nativesdk-meson_0.54.2.bb