From bbd15f9ec106b51fa9467980a5443bf39cfd3dcbbaff5b2067f0928dcd03802b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 11 Aug 2019 12:13:09 +0000 Subject: [PATCH] Accepting request 718761 from home:alois:branches:games - Update to version 2.0.10 * The SDL_RW* macros have been turned into functions that are available only in 2.0.10 and onward * Added SDL_SIMDGetAlignment(), SDL_SIMDAlloc(), and SDL_SIMDFree(), to allocate memory aligned for SIMD operations for the current CPU * Added SDL_RenderDrawPointF(), SDL_RenderDrawPointsF(), SDL_RenderDrawLineF(), SDL_RenderDrawLinesF(), SDL_RenderDrawRectF(), SDL_RenderDrawRectsF(), SDL_RenderFillRectF(), SDL_RenderFillRectsF(), SDL_RenderCopyF(), SDL_RenderCopyExF(), to allow floating point precision in the SDL rendering API. * Added SDL_GetTouchDeviceType() to get the type of a touch device, which can be a touch screen or a trackpad in relative or absolute coordinate mode. * The SDL rendering API now uses batched rendering by default, for improved performance * Added SDL_RenderFlush() to force batched render commands to execute, if you're going to mix SDL rendering with native rendering * Added the hint SDL_HINT_RENDER_BATCHING to control whether batching should be used for the rendering API. This defaults to "1" if you don't specify what rendering driver to use when creating the renderer. * Added the hint SDL_HINT_EVENT_LOGGING to enable logging of SDL events for debugging purposes * Added the hint SDL_HINT_GAMECONTROLLERCONFIG_FILE to specify a file that will be loaded at joystick initialization with game controller bindings * Added the hint SDL_HINT_MOUSE_TOUCH_EVENTS to control whether SDL will synthesize touch events from mouse events * Improved handling of malformed WAVE and BMP files, fixing potential security exploits * Removed the Mir video driver in favor of Wayland - Refreshed sdl2-symvers.patch OBS-URL: https://build.opensuse.org/request/show/718761 OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=88 --- SDL2-2.0.10.tar.gz | 3 +++ SDL2-2.0.10.tar.gz.sig | Bin 0 -> 95 bytes SDL2-2.0.9.tar.gz | 3 --- SDL2-2.0.9.tar.gz.sig | Bin 95 -> 0 bytes SDL2.changes | 40 ++++++++++++++++++++++++++++++++++++++++ SDL2.spec | 2 +- sdl2-symvers.patch | 14 +++++++------- 7 files changed, 51 insertions(+), 11 deletions(-) create mode 100644 SDL2-2.0.10.tar.gz create mode 100644 SDL2-2.0.10.tar.gz.sig delete mode 100644 SDL2-2.0.9.tar.gz delete mode 100644 SDL2-2.0.9.tar.gz.sig diff --git a/SDL2-2.0.10.tar.gz b/SDL2-2.0.10.tar.gz new file mode 100644 index 0000000..6c1f190 --- /dev/null +++ b/SDL2-2.0.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4656c13a1f0d0023ae2f4a9cf08ec92fffb464e0f24238337784159b8b91d57 +size 5550762 diff --git a/SDL2-2.0.10.tar.gz.sig b/SDL2-2.0.10.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..6a5931b6af5ce6d921e2dd22ab30d7e7045ce9d439edb8c1e37df9d0fd7ca81b GIT binary patch literal 95 zcmeB(WnmCxVvrS6WD(U!j%^5DT3>$gL7TzS$>qz-te>$m#abHKFmQ1Sz(k&YWLR)e v)xN($gL7TzS$>qz-te>$mMc+Ke!obBT022{;#jv22 vYv=NvnXkH&kLVgjul8QZ^L77xhWP;tH^#mRG4D*(v6M8QBmU~h-^uy_nQbR5 diff --git a/SDL2.changes b/SDL2.changes index bda47f2..d935db7 100644 --- a/SDL2.changes +++ b/SDL2.changes @@ -9,6 +9,46 @@ Wed Jul 31 08:47:44 UTC 2019 - Martin Liška - Use FAT LTO objects in order to provide proper static library. +------------------------------------------------------------------- +Fri Jul 26 07:44:39 UTC 2019 - Luigi Baldoni + +- Update to version 2.0.10 + * The SDL_RW* macros have been turned into functions that are + available only in 2.0.10 and onward + * Added SDL_SIMDGetAlignment(), SDL_SIMDAlloc(), and + SDL_SIMDFree(), to allocate memory aligned for SIMD + operations for the current CPU + * Added SDL_RenderDrawPointF(), SDL_RenderDrawPointsF(), + SDL_RenderDrawLineF(), SDL_RenderDrawLinesF(), + SDL_RenderDrawRectF(), SDL_RenderDrawRectsF(), + SDL_RenderFillRectF(), SDL_RenderFillRectsF(), + SDL_RenderCopyF(), SDL_RenderCopyExF(), to allow floating + point precision in the SDL rendering API. + * Added SDL_GetTouchDeviceType() to get the type of a touch + device, which can be a touch screen or a trackpad in relative + or absolute coordinate mode. + * The SDL rendering API now uses batched rendering by default, + for improved performance + * Added SDL_RenderFlush() to force batched render commands to + execute, if you're going to mix SDL rendering with native + rendering + * Added the hint SDL_HINT_RENDER_BATCHING to control whether + batching should be used for the rendering API. This defaults + to "1" if you don't specify what rendering driver to use when + creating the renderer. + * Added the hint SDL_HINT_EVENT_LOGGING to enable logging of + SDL events for debugging purposes + * Added the hint SDL_HINT_GAMECONTROLLERCONFIG_FILE to specify + a file that will be loaded at joystick initialization with + game controller bindings + * Added the hint SDL_HINT_MOUSE_TOUCH_EVENTS to control + whether SDL will synthesize touch events from mouse events + * Improved handling of malformed WAVE and BMP files, fixing + potential security exploits + * Removed the Mir video driver in favor of Wayland + +- Refreshed sdl2-symvers.patch + ------------------------------------------------------------------- Sun Nov 4 14:10:15 UTC 2018 - Luigi Baldoni diff --git a/SDL2.spec b/SDL2.spec index 429047a..75ee270 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -18,7 +18,7 @@ Name: SDL2 %define lname libSDL2-2_0-0 -Version: 2.0.9 +Version: 2.0.10 Release: 0 Summary: Simple DirectMedia Layer Library License: Zlib diff --git a/sdl2-symvers.patch b/sdl2-symvers.patch index ab63d84..02c9a9b 100644 --- a/sdl2-symvers.patch +++ b/sdl2-symvers.patch @@ -8,23 +8,23 @@ some symvers so that zypper knows when to upgrade SDL. sdl2.sym | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 1 deletion(-) -Index: SDL2-2.0.8/Makefile.in +Index: SDL2-2.0.10/Makefile.in =================================================================== ---- SDL2-2.0.8.orig/Makefile.in -+++ SDL2-2.0.8/Makefile.in -@@ -122,7 +122,7 @@ LT_AGE = @LT_AGE@ +--- SDL2-2.0.10.orig/Makefile.in ++++ SDL2-2.0.10/Makefile.in +@@ -125,7 +125,7 @@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_RELEASE = @LT_RELEASE@ LT_REVISION = @LT_REVISION@ -LT_LDFLAGS = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) +LT_LDFLAGS = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -Wl,--version-script=sdl2.sym - all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET) + all: $(srcdir)/configure Makefile $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET) -Index: SDL2-2.0.8/sdl2.sym +Index: SDL2-2.0.10/sdl2.sym =================================================================== --- /dev/null -+++ SDL2-2.0.8/sdl2.sym ++++ SDL2-2.0.10/sdl2.sym @@ -0,0 +1,68 @@ +SUSE_2.0.5 { +global: