Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package SDL2 for openSUSE:Factory checked in 
at 2022-04-28 23:07:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/SDL2 (Old)
 and      /work/SRC/openSUSE:Factory/.SDL2.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "SDL2"

Thu Apr 28 23:07:00 2022 rev:39 rq:972796 version:2.0.22

Changes:
--------
--- /work/SRC/openSUSE:Factory/SDL2/SDL2.changes        2022-01-25 
17:36:30.466153486 +0100
+++ /work/SRC/openSUSE:Factory/.SDL2.new.1538/SDL2.changes      2022-04-28 
23:07:01.364625677 +0200
@@ -1,0 +2,37 @@
+Mon Apr 25 21:54:48 UTC 2022 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to release 2.0.22
+  * 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.
+  * 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.
+
+-------------------------------------------------------------------

Old:
----
  SDL2-2.0.20.tar.gz
  SDL2-2.0.20.tar.gz.sig

New:
----
  SDL2-2.0.22.tar.gz
  SDL2-2.0.22.tar.gz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ SDL2.spec ++++++
--- /var/tmp/diff_new_pack.FUnkQB/_old  2022-04-28 23:07:02.100626479 +0200
+++ /var/tmp/diff_new_pack.FUnkQB/_new  2022-04-28 23:07:02.104626484 +0200
@@ -19,7 +19,7 @@
 %define sle_version 0
 Name:           SDL2
 %define lname   libSDL2-2_0-0
-Version:        2.0.20
+Version:        2.0.22
 Release:        0
 Summary:        Simple DirectMedia Layer Library
 License:        Zlib
@@ -57,7 +57,7 @@
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(tslib)
 BuildRequires:  pkgconfig(udev)
-BuildRequires:  pkgconfig(wayland-client)
+BuildRequires:  pkgconfig(wayland-client) >= 1.18
 BuildRequires:  pkgconfig(wayland-cursor)
 BuildRequires:  pkgconfig(wayland-egl)
 BuildRequires:  pkgconfig(wayland-protocols)
@@ -108,6 +108,7 @@
 %prep
 %autosetup -p1
 perl -i -pe 's{\r\n}{\n}g' *.txt README.md
+echo 'V_%version { global: *; };' >sdl2.sym
 
 %build
 %global _lto_cflags %_lto_cflags -ffat-lto-objects

++++++ SDL2-2.0.20.tar.gz -> SDL2-2.0.22.tar.gz ++++++
/work/SRC/openSUSE:Factory/SDL2/SDL2-2.0.20.tar.gz 
/work/SRC/openSUSE:Factory/.SDL2.new.1538/SDL2-2.0.22.tar.gz differ: char 5, 
line 1

++++++ sdl2-symvers.patch ++++++
--- /var/tmp/diff_new_pack.FUnkQB/_old  2022-04-28 23:07:02.180626566 +0200
+++ /var/tmp/diff_new_pack.FUnkQB/_new  2022-04-28 23:07:02.180626566 +0200
@@ -1,18 +1,23 @@
 From: Jan Engelhardt <jeng...@inai.de>
 Date: 2018-01-10 23:56:12.245827883 +0100
+Should-this-be-upstream: yes
+Is-it-upstream: not submitted yet
+
+Functions were added over time, but neither was the SONAME changed
+nor was a symvers file made. As a result, rpm is unable to
+prevent a too-modern program being ran against a too-old SDL library.
+It's bad user experience when symbols are resolved lazily, as the
+program may crash.
 
-Scrape the SDL announcements since 2.0.3 (version in Leap 42.3) and add
-some symvers so that zypper knows when to upgrade SDL.
 ---
- Makefile.in |    2 
- sdl2.sym    |  124 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- 2 files changed, 125 insertions(+), 1 deletion(-)
+ Makefile.in |    7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
 
-Index: SDL2-2.0.16/Makefile.in
+Index: SDL2-2.0.22/Makefile.in
 ===================================================================
---- SDL2-2.0.16.orig/Makefile.in
-+++ SDL2-2.0.16/Makefile.in
-@@ -132,7 +132,7 @@ LT_AGE      = @LT_AGE@
+--- SDL2-2.0.22.orig/Makefile.in
++++ SDL2-2.0.22/Makefile.in
+@@ -134,7 +134,7 @@ LT_AGE      = @LT_AGE@
  LT_CURRENT  = @LT_CURRENT@
  LT_RELEASE  = @LT_RELEASE@
  LT_REVISION = @LT_REVISION@
@@ -21,133 +26,4 @@
  
  all: $(srcdir)/configure Makefile $(objects)/$(TARGET) 
$(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET)
  
