Bug#670122: libsdl1.2-dev – Missing dependencies on libcaca-dev and libpulse-dev

Sebastian Dröge slomo at circular-chaos.org
Fri Jun 1 10:05:07 UTC 2012


On Fr, 2012-06-01 at 11:35 +0200, Felix Geyer wrote:
> severity 670122 normal
> thanks
> 
> On 17.05.2012 13:19, Sebastian Dröge wrote:
> > On Sa, 2012-05-05 at 17:56 +0200, Julien Cristau wrote:
> >> On Mon, Apr 23, 2012 at 09:45:01 +0200, Sebastian Dröge wrote:
> >>
> >>> Package: libsdl1.2-dev
> >>> Severity: serious
> >>>
> >>> Hi,
> >>> libsdl1.2-dev must depend on libcaca-dev and libpulse-dev as
> >>> 'sdl-config --libs --static-libs' adds both libraries to the
> >>> linker flags.
> >>> Also all remaining other libraries that might be missing from
> >>> the -dev package dependencies from that list must be added.
> >>>
> >> Which debian packages use --static-libs, and why?
> > gst-plugins-bad0.10 uses this in the configure check. Check
> > m4/gst-sdl.m4 for the configure check used there.
> 
> I hope it doesn't actually use the static library in which case the check
> can just be fixed.
> 
> I'm considering adding the -dev packages required for static linking
> as Recommends.

This is basically the same as with pkg-config files. If your libraries
requires other libraries for linking (even if it's only for static
linking), your package *must* depend on the relevant -dev packages. Or
you just drop the possibility to do static linking. (gst-plugins-bad
does not do static linking btw, this is just the configure check but
what I said is true nonetheless)

FWIW, on kfreebsd you also need to depend on whatever package provides
libusbhid.


Anyway, I just dropped the SDL plugin from gst-plugins-bad now to get
around this issue (and the plugin is very important anyway).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20120601/fd90271e/attachment.pgp>


More information about the Pkg-sdl-maintainers mailing list