sdl2: Update to version 2.0.22

Message ID 20220504195128.2945089-1-adolf.belka@ipfire.org
State Accepted
Commit 6f3da00c53ac58dcbb833740b7a6f069166ee98f
Headers
Series sdl2: Update to version 2.0.22 |

Commit Message

Adolf Belka May 4, 2022, 7:51 p.m. UTC
  - Update from version 2.0.20 to 2.0.22
- Update of rootfile
- Changelog
   2.0.22:
     General:
	* Added SDL_RenderGetWindow() to get the window associated with a renderer
	* Added floating point rectangle functions:
	    * SDL_PointInFRect()
	    * SDL_FRectEmpty()
	    * SDL_FRectEquals()
	    * SDL_FRectEqualsEpsilon()
	    * SDL_HasIntersectionF()
	    * SDL_IntersectFRect()
	    * SDL_UnionFRect()
	    * SDL_EncloseFPoints()
	    * SDL_IntersectFRectAndLine()
	* Added SDL_IsTextInputShown() which returns whether the IME window is currently
          shown
	* Added SDL_ClearComposition() to dismiss the composition window without disabling
          IME input
	* Added SDL_TEXTEDITING_EXT event for handling long composition text, and a hint
          SDL_HINT_IME_SUPPORT_EXTENDED_TEXT to enable it
	* Added the hint SDL_HINT_MOUSE_RELATIVE_MODE_CENTER to control whether the mouse
          should be constrained to the whole window or the center of the window when
          relative mode is enabled
	* The mouse is now automatically captured when mouse buttons are pressed, and the
          hint SDL_HINT_MOUSE_AUTO_CAPTURE allows you to control this behavior
	* Added the hint SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL to let SDL know that a
          foreign window will be used with OpenGL
	* Added the hint SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN to let SDL know that a
          foreign window will be used with Vulkan
	* Added the hint SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE to specify whether an
          SDL_QUIT event will be delivered when the last application window is closed
	* Added the hint SDL_HINT_JOYSTICK_ROG_CHAKRAM to control whether ROG Chakram
          mice show up as joysticks
     Windows:
	* Added support for SDL_BLENDOPERATION_MINIMUM and SDL_BLENDOPERATION_MAXIMUM to
          the D3D9 renderer
     Linux:
	* Compiling with Wayland support requires libwayland-client version 1.18.0 or later
	* Added the hint SDL_HINT_X11_WINDOW_TYPE to specify the _NET_WM_WINDOW_TYPE of
          SDL windows
	* Added the hint SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR to allow using libdecor
          with compositors that support xdg-decoration
     Android:
	* Added SDL_AndroidSendMessage() to send a custom command to the SDL java activity

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

Comments

