pipewire/src/daemon
Barnabás Pőcze f2c878a2c1 meson.build: rework systemd related options
One issues is that the `systemd-{system,user}-service` feature options
do not anything without the `systemd` option. This makes it more
complicated to arrive at the desired build configuration since there
are 3^3 = 27 possible ways to set each of them, but if `systemd=disabled`,
then the other two are just ignored.

Secondly, the `systemd` option also influences whether or not libsystemd
will be used or not. This is not strictly necessary, since the "systemd"
and "libsystemd" pkg-config files might be split, and one might wish to
disable any kind of service file generation, but use libsystemd.

Solve the first issues by using the `systemd-{system,user}-service` options
when looking up the "systemd" dependency for generating service files. This
means that the corresponding option is in full control, no secondary options
are necessary. This means that the "systemd" dependency is looked up potentially
twice, but that should not be a significant issue since meson caches dependecy
lookups.

And solve the second issue by renaming the now unused `systemd` option to
`libsystemd` and using it solely to control whether or not libsystemd will
be used.

Furthermore, the default value of `systemd-user-service` is set to "auto" to
prevent the dependency lookup from failing on non-systemd systemd out of
the box. And the journal tests in "test-support" are extended to return "skip"
if `sd_journal_open()` returns `ENOSYS`, which is needed because "elogind"
ships the systemd pkg-config files and headers.
2025-07-18 09:46:17 +00:00
..
client.conf.avail test: add tests validating all json conf files 2024-03-27 15:53:09 +01:00
filter-chain filter-graph: add ONNX plugin 2025-07-17 13:16:00 +02:00
pipewire-pulse.conf.avail test: add tests validating all json conf files 2024-03-27 15:53:09 +01:00
pipewire.conf.avail 50-raop.conf.in: Add a condition that allows for disabling module 2025-06-13 08:08:31 +00:00
systemd meson.build: rework systemd related options 2025-07-18 09:46:17 +00:00
client.conf.in conf: remove client-rt.conf 2025-01-14 12:40:05 +01:00
filter-chain.conf.in meson: add options to set server and client RT priority 2024-02-15 11:53:32 +01:00
jack.conf.in jack: add option and disable MIDI2 port flags by default 2025-03-04 15:51:39 +01:00
meson.build meson.build: rework systemd related options 2025-07-18 09:46:17 +00:00
minimal.conf.in jack-tunnel: support passing port names to link 2025-03-19 17:53:05 +01:00
pipewire-aes67.conf.in rtp: aes67: Document sess.ts-direct property and set it to true for AES67 2025-05-28 17:19:57 +02:00
pipewire-avb.conf.in daemon/conf: fix more JSON syntax 2024-03-25 21:42:26 +02:00
pipewire-pulse.conf.in pulse-server: add condition support in pulse.cmd 2024-10-23 09:08:50 +02:00
pipewire-vulkan.conf.in remove deprecate Props settings, use node.param.Props 2024-10-08 10:27:36 +02:00
pipewire.c *: unify config.h handling 2025-05-30 10:24:13 +00:00
pipewire.conf.in doc: document module-link-factory 2025-01-24 15:35:46 +01:00
pipewire.desktop.in add i18n support 2021-01-08 10:26:46 +01:00