Bug#834022: mpv: load libsmbclient dynamically

Jörg-Volker Peetz jvpeetz at web.de
Tue Feb 7 15:05:38 UTC 2017


Hi,

James Cowgill wrote on 02/07/17 00:07:
> Hi,
> 
> On Thu, 11 Aug 2016 15:18:00 +0200 Jörg-Volker Peetz <jvpeetz at web.de> wrote:
>> Package: mpv
>> Version: 0.18.1-1
>> Severity: wishlist
>>
>> Dear Maintainer,
>>
>> would it be possible to load libsmbclient dynamically like libdvdread4 does with
>> libdvdcss? That would avoid installing samba-libs if there's no Samba network.
>> vlc, for example, separates this functionality with a plugin.
> 
> Possibly, but something like this would need to be done upstream rather
> in the Debian package. Please file an upstream bug.
> 
I did take a look into the git source. The linking with samba is configurable.
It is possible to compile an executable without samba support.
Maybe, I'll file a bug/wish there for runtime linking.

> Having said that, I'm not sure there's that much benefit in doing this.
> On my system, installing libsmbclient added 30M which isn't a lot for

Yes, from the viewpoint of the stable release. From the viewpoint of a
testing/sid system (which I'm using) there normally there happen several updates
of the samba libs.
Also from a security viewpoint, why install (networking) software on the system
which never is used.
But maybe, I'm to much a disciple of Ockham's razor ;-)

> most people. libdvdcss is different - it's loaded dynamically for legal
> reasons.
> 
As another example, the package vlc has put the samba functionality into a
plugin (but that's also an upstream decision, I think).

Regards,
Jörg-Volker.



More information about the pkg-multimedia-maintainers mailing list