sdl2: Update to version 2.0.20

Message ID 20220203215325.2731657-1-adolf.belka@ipfire.org
State Accepted
Commit 6ba00f50c4bd5d44a4d8fb5cf82b2d99d4f530be
Headers
Series sdl2: Update to version 2.0.20 |

Commit Message

Adolf Belka Feb. 3, 2022, 9:53 p.m. UTC
  - Update from 2.0.18 to 2.0.20
- Update of rootfile
- Changelog
   2.0.20:
    General:
     * SDL_RenderGeometryRaw() takes a pointer to SDL_Color, not int. You can cast color
       data in SDL_PIXELFORMAT_RGBA32 format (SDL_PIXELFORMAT_ABGR8888 on little endian
       systems) for this parameter.
     * Improved accuracy of horizontal and vertical line drawing when using OpenGL or
       OpenGLES
     * Added the hint SDL_HINT_RENDER_LINE_METHOD to control the method of line drawing
       used, to select speed, correctness, and compatibility.
    Windows:
     * Fixed size of custom cursors
    Linux:
     * Fixed hotplug controller detection, broken in 2.0.18

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 Feb. 4, 2022, 10:09 a.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from 2.0.18 to 2.0.20
> - Update of rootfile
> - Changelog
>    2.0.20:
>     General:
>      * SDL_RenderGeometryRaw() takes a pointer to SDL_Color, not int. You can cast color
>        data in SDL_PIXELFORMAT_RGBA32 format (SDL_PIXELFORMAT_ABGR8888 on little endian
>        systems) for this parameter.
>      * Improved accuracy of horizontal and vertical line drawing when using OpenGL or
>        OpenGLES
>      * Added the hint SDL_HINT_RENDER_LINE_METHOD to control the method of line drawing
>        used, to select speed, correctness, and compatibility.
>     Windows:
>      * Fixed size of custom cursors
>     Linux:
>      * Fixed hotplug controller detection, broken in 2.0.18
> 
> 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 b843b9d98..ae18130fb 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.0
> +usr/lib/libSDL2-2.0.so.0.18.2
>  #usr/lib/libSDL2.la
>  usr/lib/libSDL2.so
>  #usr/lib/libSDL2_test.a
> diff --git a/lfs/sdl2 b/lfs/sdl2
> index 2cdf013eb..3530d6675 100644
> --- a/lfs/sdl2
> +++ b/lfs/sdl2
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 2.0.18
> +VER        = 2.0.20
>  
>  THISAPP    = SDL2-$(VER)
>  DL_FILE    = $(THISAPP).tar.gz
> @@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>  TARGET     = $(DIR_INFO)/$(THISAPP)
>  PROG       = sdl2
> -PAK_VER    = 5
> +PAK_VER    = 6
>  
>  DEPS       = alsa
>  
> @@ -44,7 +44,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_MD5 = c1dd33299db5b7091f37d989c68d5212
> +$(DL_FILE)_MD5 = a53acc02e1cca98c4123229069b67c9e
>  
>  install : $(TARGET)
>
  

Patch

diff --git a/config/rootfiles/packages/sdl2 b/config/rootfiles/packages/sdl2
index b843b9d98..ae18130fb 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.0
+usr/lib/libSDL2-2.0.so.0.18.2
 #usr/lib/libSDL2.la
 usr/lib/libSDL2.so
 #usr/lib/libSDL2_test.a
diff --git a/lfs/sdl2 b/lfs/sdl2
index 2cdf013eb..3530d6675 100644
--- a/lfs/sdl2
+++ b/lfs/sdl2
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.0.18
+VER        = 2.0.20
 
 THISAPP    = SDL2-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = sdl2
-PAK_VER    = 5
+PAK_VER    = 6
 
 DEPS       = alsa
 
@@ -44,7 +44,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = c1dd33299db5b7091f37d989c68d5212
+$(DL_FILE)_MD5 = a53acc02e1cca98c4123229069b67c9e
 
 install : $(TARGET)