[Pkg-kde-extras] Bug#1074124: source:pulseaudio-qt: Misalignment between Qt5/Qt6 package names, package description and dependencies

Pino Toscano pino at debian.org
Wed Jun 26 07:48:01 BST 2024


Source: pulseaudio-qt
Followup-For: Bug #1074124
X-Debbugs-Cc: marco.mattiolo at hotmail.it
Control: retitle -1 libkf6pulseaudioqt-dev: wrong dependency on qtbase5-dev rather than qt6-base-dev

Hi,

regarding the package names, looking at pulseaudio-qt 1.5.0:
- there are two libraries, libKF5PulseAudioQt and libKF6PulseAudioQt;
- both the libraries have "6" as part of their SONAME (in particular,
  it's the SOVERSION)
Because of the above, the names of the binary packages contaning them,
according to the Debian Policy [1], are libkf5pulseaudioqt5 and
libkf6pulseaudioqt5. In pulseaudio-qt 1.4.0, the libraries had "4" as
SOVERSION, and thus they were named libkf5pulseaudioqt4 and
libkf6pulseaudioqt4 accordingly. If the ABI of the libraries will be
changed in an incompatible way in a new version pulseaudio-qt, the
SOVERSION will be bumped to "5", and we will have libkf5pulseaudioqt6
and libkf6pulseaudioqt6.

Hence, there is no mistake regarding the package names and their
descriptions. The potentially confusing bit is that some other libraries
use suffixes such as "qtN"/"-qtN" to distriguish which Qt version they
are built for. This is not done in case of pulseaudio-qt, as there is
already the Framework version in the name ("KF5"/"KF6").

The other issue reported is about libkf6pulseaudioqt-dev that depends on
qtbase5-dev: this is indeed a bug, and I just pushed a fix for that in
the packaging repository, thanks. I will upload it once pulseaudio-qt
1.5.0 migrates to testing (so at least tomorrow).

Also, not sure how the wrong dependency "messes things up": both
qtbase5-dev and qt6-base-dev are perfectly coinstallable -- this very
source pulls them both to build both the Qt5 and Qt6 libraries at the
same time.

[1] https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#run-time-shared-libraries

Thanks,
-- 
Pino



More information about the pkg-kde-extras mailing list