|
| 1 | +From 819952f36db9a27e3dff5c9db7344992263d111d Mon Sep 17 00:00:00 2001 |
| 2 | +From: Arnaldo Garcia Rincon < [email protected]> |
| 3 | +Date: Thu, 18 Sep 2025 01:55:32 +0000 |
| 4 | +Subject: [PATCH] meson.build: remove condition to build the journal catalog |
| 5 | + |
| 6 | +Don't require the dbus-launcher to build the journal catalog |
| 7 | + |
| 8 | +Signed-off-by: Arnaldo Garcia Rincon < [email protected]> |
| 9 | +--- |
| 10 | + meson.build | 6 +++++- |
| 11 | + meson_options.txt | 1 + |
| 12 | + src/meson.build | 2 +- |
| 13 | + 3 files changed, 7 insertions(+), 2 deletions(-) |
| 14 | + |
| 15 | +diff --git a/meson.build b/meson.build |
| 16 | +index 72e2b47..625c552 100644 |
| 17 | +--- a/meson.build |
| 18 | ++++ b/meson.build |
| 19 | +@@ -67,6 +67,11 @@ if use_docs |
| 20 | + endif |
| 21 | + |
| 22 | + # |
| 23 | ++# Config: catalog (needed for both broker and launcher) |
| 24 | ++# |
| 25 | ++ |
| 26 | ++conf.set('catalogdir', get_option('catalogdir')) |
| 27 | ++ |
| 28 | + # Config: launcher |
| 29 | + # |
| 30 | + |
| 31 | +@@ -79,7 +84,6 @@ if use_launcher |
| 32 | + add_project_arguments('-DSYSTEMUIDMAX=' + dep_systemd.get_variable('systemuidmax'), language: 'c') |
| 33 | + conf.set('systemunitdir', dep_systemd.get_variable('systemdsystemunitdir')) |
| 34 | + conf.set('userunitdir', dep_systemd.get_variable('systemduserunitdir')) |
| 35 | +- conf.set('catalogdir', dep_systemd.get_variable('catalogdir')) |
| 36 | + endif |
| 37 | + |
| 38 | + # |
| 39 | +diff --git a/meson_options.txt b/meson_options.txt |
| 40 | +index 5227a93..bfc898c 100644 |
| 41 | +--- a/meson_options.txt |
| 42 | ++++ b/meson_options.txt |
| 43 | +@@ -7,3 +7,4 @@ option('reference-test', type: 'boolean', value: false, description: 'Run test s |
| 44 | + option('selinux', type: 'boolean', value: false, description: 'SELinux support') |
| 45 | + option('system-console-users', type: 'array', value: [], description: 'Additional set of names of system-users to be considered at-console') |
| 46 | + option('tests', type: 'boolean', value: false, description: 'Include tests in the distribution') |
| 47 | ++option('catalogdir', type: 'string', description: 'The target directory of the catalogdir') |
| 48 | +diff --git a/src/meson.build b/src/meson.build |
| 49 | +index 4b9bc71..33fc7f7 100644 |
| 50 | +--- a/src/meson.build |
| 51 | ++++ b/src/meson.build |
| 52 | +@@ -2,8 +2,8 @@ |
| 53 | + # target: subdirs |
| 54 | + # |
| 55 | + |
| 56 | ++subdir('catalog') |
| 57 | + if use_launcher |
| 58 | +- subdir('catalog') |
| 59 | + subdir('units/system') |
| 60 | + subdir('units/user') |
| 61 | + endif |
| 62 | +-- |
| 63 | +2.50.1 |
| 64 | + |
0 commit comments