SDL2 2.0.4 is out!

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Mon Jan 11 12:05:39 UTC 2016


Hi Felix,


configure.in says:
> SDL_MAJOR_VERSION=2
> SDL_MINOR_VERSION=0
> SDL_MICRO_VERSION=4
> SDL_INTERFACE_AGE=0
> SDL_BINARY_AGE=4


# set SDL_BINARY_AGE and SDL_INTERFACE_AGE to 0.
set(SDL_MAJOR_VERSION 2)
set(SDL_MINOR_VERSION 0)
-set(SDL_MICRO_VERSION 2)
+set(SDL_MICRO_VERSION 4)
set(SDL_INTERFACE_AGE 0)
-set(SDL_BINARY_AGE 2)
+set(SDL_BINARY_AGE 4)
set(SDL_VERSION "${SDL_MAJOR_VERSION}.${SDL_MINOR_VERSION}.${SDL_MICRO_VERSION}")


this is the patch when the new upstream has been imported.

they bumped the ABI and API AFAICS


>If this is true we need to bump SHLIBS in d/rules to 2.0.4 and nothing >else.


what about the link?
dh_link -plibsdl2-dev usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2-2.0.so.0.4.0 usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2-2.0.so


I see they changed prototypes, e.g.
-extern DECLSPEC int SDLCALL SDL_SetError(const char *fmt, ...);
+extern DECLSPEC int SDLCALL SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);

and something added to structs.

Are them API compatible changes? I think/guess not, right?

cheers,

G.



More information about the Pkg-sdl-maintainers mailing list