Bug#745216: librtmp-dev: Does package really depend on libgnutls-dev?

Andreas Metzler ametzler at bebt.de
Sat Apr 26 06:46:39 UTC 2014


Control: tags 745216 patch

On 2014-04-19 Alessandro Ghedini <ghedo at debian.org> wrote:
> On sab, apr 19, 2014 at 02:49:59 +0930, Arthur Marsh wrote:
> > Package: librtmp-dev
> > Version: 2.4+20131018.git79459a2-2
[...]
> > Trying to install the package on a system with libgnutls28-dev installed.
 
> > Is there a fundamental conflict between these packages, or is this just
> > a packaging issue.

> Indeed, this is preventing me to switch curl to libgnutls28. AFAICT, the only
> reason librtmp-dev depends on libgnutls-dev is because librtmp.pc has a
> "Requires: gnutls", but it doesn't seem to actually need it (i.e. none of the
> librtmp-dev headers #includes gnutls.h, and librtmp.pc doesn't have -lgnutls
> anywhere), but I may be wrong.

Hello,

Afaict this is really the case and upstream also thinks so:
-------------
0d44da9f5f5a4aa7cd64566c64d89d2fb392e3ef
   Include the nettle/hogweed crypto libraries in the pkg-config file
    
    These libraries are linked and used as directly as we use gnutls
    itself. This fixes linking for callers if librtmp is built
    statically or if the linker doesn't support transitive linking.
------------

For static lining there is "pkg-config --libs --static" and Debian's
linker does support transitive linking.

Find attached a suggested patch.

FWIW afaict gmp and zlib shouldn't be in Libs either.

cu Andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtmp.diff
Type: text/x-diff
Size: 3489 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140426/07f470d3/attachment.diff>


More information about the pkg-multimedia-maintainers mailing list