FS#73455 - [cadence] Please support replacements for jack2, e.g. pipewire-jack

Attached to Project: Community Packages
Opened by loqy (loqy) - Saturday, 22 January 2022, 08:13 GMT
Last edited by David Runge (dvzrv) - Monday, 31 January 2022, 15:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Pipewire-jack now conflicts with jack2, which makes this package unable to install when pipewire-jack is installed, due to the current dependency on jack2-dbus. Pacman asks to replace pipewire-jack with jack2 in the scenario On the other hand, the AUR package cadence-claudia deals with this by directly depending on "jack", for which pipewire-jack provides. Please change to dependency to "jack". This change would also support setups using jack1, or any other replacement for JACK.

Additional info:
* package version 0.9.1-4
This task depends upon

Closed by  David Runge (dvzrv)
Monday, 31 January 2022, 15:57 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Cadence's main functionality relies upon jack2-dbus.
When catia becomes its own project in the future, it will be provided as a separate package.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 26 January 2022, 11:53 GMT
@dvzrv:
For the audio packages, if you wish to use the "jack" group for more packages, I can help out with this.
Also, primarily supporting pipewire could be an idea.
Comment by David Runge (dvzrv) - Wednesday, 26 January 2022, 13:17 GMT
@loqy: Thanks for the report.

I'm afraid that can not be done. Cadence requires jack2-dbus, but dbus is no implemented for pipewire-jack [1] and thus not supported (it is also questionable whether it makes much sense in the paradigm of pipewire).
The dbus feature is jack2 specific (see comparison table[2]).
From what I can tell, the cadence-claudia package should now depend on jack2-dbus instead.

@xyproto: Could you explain what you mean by that? The virtual dependency `jack` is not a group, but defined by a `provides` in the PKGBUILD of jack2 [3] and pipewire [4].

[1] https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/819
[2] https://wiki.archlinux.org/title/JACK_Audio_Connection_Kit#Comparison_of_JACK_implementations
[3] https://github.com/archlinux/svntogit-packages/blob/e8eda8f8508b824333955f336aa7d54f80e14284/trunk/PKGBUILD#L69
[4] https://github.com/archlinux/svntogit-packages/blob/7bc15451dc14021d313c20b148e87091ba0d956c/trunk/PKGBUILD#L154
Comment by loqy (loqy) - Sunday, 30 January 2022, 11:40 GMT
The cadence program itself does mention jack2-dbus being unavailable when it is started, although it does start and show minimal information about sample size, etc. when pipewire is used as a jack replacement. However, the scope of this package is more than just the cadence program, and includes other useful programs such as catia and carla that work fine as much as i've seen so far using the cadence-claudia AUR package. Perhaps the best way forward is to split this package up into cadence, carla, and catia.
Comment by David Runge (dvzrv) - Sunday, 30 January 2022, 16:49 GMT
> The cadence program itself does mention jack2-dbus being unavailable when it is started, although it does start and show minimal information about sample size, etc. when pipewire is used as a jack replacement.

The main purpose of cadence is to manage jack2 via jack2-dbus and to allow running ALSA MIDI bridges via a2jmidid (which technically is not really relevant anymore these days, as jack2 has this feature built in).

> However, the scope of this package is more than just the cadence program, and includes other useful programs such as catia and carla that work fine as much as i've seen so far using the cadence-claudia AUR package

Catia is probably the only useful application outside of the context of having to use jack2-dbus though. Carla is a separate package and has nothing to do with cadence.
In regards to cadence-claudia: I will not package it, as it drags in legacy (and upstream abandoned) LASH session management stuff.

If you require a patchbay that is also able to save state, then please use carla or qjackctl (see comparison table for GUIs [1]).

As is, I do not believe it makes any sense to split cadence, as catia will be its own package in the future: https://github.com/falkTX/Catia
The upstream developer currently focuses on other projects so I guess this will still take some time. Judging from writing with him he is of the opinion that cadence eventually will cease to exist though, so I really do not believe any package splitting for this is at all warranted.

[1] https://wiki.archlinux.org/title/JACK_Audio_Connection_Kit#Comparison_of_JACK_control_GUIs
Comment by loqy (loqy) - Sunday, 30 January 2022, 22:57 GMT
Alright that is good to hear. I didn't realize carla was a seperate package, sorry about that. Thanks for the info @dvzrv

Loading...