Peter Müller May 5, 2022, 3:26 p.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from version 2.0.20 to 2.0.22
> - Update of rootfile
> - Changelog
>    2.0.22:
>      General:
> 	* Added SDL_RenderGetWindow() to get the window associated with a renderer
> 	* Added floating point rectangle functions:
> 	    * SDL_PointInFRect()
> 	    * SDL_FRectEmpty()
> 	    * SDL_FRectEquals()
> 	    * SDL_FRectEqualsEpsilon()
> 	    * SDL_HasIntersectionF()
> 	    * SDL_IntersectFRect()
> 	    * SDL_UnionFRect()
> 	    * SDL_EncloseFPoints()
> 	    * SDL_IntersectFRectAndLine()
> 	* Added SDL_IsTextInputShown() which returns whether the IME window is currently
>           shown
> 	* Added SDL_ClearComposition() to dismiss the composition window without disabling
>           IME input
> 	* Added SDL_TEXTEDITING_EXT event for handling long composition text, and a hint
>           SDL_HINT_IME_SUPPORT_EXTENDED_TEXT to enable it
> 	* Added the hint SDL_HINT_MOUSE_RELATIVE_MODE_CENTER to control whether the mouse
>           should be constrained to the whole window or the center of the window when
>           relative mode is enabled
> 	* The mouse is now automatically captured when mouse buttons are pressed, and the
>           hint SDL_HINT_MOUSE_AUTO_CAPTURE allows you to control this behavior
> 	* Added the hint SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL to let SDL know that a
>           foreign window will be used with OpenGL
> 	* Added the hint SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN to let SDL know that a
>           foreign window will be used with Vulkan
> 	* Added the hint SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE to specify whether an
>           SDL_QUIT event will be delivered when the last application window is closed
> 	* Added the hint SDL_HINT_JOYSTICK_ROG_CHAKRAM to control whether ROG Chakram
>           mice show up as joysticks
>      Windows:
> 	* Added support for SDL_BLENDOPERATION_MINIMUM and SDL_BLENDOPERATION_MAXIMUM to
>           the D3D9 renderer
>      Linux:
> 	* Compiling with Wayland support requires libwayland-client version 1.18.0 or later
> 	* Added the hint SDL_HINT_X11_WINDOW_TYPE to specify the _NET_WM_WINDOW_TYPE of
>           SDL windows
> 	* Added the hint SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR to allow using libdecor
>           with compositors that support xdg-decoration
>      Android:
> 	* Added SDL_AndroidSendMessage() to send a custom command to the SDL java activity
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/packages/sdl2 | 2 +-
>  lfs/sdl2                       | 6 +++---
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/config/rootfiles/packages/sdl2 b/config/rootfiles/packages/sdl2
> index ae18130fb..a95500017 100644
> --- a/config/rootfiles/packages/sdl2
> +++ b/config/rootfiles/packages/sdl2
> @@ -81,7 +81,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.18.2
> +usr/lib/libSDL2-2.0.so.0.22.0
>  #usr/lib/libSDL2.la
>  usr/lib/libSDL2.so
>  #usr/lib/libSDL2_test.a
> diff --git a/lfs/sdl2 b/lfs/sdl2
> index fb9bee353..0e1d70950 100644
> --- a/lfs/sdl2
> +++ b/lfs/sdl2
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 2.0.20
> +VER        = 2.0.22
>  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    = 6
> +PAK_VER    = 7
>  
>  DEPS       = alsa
>  
> @@ -47,7 +47,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_BLAKE2 = 03c6d462674aeb90559003e9f4c74f66833e193d2de3f3975f1e1684c5bdccb5c1b3c64c22c822777a63ee218d87fd04ff047b012d8db30a1565dafa34161623
> +$(DL_FILE)_BLAKE2 = 7f8b3efa709a0514f6a76df4ffc8b756d287d1e372ed107d0525a22cb5e6a168709136d375b6708b2073a76dd30d1bf06203d2c5c3eb2990e80519c7d1558df5
>  
>  install : $(TARGET)
>
  

Patch

diff --git a/config/rootfiles/packages/sdl2 b/config/rootfiles/packages/sdl2
index ae18130fb..a95500017 100644
--- a/config/rootfiles/packages/sdl2
+++ b/config/rootfiles/packages/sdl2
@@ -81,7 +81,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.18.2
+usr/lib/libSDL2-2.0.so.0.22.0
 #usr/lib/libSDL2.la
 usr/lib/libSDL2.so
 #usr/lib/libSDL2_test.a
diff --git a/lfs/sdl2 b/lfs/sdl2
index fb9bee353..0e1d70950 100644
--- a/lfs/sdl2
+++ b/lfs/sdl2
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.0.20
+VER        = 2.0.22
 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    = 6
+PAK_VER    = 7
 
 DEPS       = alsa
 
@@ -47,7 +47,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 03c6d462674aeb90559003e9f4c74f66833e193d2de3f3975f1e1684c5bdccb5c1b3c64c22c822777a63ee218d87fd04ff047b012d8db30a1565dafa34161623
+$(DL_FILE)_BLAKE2 = 7f8b3efa709a0514f6a76df4ffc8b756d287d1e372ed107d0525a22cb5e6a168709136d375b6708b2073a76dd30d1bf06203d2c5c3eb2990e80519c7d1558df5
 
 install : $(TARGET)