Bug#979113: libpulse-dev: lib .so files in -dev package, cause other programs to fail
Christoph Berg
myon at debian.org
Sun Jan 3 17:57:27 GMT 2021
Re: Andreas Metzler
> that change is in direct opposition to to Debian's way of handling
> shared libraries. https://www.debian.org/doc/debian-policy/ch-sharedlibs.html
>
> If xcwcp requires the unversioned .so it will need a dependency on the
> development package.
xcwcp opens libpulse-simple.so using dlopen():
bool cw_is_pa_possible(const char *device)
{
const char *library_name = "libpulse-simple.so";
if (!cw_dlopen_internal(library_name, &(cw_pa.handle))) {
I don't know why it is doing that, but if that is a common pattern,
libpulse-simple should be treated as a plugin and have the .so file in
the main package.
Looking at the list of reverse-dependencies, that doesn't seem to be
the case though:
Reverse Depends:
liballegro-acodec5-dev,libpulse-dev
libsphinxbase-dev,libpulse-dev
libsphinxbase-dev,libpulse-dev
librtaudio-dev,libpulse-dev
libpulse-ocaml-dev,libpulse-dev
libsdl2-dev,libpulse-dev
libsdl1.2-dev,libpulse-dev
libefl-all-dev,libpulse-dev
libcinnamon-desktop-dev,libpulse-dev
liballegro-audio5-dev,libpulse-dev
i.e. this is not a common pattern, and the usage in xcwcp is likely
just weird. So guess we should indeed add libpulse-dev to the xcwcp
dependency list.
Federico: do you want to do that change? (Please check if the fix is
only for xcwcp or also for the other binaries in the unixcw source.)
Christoph DF7CB
More information about the pkg-pulseaudio-devel
mailing list