{"object_kind":"push","event_name":"push","before":"97996a6e20dc8a3b9597c91675959c2e099efe21","after":"f2c878a2c175d0bece4571df691a8af02e7a3ab7","ref":"refs/heads/master","ref_protected":true,"checkout_sha":"f2c878a2c175d0bece4571df691a8af02e7a3ab7","message":null,"user_id":3060,"user_name":"Wim Taymans","user_username":"wtaymans","user_email":"","user_avatar":"https://secure.gravatar.com/avatar/ee99737f7492c79c3a9be75f2e2437f2c944c95fca1480fafcd7ce3bf8c85784?s=80&d=identicon","project_id":4753,"project":{"id":4753,"name":"pipewire","description":"Multimedia processing graphs","web_url":"https://gitlab.freedesktop.org/pipewire/pipewire","avatar_url":"https://gitlab.freedesktop.org/uploads/-/system/project/avatar/4753/pipewire.png","git_ssh_url":"git@ssh.gitlab.freedesktop.org:pipewire/pipewire.git","git_http_url":"https://gitlab.freedesktop.org/pipewire/pipewire.git","namespace":"PipeWire","visibility_level":20,"path_with_namespace":"pipewire/pipewire","default_branch":"master","ci_config_path":"","homepage":"https://gitlab.freedesktop.org/pipewire/pipewire","url":"git@ssh.gitlab.freedesktop.org:pipewire/pipewire.git","ssh_url":"git@ssh.gitlab.freedesktop.org:pipewire/pipewire.git","http_url":"https://gitlab.freedesktop.org/pipewire/pipewire.git"},"commits":[{"id":"f2c878a2c175d0bece4571df691a8af02e7a3ab7","message":"meson.build: rework `systemd` related options\n\nOne issues is that the `systemd-{system,user}-service` feature options\ndo not anything without the `systemd` option. This makes it more\ncomplicated to arrive at the desired build configuration since there\nare 3^3 = 27 possible ways to set each of them, but if `systemd=disabled`,\nthen the other two are just ignored.\n\nSecondly, the `systemd` option also influences whether or not libsystemd\nwill be used or not. This is not strictly necessary, since the \"systemd\"\nand \"libsystemd\" pkg-config files might be split, and one might wish to\ndisable any kind of service file generation, but use libsystemd.\n\nSolve the first issues by using the `systemd-{system,user}-service` options\nwhen looking up the \"systemd\" dependency for generating service files. This\nmeans that the corresponding option is in full control, no secondary options\nare necessary. This means that the \"systemd\" dependency is looked up potentially\ntwice, but that should not be a significant issue since meson caches dependecy\nlookups.\n\nAnd solve the second issue by renaming the now unused `systemd` option to\n`libsystemd` and using it solely to control whether or not libsystemd will\nbe used.\n\nFurthermore, the default value of `systemd-user-service` is set to \"auto\" to\nprevent the dependency lookup from failing on non-systemd systemd out of\nthe box. And the journal tests in \"test-support\" are extended to return \"skip\"\nif `sd_journal_open()` returns `ENOSYS`, which is needed because \"elogind\"\nships the systemd pkg-config files and headers.\n","title":"meson.build: rework `systemd` related options","timestamp":"2025-07-18T09:46:17+00:00","url":"https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/f2c878a2c175d0bece4571df691a8af02e7a3ab7","author":{"name":"Barnabás Pőcze","email":"pobrn@protonmail.com"},"added":[],"modified":["meson.build","meson_options.txt","src/daemon/meson.build","src/daemon/systemd/meson.build","src/daemon/systemd/system/meson.build","src/daemon/systemd/user/meson.build","test/test-logger.c"],"removed":[]}],"total_commits_count":1,"push_options":{},"repository":{"name":"pipewire","url":"git@ssh.gitlab.freedesktop.org:pipewire/pipewire.git","description":"Multimedia processing graphs","homepage":"https://gitlab.freedesktop.org/pipewire/pipewire","git_http_url":"https://gitlab.freedesktop.org/pipewire/pipewire.git","git_ssh_url":"git@ssh.gitlab.freedesktop.org:pipewire/pipewire.git","visibility_level":20}}