From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 30 Oct 2024 09:01:10 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1t63dc-002c6z-2k for lore@lore.pengutronix.de; Wed, 30 Oct 2024 09:01:10 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1t63dd-0005rq-LU; Wed, 30 Oct 2024 09:01:09 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t63d9-00057h-Pi; Wed, 30 Oct 2024 09:00:39 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1t63d9-0019xI-1x; Wed, 30 Oct 2024 09:00:39 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1t63d9-00HZxc-1o; Wed, 30 Oct 2024 09:00:39 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Wed, 30 Oct 2024 09:00:39 +0100 Message-Id: <20241030080039.4189801-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241021131842.233442-1-p.zabel@pengutronix.de> References: <20241021131842.233442-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] host-meson: version bump 1.5.2 -> 1.6.0 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Philipp Zabel Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 69f200b933bed6500d07e999ac9bdebbb39f8ce4. Michael [sent from post-receive hook] On Wed, 30 Oct 2024 09:00:39 +0100, Philipp Zabel wrote: > https://mesonbuild.com/Release-notes-for-1-6-0.html > > The Qt module now allows to specify which tools are required via > the tools kwarg of qt_mod.has_tools(). Patches 3 and 4 are updated > to modify the default value of this parameter. They can be dropped > once all users, such as gst-plugins-good1, make use of it. > > Signed-off-by: Philipp Zabel > Message-Id: <20241021131842.233442-1-p.zabel@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/patches/meson-1.5.2/0003-HACK-don-t-fail-if-lrelease-is-missing.patch b/patches/meson-1.5.2/0003-HACK-don-t-fail-if-lrelease-is-missing.patch > deleted file mode 100644 > index f88b2300c819..000000000000 > --- a/patches/meson-1.5.2/0003-HACK-don-t-fail-if-lrelease-is-missing.patch > +++ /dev/null > @@ -1,26 +0,0 @@ > -From: Michael Olbrich > -Date: Wed, 7 Jun 2023 11:42:46 +0200 > -Subject: [PATCH] HACK: don't fail if lrelease is missing > - > -PTXdist does not currently build lrelease for Qt6 so this is always > -missing. It's not needed in most cases, so just ignore it. > - > -Signed-off-by: Michael Olbrich > ---- > - mesonbuild/modules/_qt.py | 3 +++ > - 1 file changed, 3 insertions(+) > - > -diff --git a/mesonbuild/modules/_qt.py b/mesonbuild/modules/_qt.py > -index ebb8a3994097..2fab8d319169 100644 > ---- a/mesonbuild/modules/_qt.py > -+++ b/mesonbuild/modules/_qt.py > -@@ -271,6 +271,9 @@ class QtBaseModule(ExtensionModule): > - self._detect_tools(state, method, required=False) > - for tool in self.tools.values(): > - if not tool.found(): > -+ if tool.name == 'lrelease': > -+ mlog.warning('Ignoring missing lrelease') > -+ continue > - if required: > - raise MesonException('Qt tools not found') > - return False > diff --git a/patches/meson-1.5.2/0004-HACK-don-t-fail-if-uic-is-missing.patch b/patches/meson-1.5.2/0004-HACK-don-t-fail-if-uic-is-missing.patch > deleted file mode 100644 > index 2b74b24039b0..000000000000 > --- a/patches/meson-1.5.2/0004-HACK-don-t-fail-if-uic-is-missing.patch > +++ /dev/null > @@ -1,29 +0,0 @@ > -From: Michael Tretter > -Date: Tue, 12 Mar 2024 18:22:06 +0100 > -Subject: [PATCH] HACK: don't fail if uic is missing > - > -Qt5 builds the uic only if Widgets are enabled. The uic is not required > -for applications that don't use Widgets, but is required as standard > -tool by meson. > - > -Ignore uic if it is not found. > - > -Signed-off-by: Michael Tretter > ---- > - mesonbuild/modules/_qt.py | 3 +++ > - 1 file changed, 3 insertions(+) > - > -diff --git a/mesonbuild/modules/_qt.py b/mesonbuild/modules/_qt.py > -index 2fab8d319169..2790fe0e2da6 100644 > ---- a/mesonbuild/modules/_qt.py > -+++ b/mesonbuild/modules/_qt.py > -@@ -274,6 +274,9 @@ class QtBaseModule(ExtensionModule): > - if tool.name == 'lrelease': > - mlog.warning('Ignoring missing lrelease') > - continue > -+ if tool.name == 'uic': > -+ mlog.warning('Ignoring missing uic') > -+ continue > - if required: > - raise MesonException('Qt tools not found') > - return False > diff --git a/patches/meson-1.5.2/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch b/patches/meson-1.6.0/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch > similarity index 86% > rename from patches/meson-1.5.2/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch > rename to patches/meson-1.6.0/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch > index ab2020e23783..a9b8cf732084 100644 > --- a/patches/meson-1.5.2/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch > +++ b/patches/meson-1.6.0/0001-don-t-add-rpaths-for-build-directories-when-cross-co.patch > @@ -11,10 +11,10 @@ Signed-off-by: Michael Olbrich > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py > -index 4eec82edd177..92ef9669cfeb 100644 > +index c4df0fa1d893..50e11175e413 100644 > --- a/mesonbuild/linkers/linkers.py > +++ b/mesonbuild/linkers/linkers.py > -@@ -674,7 +674,10 @@ class GnuLikeDynamicLinkerMixin(DynamicLinkerBase): > +@@ -677,7 +677,10 @@ class GnuLikeDynamicLinkerMixin(DynamicLinkerBase): > # Need to deduplicate rpaths, as macOS's install_name_tool > # is *very* allergic to duplicate -delete_rpath arguments > # when calling depfixer on installation. > @@ -26,7 +26,7 @@ index 4eec82edd177..92ef9669cfeb 100644 > rpath_dirs_to_remove: T.Set[bytes] = set() > for p in all_paths: > rpath_dirs_to_remove.add(p.encode('utf8')) > -@@ -702,7 +705,8 @@ class GnuLikeDynamicLinkerMixin(DynamicLinkerBase): > +@@ -705,7 +708,8 @@ class GnuLikeDynamicLinkerMixin(DynamicLinkerBase): > paths = padding > else: > paths = paths + ':' + padding > @@ -35,4 +35,4 @@ index 4eec82edd177..92ef9669cfeb 100644 > + args.extend(self._apply_prefix('-rpath,' + paths)) > > # TODO: should this actually be "for solaris/sunos"? > - if mesonlib.is_sunos(): > + # NOTE: Remove the zigcc check once zig support "-rpath-link" > diff --git a/patches/meson-1.5.2/0002-HACK-enable-NEON-only-for-ARMv7.patch b/patches/meson-1.6.0/0002-HACK-enable-NEON-only-for-ARMv7.patch > similarity index 100% > rename from patches/meson-1.5.2/0002-HACK-enable-NEON-only-for-ARMv7.patch > rename to patches/meson-1.6.0/0002-HACK-enable-NEON-only-for-ARMv7.patch > diff --git a/patches/meson-1.6.0/0003-HACK-don-t-fail-if-lrelease-is-missing.patch b/patches/meson-1.6.0/0003-HACK-don-t-fail-if-lrelease-is-missing.patch > new file mode 100644 > index 000000000000..d07dd5b568fc > --- /dev/null > +++ b/patches/meson-1.6.0/0003-HACK-don-t-fail-if-lrelease-is-missing.patch > @@ -0,0 +1,26 @@ > +From: Michael Olbrich > +Date: Wed, 7 Jun 2023 11:42:46 +0200 > +Subject: [PATCH] HACK: don't fail if lrelease is missing > + > +PTXdist does not currently build lrelease for Qt6 so this is always > +missing. It's not needed in most cases, so just ignore it. > + > +Signed-off-by: Michael Olbrich > +Signed-off-by: Philipp Zabel > +--- > + mesonbuild/modules/_qt.py | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/mesonbuild/modules/_qt.py b/mesonbuild/modules/_qt.py > +index 9f10c58266a5..b11127548d00 100644 > +--- a/mesonbuild/modules/_qt.py > ++++ b/mesonbuild/modules/_qt.py > +@@ -269,7 +269,7 @@ class QtBaseModule(ExtensionModule): > + KwargInfo('required', (bool, options.UserFeatureOption), default=False), > + KwargInfo('method', str, default='auto'), > + KwargInfo('tools', ContainerTypeInfo(list, str), listify=True, > +- default=['moc', 'uic', 'rcc', 'lrelease'], > ++ default=['moc', 'uic', 'rcc'], > + validator=_list_in_set_validator(_set_of_qt_tools), > + since='1.6.0'), > + ) > diff --git a/patches/meson-1.6.0/0004-HACK-don-t-fail-if-uic-is-missing.patch b/patches/meson-1.6.0/0004-HACK-don-t-fail-if-uic-is-missing.patch > new file mode 100644 > index 000000000000..795d9d6de796 > --- /dev/null > +++ b/patches/meson-1.6.0/0004-HACK-don-t-fail-if-uic-is-missing.patch > @@ -0,0 +1,29 @@ > +From: Michael Tretter > +Date: Tue, 12 Mar 2024 18:22:06 +0100 > +Subject: [PATCH] HACK: don't fail if uic is missing > + > +Qt5 builds the uic only if Widgets are enabled. The uic is not required > +for applications that don't use Widgets, but is required as standard > +tool by meson. > + > +Ignore uic if it is not found. > + > +Signed-off-by: Michael Tretter > +Signed-off-by: Philipp Zabel > +--- > + mesonbuild/modules/_qt.py | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/mesonbuild/modules/_qt.py b/mesonbuild/modules/_qt.py > +index b11127548d00..19a3266a09af 100644 > +--- a/mesonbuild/modules/_qt.py > ++++ b/mesonbuild/modules/_qt.py > +@@ -269,7 +269,7 @@ class QtBaseModule(ExtensionModule): > + KwargInfo('required', (bool, options.UserFeatureOption), default=False), > + KwargInfo('method', str, default='auto'), > + KwargInfo('tools', ContainerTypeInfo(list, str), listify=True, > +- default=['moc', 'uic', 'rcc'], > ++ default=['moc', 'rcc'], > + validator=_list_in_set_validator(_set_of_qt_tools), > + since='1.6.0'), > + ) > diff --git a/patches/meson-1.5.2/series b/patches/meson-1.6.0/series > similarity index 100% > rename from patches/meson-1.5.2/series > rename to patches/meson-1.6.0/series > diff --git a/rules/host-meson.make b/rules/host-meson.make > index 8835367be758..868d43d0c508 100644 > --- a/rules/host-meson.make > +++ b/rules/host-meson.make > @@ -14,8 +14,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_MESON) += host-meson > # > # Paths and names > # > -HOST_MESON_VERSION := 1.5.2 > -HOST_MESON_MD5 := 682f75ef96c2e7542b0148e70068ea09 > +HOST_MESON_VERSION := 1.6.0 > +HOST_MESON_MD5 := 0031ea392f8ef97eeadfe1906c5cc5b4 > HOST_MESON := meson-$(HOST_MESON_VERSION) > HOST_MESON_SUFFIX := tar.gz > HOST_MESON_URL := https://github.com/mesonbuild/meson/releases/download/$(HOST_MESON_VERSION)/$(HOST_MESON).$(HOST_MESON_SUFFIX)