[Pkg-sdl-commits] [SCM] Debian packaging of SDL_image 1.2 branch, master, updated. debian/1.2.11-2-2-g0d19077
debfx-pkg at fobos.de
Mon Feb 6 20:05:38 UTC 2012
On 06.02.2012 19:47, Manuel A. Fernandez Montecelo wrote:
> Hi Felix,
> 2012/2/6 Felix Geyer <debfx-pkg at fobos.de>:
>> +sdl-image1.2 (1.2.11-3) UNRELEASED; urgency=low
>> + * Re-add dh_makeshlibs override and set minimum version to 1.2.8.
>> + -- Felix Geyer <debfx-pkg at fobos.de> Mon, 06 Feb 2012 18:08:31 +0100
>> sdl-image1.2 (1.2.11-2) unstable; urgency=high
>> * Backported patch to fix bug "libsdl-image1.2: Some corrupted images
>> diff --git a/debian/rules b/debian/rules
>> index 39e9abf..622bd76 100755
>> --- a/debian/rules
>> +++ b/debian/rules
>> @@ -27,10 +27,8 @@ override_dh_autoreconf:
>> dh_auto_configure -- $(confflags)
>> -# mafm: is this really needed?
>> -# dh_makeshlibs -V 'libsdl-image1.2 (>= 1.2.11)'
>> + dh_makeshlibs -V 'libsdl-image1.2 (>= 1.2.8)'
> Can you please explain why is this needed (which are the effects of it
> being present or not), and why did you set it to .8? It was .10
> before I deactivated it, as far as I can tell from what I recall and a
> quick look at the repository.
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.
More information about the Pkg-sdl-maintainers