-Index: SDL2-2.0.16/sdl2.sym
-===================================================================
---- /dev/null
-+++ SDL2-2.0.16/sdl2.sym
-@@ -0,0 +1,124 @@
-+SUSE_2.0.5 {
-+global:
-+      SDL_DequeueAudio;
-+      SDL_GetHintBoolean;
-+      SDL_RenderSetIntegerScale;
-+      SDL_CreateRGBSurfaceWithFormat;
-+      SDL_CreateRGBSurfaceWithFormatFrom;
-+      SDL_GetDisplayUsableBounds;
-+      SDL_GetWindowBordersSize;
-+      SDL_SetWindowResizable;
-+      SDL_SetWindowOpacity;
-+      SDL_SetWindowModalFor;
-+};
-+SUSE_2.0.6 {
-+global:
-+      SDL_Vulkan_LoadLibrary;
-+      SDL_Vulkan_GetVkGetInstanceProcAddr;
-+      SDL_Vulkan_GetInstanceExtensions;
-+      SDL_Vulkan_CreateSurface;
-+      SDL_Vulkan_GetDrawableSize;
-+      SDL_Vulkan_UnloadLibrary;
-+      SDL_ComposeCustomBlendMode;
-+      SDL_HasNEON;
-+      SDL_JoystickGetDeviceVendor;
-+      SDL_JoystickGetDeviceProduct;
-+      SDL_JoystickGetDeviceProductVersion;
-+      SDL_JoystickGetDeviceType;
-+      SDL_JoystickGetDeviceInstanceID;
-+      SDL_JoystickGetVendor;
-+      SDL_JoystickGetProduct;
-+      SDL_JoystickGetProductVersion;
-+      SDL_JoystickGetType;
-+      SDL_JoystickGetAxisInitialState;
-+      SDL_GameControllerGetVendor;
-+      SDL_GameControllerGetProduct;
-+      SDL_GameControllerGetProductVersion;
-+      SDL_GameControllerNumMappings;
-+      SDL_GameControllerMappingForIndex;
-+      SDL_LoadFile;
-+      SDL_LoadFile_RW;
-+      SDL_DuplicateSurface;
-+} SUSE_2.0.5;
-+SUSE_2.0.7 {
-+global:
-+      SDL_NewAudioStream;
-+      SDL_AudioStreamPut;
-+      SDL_AudioStreamGet;
-+      SDL_AudioStreamAvailable;
-+      SDL_AudioStreamFlush;
-+      SDL_AudioStreamClear;
-+      SDL_FreeAudioStream;
-+      SDL_GetMemoryFunctions;
-+      SDL_SetMemoryFunctions;
-+      SDL_GetNumAllocations;
-+      SDL_LockJoystick;
-+      SDL_UnlockJoystick;
-+      SDL_SetEventFilter;
-+      SDL_GetEventFilter;
-+      SDL_AddEventWatch;
-+      SDL_DelEventWatch;
-+} SUSE_2.0.6;
-+SUSE_2.0.8 {
-+global:
-+      SDL_fmod;
-+      SDL_log10;
-+      SDL_SetYUVConversionMode;
-+      SDL_GetYUVConversionMode;
-+} SUSE_2.0.7;
-+SUSE_2.0.9 {
-+global:
-+      SDL_CreateThreadWithStackSize;
-+      SDL_GameControllerGetPlayerIndex;
-+      SDL_GameControllerMappingForDeviceIndex;
-+      SDL_GameControllerRumble;
-+      SDL_GetDisplayOrientation;
-+      SDL_HasAVX512F;
-+      SDL_HasColorKey;
-+      SDL_IsTablet;
-+      SDL_JoystickGetDevicePlayerIndex;
-+      SDL_JoystickGetPlayerIndex;
-+      SDL_JoystickRumble;
-+      SDL_LinuxSetThreadPriority;
-+      SDL_NumSensors;
-+      SDL_SensorClose;
-+      SDL_SensorFromInstanceID;
-+      SDL_SensorGetData;
-+      SDL_SensorGetDeviceInstanceID;
-+      SDL_SensorGetDeviceName;
-+      SDL_SensorGetDeviceNonPortableType;
-+      SDL_SensorGetDeviceType;
-+      SDL_SensorGetInstanceID;
-+      SDL_SensorGetName;
-+      SDL_SensorGetNonPortableType;
-+      SDL_SensorGetType;
-+      SDL_SensorOpen;
-+      SDL_SensorUpdate;
-+      SDL_exp;
-+      SDL_expf;
-+      SDL_wcsdup;
-+} SUSE_2.0.8;
-+SUSE_2.0.10 {
-+global:
-+      SDL_GetTouchDeviceType;
-+      SDL_RWclose;
-+      SDL_RWread;
-+      SDL_RWseek;
-+      SDL_RWsize;
-+      SDL_RWtell;
-+      SDL_RWwrite;
-+      SDL_RenderCopyExF;
-+      SDL_RenderCopyF;
-+      SDL_RenderDrawLineF;
-+      SDL_RenderDrawLinesF;
-+      SDL_RenderDrawPointF;
-+      SDL_RenderDrawPointsF;
-+      SDL_RenderDrawRectF;
-+      SDL_RenderDrawRectsF;
-+      SDL_RenderFillRectF;
-+      SDL_RenderFillRectsF;
-+      SDL_RenderFlush;
-+      SDL_SIMDAlloc;
-+      SDL_SIMDFree;
-+      SDL_SIMDGetAlignment;
-+} SUSE_2.0.9;
 

Reply via email to