sdl2: Update to version 2.30.1

Message ID 20240314133258.13438-5-adolf.belka@ipfire.org
State Staged
Commit 1887a63d2635b61ce31ceac3c0817651d6c4369a
Headers
Series sdl2: Update to version 2.30.1 |

Commit Message

Adolf Belka March 14, 2024, 1:32 p.m. UTC
  - Update from version 2.28.5 to 2.30.1
- Update of rootfile
- Changelog
    2.30.1
	    Fixed a regression causing SDL_WaitEvent() to return spurious failures
	    Fixed X11 cursors on the latest release of GNOME
	    Wayland windows automatically have OpenGL enabled again
	    Fixed memory corruption when converting signed 16-bit audio to float
	    Fixed audio artifacts when converting signed 8-bit audio to float
	    Fixed the clip rectangle not being updated when the viewport changes in the SDL renderer
	    Convert mouse wheel coordinates to the rendering view in the SDL renderer
	    Fixed a crash handling controllers on macOS
	    Fixed a crash setting a window fullscreen with Emscripten
	    Fixed the keyboard automatically popping up when resuming an application on Android
    2.30.0
	In addition to lots of bug fixes, here are the major changes in this release:
	General:
	    Added support for 2 bits-per-pixel indexed surface formats
	    Added the function SDL_GameControllerGetSteamHandle() to get the Steam API handle for a controller, if available
	    Added the event SDL_CONTROLLERSTEAMHANDLEUPDATED which is sent when the Steam API handle for a controller changes. This could also change the name, VID, and PID of the controller.
	    Added the environment variable SDL_LOGGING to control default log output
	macOS:
	    Added the hint SDL_HINT_JOYSTICK_IOKIT to control whether the IOKit controller driver should be used
	    Added the hint SDL_HINT_JOYSTICK_MFI to control whether the GCController controller driver should be used
	    Added the hint SDL_HINT_RENDER_METAL_PREFER_LOW_POWER_DEVICE to choose whether high or low power GPU should be used for rendering, in the case where there are multiple GPUs available
	Xbox:
	    Added the function SDL_GDKGetDefaultUser()

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/sdl2 | 2 +-
 lfs/sdl2                       | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
  

Patch

diff --git a/config/rootfiles/packages/sdl2 b/config/rootfiles/packages/sdl2
index 10691044c..b0d960660 100644
--- a/config/rootfiles/packages/sdl2
+++ b/config/rootfiles/packages/sdl2
@@ -82,7 +82,7 @@ 
 #usr/lib/cmake/SDL2/sdl2-config-version.cmake
 #usr/lib/cmake/SDL2/sdl2-config.cmake
 usr/lib/libSDL2-2.0.so.0
-usr/lib/libSDL2-2.0.so.0.2800.5
+usr/lib/libSDL2-2.0.so.0.3000.1
 #usr/lib/libSDL2.la
 usr/lib/libSDL2.so
 #usr/lib/libSDL2_test.a
diff --git a/lfs/sdl2 b/lfs/sdl2
index 51d7de8cc..de7a5e736 100644
--- a/lfs/sdl2
+++ b/lfs/sdl2
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.28.5
+VER        = 2.30.1
 SUMMARY    = Simple DirectMedia Layer Library
 
 THISAPP    = SDL2-$(VER)
@@ -33,7 +33,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = sdl2
-PAK_VER    = 14
+PAK_VER    = 15
 
 DEPS       = alsa
 
@@ -47,7 +47,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = c96481bc02af6b6d077247238f7e46b0e3ec216664584add29cafb0a91d06dc6ddc637a01519dbd7182d4fa59cfaf26ad6733f72583021cf65849416f9c4b698
+$(DL_FILE)_BLAKE2 = 5cc651bcb38a1a3989a966351074b1a77f511b5bef0d3c9aef06d67d89f1d0ee926f5cba4bf2d45be28bb3f1e9da9b3f17a85f094c8547586072b24ee342777d
 
 install : $(TARGET)