diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-05-31 17:52:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-04 13:27:31 +0100 |
commit | 7b2ae9881f189781d30460dcca4432181fd4bce8 (patch) | |
tree | e65cd91f3cb93ec2366e6a30594c71675767cad2 /meta/recipes-devtools | |
parent | 3ec2330acf6cf84f9030cd3358813170fb3ceff0 (diff) | |
download | poky-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.inc | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch | 10 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch | 41 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0001-mesonbuild-environment.py-check-environment-for-vari.patch | 26 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0002-Support-building-allarch-recipes-again.patch | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0002-gobject-introspection-determine-g-ir-scanner-and-g-i.patch | 40 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/0003-native_bindir.patch | 26 | ||||
-rw-r--r-- | meta/recipes-devtools/meson/meson/disable-rpath-handling.patch | 25 | ||||
-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 | ||
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://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 | " |
20 | SRC_URI[sha256sum] = "3e8f830f33184397c2eb0b651ec502adb63decb28978bdc84b3558d71284c21f" | 19 | SRC_URI[sha256sum] = "a7716eeae8f8dff002e4147642589ab6496ff839e4376a5aed761f83c1fa0455" |
21 | SRC_URI[md5sum] = "80303535995fcae72bdb887df102b421" | ||
22 | 20 | ||
23 | SRC_URI_append_class-native = " \ | 21 | SRC_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 @@ | |||
1 | From ee638fd4a299bfc53a2238e9f71ae310c8d97460 Mon Sep 17 00:00:00 2001 | 1 | From 830db2c7a136b2446d740c9ca025374352ffd16d Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Tue, 3 Jul 2018 13:59:09 +0100 | 3 | Date: Tue, 3 Jul 2018 13:59:09 +0100 |
4 | Subject: [PATCH] Make CPU family warnings fatal | 4 | Subject: [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 | ||
14 | diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py | 14 | diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py |
15 | index 0f277a7..24578ea 100644 | 15 | index 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'): |
27 | diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py | 27 | diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py |
28 | index dc8b14f..3aab71e 100644 | 28 | index 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 @@ | |||
1 | From 7be634fa9705d0367f48a91305f9acb642ff0a11 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Wed, 27 May 2020 16:43:05 +0000 | ||
4 | Subject: [PATCH] gnome.py: prefix g-i paths with PKG_CONFIG_SYSROOT_DIR | ||
5 | |||
6 | When using sysroots for builds, the standard target paths for the | ||
7 | tools need to be prefixed (pkg-config is not clever enough to | ||
8 | determine when a custom variable is a path) | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
12 | --- | ||
13 | mesonbuild/modules/gnome.py | 8 ++++---- | ||
14 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
15 | |||
16 | diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py | ||
17 | index 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 @@ | |||
1 | From a72dc2b1cddcf180ce782860896deae0b12d5000 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Mon, 25 Mar 2019 18:52:48 +0100 | ||
4 | Subject: [PATCH] mesonbuild/environment.py: check environment for various | ||
5 | binaries | ||
6 | |||
7 | Upstream-Status: Inappropriate [oe-core specific] | ||
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
9 | |||
10 | --- | ||
11 | mesonbuild/environment.py | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py | ||
15 | index 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 @@ | |||
1 | From 9c221c74bd306dfa6fec22c8f156eb9d4e4f7fcb Mon Sep 17 00:00:00 2001 | 1 | From 45df8f0a71c6b60cb98a336f8690af04965dfa9b Mon Sep 17 00:00:00 2001 |
2 | From: Peter Kjellerstedt <pkj@axis.com> | 2 | From: Peter Kjellerstedt <pkj@axis.com> |
3 | Date: Thu, 26 Jul 2018 16:32:49 +0200 | 3 | Date: Thu, 26 Jul 2018 16:32:49 +0200 |
4 | Subject: [PATCH] Support building allarch recipes again | 4 | Subject: [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 | ||
15 | diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py | 15 | diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py |
16 | index 24578ea..216e71f 100644 | 16 | index 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 @@ | |||
1 | From 9ccaed380780178c4dab3a681f652ac7cd27452d Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 4 Aug 2017 16:18:47 +0300 | ||
4 | Subject: [PATCH] gobject-introspection: determine g-ir-scanner and | ||
5 | g-ir-compiler paths from pkgconfig | ||
6 | |||
7 | Do not hardcode the name of those binaries; gobject-introspection | ||
8 | provides them via pkgconfig, and they can be set to something else | ||
9 | (for example when cross-compiling). | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | Signed-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 | |||
18 | diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py | ||
19 | index 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 @@ | |||
1 | From e76726321067748362b39937bd1e663a1a948ad5 Mon Sep 17 00:00:00 2001 | 1 | From da2091f6dfe978fc6140fc2d01bcafbbfae8d8db Mon Sep 17 00:00:00 2001 |
2 | From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2 | From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> |
3 | Date: Wed, 15 Nov 2017 15:05:01 +0100 | 3 | Date: Wed, 15 Nov 2017 15:05:01 +0100 |
4 | Subject: [PATCH] native_bindir | 4 | Subject: [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 | ||
24 | diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py | 24 | diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py |
25 | index 40e304c..4b687df 100644 | 25 | index 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: |
95 | diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py | 95 | diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py |
96 | index da411ef..856506a 100644 | 96 | index 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 @@ | |||
1 | We need to allow our rpaths generated through the compiler flags to make it into | 1 | From 3af10fa8cd4e97181288d72227dea712290fd5e6 Mon Sep 17 00:00:00 2001 |
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
3 | Date: Fri, 23 Nov 2018 15:28:28 +0000 | ||
4 | Subject: [PATCH] meson: Disable rpath stripping at install time | ||
5 | |||
6 | We need to allow our rpaths generated through the compiler flags to make it into | ||
2 | our binaries. Therefore disable the meson manipulations of these unless there | 7 | our binaries. Therefore disable the meson manipulations of these unless there |
3 | is a specific directive to do something differently in the project. | 8 | is a specific directive to do something differently in the project. |
4 | 9 | ||
@@ -6,13 +11,17 @@ RP 2018/11/23 | |||
6 | 11 | ||
7 | Upstream-Status: Submitted [https://github.com/mesonbuild/meson/issues/2567] | 12 | Upstream-Status: Submitted [https://github.com/mesonbuild/meson/issues/2567] |
8 | 13 | ||
9 | Index: 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: | 18 | diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py |
14 | printed_symlink_error = True | 19 | index 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 | |||