FS#68645 - [pipewire] pipewire-pulse: add pluseaudio to provides array

Attached to Project: Arch Linux
Opened by tinywrkb (tinywrkb) - Monday, 16 November 2020, 21:15 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 May 2021, 12:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Users should be allowed to drop PulseAudio from their system now that Pipewire got a pulse server implementation, and also an added optionally enabled socket activated service.

So I suggest adding provides=(pulseaudio) to the pipewire-pulse package which will allow users to decide if they want only pipewire-pulse installed on their system or also pulseaudio.

Note that libpulse is not going anywhere and Pipewire deprecated the libpulse implementation.
Also be aware that the Systemd service for the pulse server which makes it much easier to start the server only added recently, so maybe hold on with this change until 0.3.16 will be tagged.

See:

* Pipewire's Systemd service for the pulse server: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/798bcc10b139e3f38c255a71ac56d629e8778886#7ee5506baeb31848355d19ce3a4974ec278d940d

* Pipewire's libpulse deprecation: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/346e35eed5e23a348296856b19e94916f719d4b3
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 04 May 2021, 12:40 GMT
Reason for closing:  Fixed
Comment by Laurențiu Nicola (lnicola) - Friday, 20 November 2020, 08:33 GMT
I think this was implemented recently (https://github.com/archlinux/svntogit-packages/commit/19680fdad08f5f93090e2797750f466eb4914c0a#diff-37538beb61ff63edebbf735dfcf39e5d732f49183d6beb097169d971875ca422R102), but it broke the package because pulseaudio-bluetooth depends on the same version of pulseaudio, while pipewire-pulse has a different version:

:: pipewire-pulse and pulseaudio are in conflict. Remove pulseaudio? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing pulseaudio breaks dependency 'pulseaudio=13.99.3+4+gd83ad6990-1' required by pulseaudio-bluetooth
Comment by tinywrkb (tinywrkb) - Friday, 20 November 2020, 10:06 GMT
@lnicola You don't need pulseaudio-bluetooth if you're switching to pipewire-pulse, just make sure to add `-e bluez5` to the exec line in pipewire.conf.
I should add that PipeWire's support for Bluetooth, A2DP or HSP, is not as good as for non-Bluetooth devices, but if you just need A2DP and don't mind the few small issues then it's possible to work with it.
Comment by Laurențiu Nicola (lnicola) - Friday, 20 November 2020, 10:07 GMT
@tinywrkb I need it because it's a dependency of gnome-bluetooth, which is required by gnome-shell.
Comment by tinywrkb (tinywrkb) - Friday, 20 November 2020, 10:39 GMT
@lnicola it doesn't seem like gnome-bluetooth is linked against anything in pulseaudio-bluetooth so maybe try using a dummy package to replace pulseaudio-bluetooth or remove it with `--assume-installed` and see if anything breaks. If not, and considering that it seems like nothing else is built against pulseaudio-bluetooth then maybe pipewire-pulse can also provide pulseaudio-bluetooth.

Loading...