diff -Nru pipewire-0.3.57/debian/changelog pipewire-0.3.57/debian/changelog --- pipewire-0.3.57/debian/changelog 2022-09-05 09:57:50.000000000 +0200 +++ pipewire-0.3.57/debian/changelog 2022-10-03 21:42:57.000000000 +0200 @@ -1,3 +1,16 @@ +pipewire (0.3.57-1ubuntu1) kinetic; urgency=medium + + * Cherry-pick a Debian patch: + * Patch pipewire-pulse.service to be sure it is started + after a session manager (See: #1020575) + Because of a bug in the way systemd handles aliases, they have been removed + in wireplumber and pipewire-media-session services to avoid a conflict. + This change needs to be reflected in the pipewire-pulse service to be sure + it is started after a session manager, otherwise pipewire-pulse doesn't + see any devices. + + -- Dylan Aïssi Mon, 03 Oct 2022 21:42:57 +0200 + pipewire (0.3.57-1) unstable; urgency=medium * New upstream release diff -Nru pipewire-0.3.57/debian/patches/Fix_services.patch pipewire-0.3.57/debian/patches/Fix_services.patch --- pipewire-0.3.57/debian/patches/Fix_services.patch 1970-01-01 01:00:00.000000000 +0100 +++ pipewire-0.3.57/debian/patches/Fix_services.patch 2022-10-03 21:42:57.000000000 +0200 @@ -0,0 +1,23 @@ +Description: Update Wants and After fields with real services (NOT alias) + Due to a systemd bug in the way it manages alias, they have been removed in + wireplumber and pipewire-media-session services. Reflecting this change in + the pipewire-pulse service to be sure it is started AFTER a session manager. +Bug: https://github.com/systemd/systemd/issues/23694 +Bug-Debian: https://bugs.debian.org/997818 + https://bugs.debian.org/1020575 +Author: Dylan Aïssi +Forwarded: not-needed + +--- a/src/daemon/systemd/user/pipewire-pulse.service.in ++++ b/src/daemon/systemd/user/pipewire-pulse.service.in +@@ -15,8 +15,8 @@ + # socket-service relationship, see systemd.socket(5). + Requires=pipewire-pulse.socket + ConditionUser=!root +-Wants=pipewire.service pipewire-session-manager.service +-After=pipewire.service pipewire-session-manager.service ++Wants=pipewire.service wireplumber.service pipewire-media-session.service ++After=pipewire.service wireplumber.service pipewire-media-session.service + Conflicts=pulseaudio.service + + [Service] diff -Nru pipewire-0.3.57/debian/patches/series pipewire-0.3.57/debian/patches/series --- pipewire-0.3.57/debian/patches/series 2022-09-05 09:57:50.000000000 +0200 +++ pipewire-0.3.57/debian/patches/series 2022-10-03 21:42:57.000000000 +0200 @@ -1,3 +1,4 @@ Don-t-automatically-start-pipewire-for-root-logins.patch Don-t-build_same_binary_twice.patch +Fix_services.patch # Recommended patch for 0.3.5X