Bug#978616: mediastreamer2: doesn't build correct libraries with cmake?

Bernhard Schmidt berni at birkenwald.de
Wed Dec 30 16:18:41 GMT 2020


Dear Gianfranco,

Thanks for filing this bug report. I’m away for the next couple of days and could not check, but wouldn’t just patching the pkgconfig file (your second option) be a lot easier? Upstream merged both libraries and they probably just forgot to change the pkgconfig file as well.

In the end linphone upstream does not seem to care much about other programs using their library. 

Bernhard

> Am 29.12.2020 um 11:00 schrieb Gianfranco Costamagna <locutusofborg at debian.org>:
> Source: mediastreamer2
> Version: 1:4.4.21-2
> Severity: serious
> 
> Hello, looks like with autotools, the library provides libmediastreamer_base and libmediastreamer_voip,
> while with cmake it doesn't.
> 
> the pkgconfig file is obviously wrong, but I don't know which solution you prefer (and if you are aware of this issue).
> 
> I propose two solutions:
> 1) implement the library split in cmake, and upstream it (this might be the preferred and easier solution to this issue)
> 2) patch pkgconfig file and cmake helpers to provide only one library to link.
> 
> if we choose 1, we should probably also change the ABI, so call it libmediastreamer11a or similar, to trigger a rebuild of reverse dependencies.
> 
> If you agree with 1) I can try to provide a patch as soon as possible.
> 
> thanks
> 
> Gianfranco



More information about the Pkg-voip-maintainers mailing list