[packages/meson] Up to 1.12.1

arekm arekm at pld-linux.org
Fri Nov 27 21:44:10 CET 2026


commit 4f41384e5627922720cf3e4087f7b8a34d30dbf8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 27 15:18:29 2026 +0100

    Up to 1.12.1

 javac-selection.patch                   | 19 +++++++------------
 meson.spec                              | 14 +++++++-------
 rpm-macros-pld.patch                    | 23 +++--------------------
 rust-proc-macro-filter-out-target.patch |  8 ++------
 4 files changed, 19 insertions(+), 45 deletions(-)
---
diff --git a/meson.spec b/meson.spec
index faddd11..28c77c2 100644
--- a/meson.spec
+++ b/meson.spec
@@ -1,13 +1,13 @@
 Summary:	High productivity build system
 Summary(pl.UTF-8):	System budowania o dużej produktywności
 Name:		meson
-Version:	1.10.2
+Version:	1.12.1
 Release:	1
 License:	Apache v2.0
 Group:		Development/Tools
 #Source0Download: https://github.com/mesonbuild/meson/releases/
 Source0:	https://github.com/mesonbuild/meson/releases/download/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	4fd98e2e682effec9e0339ea6912e0f9
+# Source0-md5:	c6eb71722ba220419cbebab8b1bd895f
 Patch0:		%{name}-gtkdocdir.patch
 Patch1:		rust-proc-macro-filter-out-target.patch
 Patch2:		allow-arm-on-arm64.patch
@@ -15,15 +15,15 @@ Patch3:		rpm-macros-pld.patch
 Patch4:		javac-selection.patch
 URL:		https://mesonbuild.com/
 BuildRequires:	ninja >= 1.8.2
-BuildRequires:	python3 >= 1:3.7
-BuildRequires:	python3-modules >= 1:3.7
+BuildRequires:	python3 >= 1:3.10
+BuildRequires:	python3-modules >= 1:3.10
 BuildRequires:	python3-setuptools >= 1:42
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 BuildRequires:	sed >= 4.0
-Requires:	python3-devel-tools >= 1:3.7
-Requires:	python3-libs >= 1:3.7
-Requires:	python3-modules >= 1:3.7
+Requires:	python3-devel-tools >= 1:3.10
+Requires:	python3-libs >= 1:3.10
+Requires:	python3-modules >= 1:3.10
 Conflicts:	ninja < 1.8.2
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
diff --git a/javac-selection.patch b/javac-selection.patch
index 8a98a7b..d599a51 100644
--- a/javac-selection.patch
+++ b/javac-selection.patch
@@ -7,22 +7,17 @@ Makes Java more consistent with other compilers and allows explicit
 selection of Java compiler version and/or provider when building with
 Meson.
 ---
- docs/markdown/Reference-tables.md | 1 +
  mesonbuild/envconfig.py           | 1 +
- 2 files changed, 2 insertions(+)
+ 1 file changed, 1 insertion(+)
 
 diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
-index 43fad0cd2..c85d8da90 100644
 --- a/mesonbuild/envconfig.py
 +++ b/mesonbuild/envconfig.py
-@@ -101,6 +101,7 @@ ENV_VAR_COMPILER_MAP: T.Mapping[str, str] = {
-     'rust': 'RUSTC',
-     'vala': 'VALAC',
-     'nasm': 'NASM',
-+    'java': 'JAVAC',
+@@ -108,6 +108,7 @@ ENV_VAR_COMPILER_MAP: T.Mapping[str, ImmutableListProtocol[str]] = {
+     'rust': ['RUSTC'],
+     'vala': ['VALAC'],
+     'nasm': ['NASM'],
++    'java': ['JAVAC'],
  
      # Linkers
-     'c_ld': 'CC_LD',
--- 
-2.51.0
-
+     'c_ld': ['CC_LD'],
diff --git a/rpm-macros-pld.patch b/rpm-macros-pld.patch
index 63a8258..c880896 100644
--- a/rpm-macros-pld.patch
+++ b/rpm-macros-pld.patch
@@ -1,5 +1,5 @@
---- meson-1.10.0/data/macros.meson.orig	2025-12-08 17:48:52.000000000 +0100
-+++ meson-1.10.0/data/macros.meson	2026-01-14 19:25:31.156885507 +0100
+--- meson-1.12.1/data/macros.meson.orig
++++ meson-1.12.1/data/macros.meson
 @@ -1,6 +1,6 @@
  %__meson %{_bindir}/meson
  %__meson_wrap_mode nodownload
@@ -8,7 +8,7 @@
  %__meson_verbose 1
  
  %meson \
-@@ -22,13 +22,14 @@
+@@ -22,6 +22,7 @@
          --sharedstatedir=%{_sharedstatedir} \
          --wrap-mode=%{__meson_wrap_mode} \
          --auto-features=%{__meson_auto_features} \
@@ -16,20 +16,3 @@
          %{_vpath_srcdir} %{_vpath_builddir} \
          %{nil}}
  
- %meson_build \
-     %{shrink:%{__meson} compile \
-         -C %{_vpath_builddir} \
--        -j %{_smp_build_ncpus} \
-+        %{?_smp_mflags} \
-         %[ 0%{?__meson_verbose} ? "--verbose" : "" ] \
-         %{nil}}
- 
-@@ -42,7 +43,7 @@
- %meson_test \
-     %{shrink:%{__meson} test \
-         -C %{_vpath_builddir} \
--        --num-processes %{_smp_build_ncpus} \
-+        %{?_smp_mflags} \
-         --print-errorlogs \
-         %{nil}}
- 
diff --git a/rust-proc-macro-filter-out-target.patch b/rust-proc-macro-filter-out-target.patch
index 94f61bb..f047623 100644
--- a/rust-proc-macro-filter-out-target.patch
+++ b/rust-proc-macro-filter-out-target.patch
@@ -22,10 +22,9 @@ let's patch meson ourselves for convinience to avoid it
  1 file changed, 15 insertions(+)
 
 diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
-index 73741a441..191db485d 100644
 --- a/mesonbuild/backend/backends.py
 +++ b/mesonbuild/backend/backends.py
-@@ -1064,6 +1064,21 @@ class Backend:
+@@ -1093,6 +1093,21 @@
              for lt in chain(target.link_targets, target.link_whole_targets):
                  priv_dir = self.get_target_private_dir(lt)
                  commands += compiler.get_include_args(priv_dir, False)
@@ -46,7 +45,4 @@ index 73741a441..191db485d 100644
 +                del commands[i]
          return commands
  
-     def build_target_link_arguments(self, compiler: 'Compiler', deps: T.List[build.Target]) -> T.List[str]:
--- 
-2.42.0
-
+     def build_target_link_arguments(self, compiler: Compiler, deps: T.Iterable[build.BuildTargetTypes]) -> T.List[str]:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/meson.git/commitdiff/4f41384e5627922720cf3e4087f7b8a34d30dbf8



More information about the pld-cvs-commit mailing list