[Pkg-sdl-commits] [SCM] Debian packaging of SDL_image 1.2 branch, master, updated. debian/1.2.11-2-2-g0d19077

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Mon Feb 6 22:14:53 UTC 2012


2012/2/6 Felix Geyer <debfx-pkg at fobos.de>:
> It sets the minimal version of sdl-image1.2 that other package depend on.
> So if you have another package that links against libsdl-image1.2 it will depend
> on libsdl-image1.2 (>= 1.2.8).
> This is necessary when the library adds new interfaces/functions at some point.
> If you leave it out the dependency is versionless.
>
> Most SDL libraries specify an INTERFACE_AGE in confiugre.in. It provides the number
> of releases where no new interfaces have been added.
> So MICRO_VERSION - INTERFACE_AGE is the number you need to pass to dh_makeshlibs.
> For sdl-image that's 11 - 3 = 8.

So if I understood it correctly, is it a way to manually especify the
SO versions?

If this is the case, several related questions come to mind:

- If the numbers that they provide can be relied upon, should we try
to use it for the other SDL libraries?

- Furthermore, should we devise an automatic way to check/generate
that (e.g. a script that we can share across our packages)?

Cheers.



More information about the Pkg-sdl-maintainers mailing list