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 43 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.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.

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

Binary file not shown.

Binary file not shown.

View File

@ -1,43 +1,4 @@
------------------------------------------------------------------- -------------------------------------------------------------------
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> 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 - Add 0001-pipewire-Ensure-that-the-correct-struct-is-used-for-.patch

View File

@ -19,7 +19,7 @@
%define sle_version 0 %define sle_version 0
Name: SDL3 Name: SDL3
%define lname libSDL3-0 %define lname libSDL3-0
Version: 3.2.8 Version: 3.2.4
Release: 0 Release: 0
Summary: Simple DirectMedia Layer Library Summary: Simple DirectMedia Layer Library
License: Zlib 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 Source2: https://github.com/libsdl-org/SDL/releases/download/release-%version/SDL3-%version.tar.gz.sig
Source3: %name.keyring Source3: %name.keyring
Source4: baselibs.conf Source4: baselibs.conf
Patch1: 0001-pipewire-Ensure-that-the-correct-struct-is-used-for-.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libdecor-devel BuildRequires: libdecor-devel
@ -89,10 +90,14 @@ again that libXrandr2 and libXi6 are in fact installed.
Summary: SDL3 Library Developer Files Summary: SDL3 Library Developer Files
Group: Development/Libraries/X11 Group: Development/Libraries/X11
Requires: %lname = %version-%release Requires: %lname = %version-%release
Requires: c_compiler
Requires: pkgconfig
Requires: pkgconfig(gl) Requires: pkgconfig(gl)
Requires: pkgconfig(glesv1_cm) Requires: pkgconfig(glesv1_cm)
Requires: pkgconfig(glesv2) Requires: pkgconfig(glesv2)
Requires: pkgconfig(glu) Requires: pkgconfig(glu)
Requires: pkgconfig(x11)
Requires: pkgconfig(xproto)
%description devel %description devel
This package contains files needed for development with the SDL 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