mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 00:49:32 +02:00
meson: update 0.60.3 -> 0.61.1
Backport patches to epiphany/gcr/g-i to address failures with new meson. (From OE-Core rev: 2ab302edc33681f94b2cd85b564f6feebe154392) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bc0c43cf16
commit
80a6e76eb4
@@ -1,39 +0,0 @@
|
||||
From bbdd6679e49bcba5ec022b240ac234a87b451e41 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Fri, 4 Aug 2017 16:16:41 +0300
|
||||
Subject: [PATCH] gtkdoc: add support for a binary wrapper
|
||||
|
||||
Make it possible to specify a wrapper for executing binaries
|
||||
in cross-compiling scenarios.
|
||||
(usually, some kind of target hardware emulator, such as qemu)
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/mesonbuild/meson/pull/9627]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
|
||||
---
|
||||
mesonbuild/modules/gnome.py | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
|
||||
index 1c6952d..5a6ff94 100644
|
||||
--- a/mesonbuild/modules/gnome.py
|
||||
+++ b/mesonbuild/modules/gnome.py
|
||||
@@ -35,7 +35,7 @@ from ..mesonlib import (
|
||||
from ..dependencies import Dependency, PkgConfigDependency, InternalDependency
|
||||
from ..interpreterbase import noPosargs, noKwargs, permittedKwargs, FeatureNew, FeatureNewKwargs, FeatureDeprecatedKwargs, FeatureDeprecated
|
||||
from ..interpreterbase import typed_kwargs, KwargInfo, ContainerTypeInfo
|
||||
-from ..programs import ExternalProgram, OverrideProgram
|
||||
+from ..programs import ExternalProgram, OverrideProgram, EmptyExternalProgram
|
||||
from ..build import CustomTarget, CustomTargetIndex, GeneratedList
|
||||
|
||||
if T.TYPE_CHECKING:
|
||||
@@ -1103,6 +1103,9 @@ class GnomeModule(ExtensionModule):
|
||||
args.append(f'--{program_name}={path}')
|
||||
if namespace:
|
||||
args.append('--namespace=' + namespace)
|
||||
+ if state.environment.need_exe_wrapper() and not isinstance(state.environment.get_exe_wrapper(), EmptyExternalProgram):
|
||||
+ args.append('--run=' + ' '.join(state.environment.get_exe_wrapper().get_command()))
|
||||
+
|
||||
args += self._unpack_args('--htmlargs=', 'html_args', kwargs)
|
||||
args += self._unpack_args('--scanargs=', 'scan_args', kwargs)
|
||||
args += self._unpack_args('--scanobjsargs=', 'scanobjs_args', kwargs)
|
||||
@@ -8,14 +8,15 @@ LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz \
|
||||
file://0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch \
|
||||
file://meson-setup.py \
|
||||
file://meson-wrapper \
|
||||
file://0001-python-module-do-not-manipulate-the-environment-when.patch \
|
||||
file://disable-rpath-handling.patch \
|
||||
file://0001-Make-CPU-family-warnings-fatal.patch \
|
||||
file://0002-Support-building-allarch-recipes-again.patch \
|
||||
file://0001-is_debianlike-always-return-False.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "87ca5fa9358a01864529392bd64e027158eb94afca7c7766b1866ef27eccb98e"
|
||||
SRC_URI[sha256sum] = "feb2cefb325b437dbf36146df7c6b87688ddff0b0205caa31dc64055c6da410c"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases"
|
||||
UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar"
|
||||
@@ -40,9 +41,6 @@ BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
inherit meson-routines
|
||||
|
||||
SRC_URI:append:class-nativesdk = " file://meson-setup.py \
|
||||
file://meson-wrapper"
|
||||
|
||||
# The cross file logic is similar but not identical to that in meson.bbclass,
|
||||
# since it's generating for an SDK rather than a cross-compile. Important
|
||||
# differences are:
|
||||
Reference in New Issue
Block a user