SHA256
1
0
forked from pool/SDL3

Compare commits

..

No commits in common. "master" and "factory" have entirely different histories.

9 changed files with 46 additions and 104 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,32 @@
From d35bef64e913dd7d5dd3153a4b61f10ef837dad6 Mon Sep 17 00:00:00 2001
From: Neal Gompa <neal@gompa.dev>
Date: Mon, 10 Feb 2025 05:00:56 -0500
Subject: [PATCH] pipewire: Ensure that the correct struct is used for
enumeration APIs
PipeWire now requires the correct struct type is used, otherwise
it will fail to compile.
Reference: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/188d920733f0791413d3386e5536ee7377f71b2f
Fixes: https://github.com/libsdl-org/SDL/issues/12224
---
src/audio/pipewire/SDL_pipewire.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/audio/pipewire/SDL_pipewire.c b/src/audio/pipewire/SDL_pipewire.c
index 4e71dd52a..dfb5d6cf3 100644
--- a/src/audio/pipewire/SDL_pipewire.c
+++ b/src/audio/pipewire/SDL_pipewire.c
@@ -548,7 +548,7 @@ static void node_event_info(void *object, const struct pw_node_info *info)
// Need to parse the parameters to get the sample rate
for (i = 0; i < info->n_params; ++i) {
- pw_node_enum_params(node->proxy, 0, info->params[i].id, 0, 0, NULL);
+ pw_node_enum_params((struct pw_node*)node->proxy, 0, info->params[i].id, 0, 0, NULL);
}
hotplug_core_sync(node);
--
2.48.1

BIN
SDL3-3.2.16.tar.gz (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
SDL3-3.2.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
SDL3-3.2.4.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,101 +1,4 @@
-------------------------------------------------------------------
Tue Jun 3 07:55:36 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.16
* Fixed a rare crash in SDL_WaitEvent()
* Fixed entering fullscreen mode on some X11 window managers
* Fixed hang processing mouse input on Wayland
* Fixed occasionally corrupt text input on Wayland
* Respect the application text input area on Wayland
-------------------------------------------------------------------
Wed May 14 18:15:30 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.14
* Fixed crash querying the name of logical audio devices.
* Fixed thread-local storage related black screen issue when
pulseaudio audio output is active.
* Reverted dead key reporting on X11, which introduced bugs with
IME handling.
* Fixed incorrect destination usage mode for storage buffer
read/write bindings on Vulkan.
-------------------------------------------------------------------
Mon May 5 03:31:11 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.12
* Fixed crash if SDL_BlitSurfaceScaled() is used with a surface
that has no pixels
* Allow rendering a zero sized source rectangle in the SDL render
API
* Added support for the share button on the GameSir-K1 FLUX
controller
* Added support for the PowerA Battle Dragon Advanced Wireless
Controller
* Added support for the HORI Taiko No Tatsujin Drum Controller
* Fixed the Keychron K1 Pro System Control keyboard being
detected as a joystick
* Fixed right mouse button emulation when using a Wacom tablet in
Windows Ink mode
* Fixed missing simulated mouse events using a Wacom tablet when
Windows Ink mode is disabled
* Key events are now sent for dead keys on X11
* Improved handling of window management edge conditions on X11
* Fixed message box location on multi-monitor configurations on
X11
* Fixed XInput2 mouse tracking outside the window on X11
-------------------------------------------------------------------
Tue Apr 1 17:20:44 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.10
* Added support for SDL_PIXELFORMAT_MJPG to SDL_DuplicateSurface()
* Added SIMD blitters for 8888 to 8888 swizzled format conversion
* Added mappings for the Nintendo Switch Online N64/SEGA/SNES
controllers on Linux
* Added SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT to control
whether XSelectInput() should be called on external windows
-------------------------------------------------------------------
Fri Mar 14 17:37:06 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Trim extraneous X11 dependencies from SDL3-devel [boo#1239635]
-------------------------------------------------------------------
Wed Mar 5 20:06:38 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.8
* Fixed a bug restoring the desktop mode on X11
* Fixed being unable to get message box fonts on some Linux systems
* Fixed a potential crash unplugging a HIDAPI controller
* Fixed the 2D clip rect when logical presentation is enabled
-------------------------------------------------------------------
Sun Mar 2 09:48:26 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.6
* Added support for Motion JPEG camera capture
* Allow 2D render targets to use logical presentation
* Fixed audio glitch when resampling between large frequency
differences
* Fixed pen generated mouse events not having SDL_PEN_MOUSEID
* Added support for the 8BitDo Micro gamepad
* Added SDL_HINT_JOYSTICK_HAPTIC_AXES to specify how many haptic
axes a device has
* Fixed SDL_GetRelativeMouseState() returning no motion when not
in relative mouse mode
* Added SDL_PROP_SURFACE_HOTSPOT_X_NUMBER and
SDL_PROP_SURFACE_HOTSPOT_Y_NUMBER to allow storing cursor
hotspot positions directly in an SDL_Surface
* Added support for high DPI icons on Wayland
* Added color management protocol support on Wayland
* Fixed flushing audio forever in some cases when recording
PulseAudio on Linux
* Fixed a rare deadlock when opening an audio device using
PipeWire on Linux
- Delete 0001-pipewire-Ensure-that-the-correct-struct-is-used-for-.patch
(merged)
-------------------------------------------------------------------
Tue Feb 25 16:16:00 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Add 0001-pipewire-Ensure-that-the-correct-struct-is-used-for-.patch

View File

@ -19,7 +19,7 @@
%define sle_version 0
Name: SDL3
%define lname libSDL3-0
Version: 3.2.16
Version: 3.2.4
Release: 0
Summary: Simple DirectMedia Layer Library
License: Zlib
@ -30,6 +30,7 @@ Source: https://github.com/libsdl-org/SDL/releases/download/release-%ver
Source2: https://github.com/libsdl-org/SDL/releases/download/release-%version/SDL3-%version.tar.gz.sig
Source3: %name.keyring
Source4: baselibs.conf
Patch1: 0001-pipewire-Ensure-that-the-correct-struct-is-used-for-.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libdecor-devel
@ -89,13 +90,14 @@ again that libXrandr2 and libXi6 are in fact installed.
Summary: SDL3 Library Developer Files
Group: Development/Libraries/X11
Requires: %lname = %version-%release
Requires: c_compiler
Requires: pkgconfig
Requires: pkgconfig(gl)
Requires: pkgconfig(glesv1_cm)
Requires: pkgconfig(glesv2)
Requires: pkgconfig(glu)
# You should not add pkgconfig(x11) to sdl-devel; as far as SDL is concerned, it is optional.
# (Think outputting to Wayland, KMSDRM, or null.)
# https://github.com/libsdl-org/sdl2-compat/issues/405
Requires: pkgconfig(x11)
Requires: pkgconfig(xproto)
%description devel
This package contains files needed for development with the SDL

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1740501884
commit: 0b63c8441574f5a395c729e97f2229eef8f997b768db702fdca19337e6ec4e44
url: https://src.opensuse.org/jengelh/SDL3
revision: master