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

Dominique Dumont dod at debian.org
Sat May 5 09:45:38 UTC 2012


Le Monday 23 April 2012 09:45:01, Sebastian Dröge a écrit :
> libsdl1.2-dev must depend on libcaca-dev and libpulse-dev as
> 'sdl-config --libs --static-libs' adds both libraries to the
> linker flags.

I think (but have not verified) that sdl-config listing all these libs is 
necessary so the linker can resolve all symbols during compilation of a SDL 
application (like bomberclone). 

Symbols like png or caca functions are linked in your application whenever you 
load libSDL-1.2. But they can be used only if you can have access to the API 
(the .h file) during the compilation. In other word, you need to have libpng-
dev only if your application need to use directly symbols from png. libpng-dev 
is not needed if your application does not handle directly png files. Note 
that png data can be handled as binary blob and forwarded to sdl without 
needing special png function (hence without needing linpng-dev).

So, before going further on this bug, I'd like you to elaborate a little bit 
more about the problem you're having. For instance, what kind of error do you 
face ?

All the best

Dominique
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20120505/f4ee91a2/attachment-0001.pgp>


More information about the Pkg-sdl-maintainers mailing list