]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: bump required minimum version to 0.62.0
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 4 Mar 2025 18:14:04 +0000 (03:14 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 9 Mar 2025 17:41:40 +0000 (02:41 +0900)
The commit 8442ac9c0264ac7beb5afd6c3bf922030a6edaf3 set
install_tag option to install_emptydir() calls, but it requires
meson-0.62.0. Hence, after the commit, we cannot build systemd
with older meson anymore. As using install_tag is quite useful
for building systemd package, let's bump the requirement of
meson version to 0.62.0.

Note, the current meson versions of major distributions are:
CentOS 9:  0.63.3
CentOS 10: 1.4.1
Fedora 40: 1.4.1
Fedora 41: 1.5.1
Ubuntu 20.04 LTS (focal): 0.53.2 -- EOL on 2025-04
Ubuntu 22.04 LTS (jammy): 0.61.2 -- EOL on 2027-04
Ubuntu 24.04 LTS (noble): 1.3.2
Ubuntu 24.10 (oracular):  1.5.2
Debian 11 (bullseye): 0.56.2 (1.0.0 in backports) -- EOL on 2024-08
Debian 12 (bookworm): 1.0.1  (1.5.1 in backports)
openSUSE Leap 15.6:  1.6.1
openSUSE Tumbleweed: 1.6.1

As the next version (v258) is not expected to be released before
the end of 2025-04, it is OK to cut the support of Ubuntu 20.04 LTS and
Debian 11. Also, our policy for support of distributions explicitly says
only latest Ubuntu LTS and non-LTS releases are supported.
Hence, we can also cut Ubuntu 22.04, even if it is not EOL.

Follow-up for 8442ac9c0264ac7beb5afd6c3bf922030a6edaf3.
Closes #35967.

.github/workflows/build_test.sh
.github/workflows/unit_tests.sh
README
meson.build

index 986e30c595da39ff0226611ac38076dc9f1ed79d..113af704a80208c3d565360264c21f66ce73c0eb 100755 (executable)
@@ -135,9 +135,6 @@ $CC --version
 meson --version
 ninja --version
 
-# TODO: drop once minimum meson version is bumped to 0.62 or newer
-find . -type f -name meson.build -exec sed -i 's/install_emptydir(\(.*\), install_tag : .*)/install_emptydir(\1)/g' '{}' '+'
-
 for args in "${ARGS[@]}"; do
     SECONDS=0
 
index 94ecdc60721152308c889f7fa802a84deccffa31..168bcc55c365bbbf60c2b89345926736189373e7 100755 (executable)
@@ -33,8 +33,6 @@ function info() {
 }
 
 function run_meson() {
-    # TODO: drop once minimum meson version is bumped to 0.62 or newer
-    find . -type f -name meson.build -exec sed -i 's/install_emptydir(\(.*\), install_tag : .*)/install_emptydir(\1)/g' '{}' '+'
     if ! meson "$@"; then
         find . -type f -name meson-log.txt -exec cat '{}' +
         return 1
diff --git a/README b/README
index 9b019396c8e472a42eabebf2634e5c3575aa852d..9f5c48b67fe19b4c865503b1b71176ce1ec1c67d 100644 (file)
--- a/README
+++ b/README
@@ -255,7 +255,7 @@ REQUIREMENTS:
         python-pefile (optional, required for ukify)
         python-lxml (optional, required to build the indices)
         pyelftools (optional, required for systemd-boot)
-        meson >= 0.60.0
+        meson >= 0.62.0
         ninja
         gcc >= 8.4
             >= 13.1.0 is required to build BPF program by using GCC
index 1cdce6a868f6c2056a36cb7219c930d56f73373f..7077e1a8cccceedc46a2c0e29b6f74f2c228d5db 100644 (file)
@@ -10,8 +10,8 @@ project('systemd', 'c',
                 'localstatedir=/var',
                 'warning_level=2',
         ],
-        meson_version : '>= 0.60.0',
-       )
+        meson_version : '>= 0.62.0',
+)
 
 project_major_version = meson.project_version().split('.')[0].split('~')[0]
 if meson.project_version().contains('.')