forked from jengelh/SDL2
Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
8e0f465649 | |||
a272efc558 | |||
0a61fdf6d0 |
@ -1,29 +0,0 @@
|
|||||||
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 4e71dd52aa794..dfb5d6cf3eebb 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);
|
|
BIN
SDL2-2.32.0.tar.gz
(Stored with Git LFS)
BIN
SDL2-2.32.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
BIN
SDL2-2.32.4.tar.gz
(Stored with Git LFS)
Normal file
BIN
SDL2-2.32.4.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
SDL2-2.32.4.tar.gz.sig
Normal file
BIN
SDL2-2.32.4.tar.gz.sig
Normal file
Binary file not shown.
25
SDL2.changes
25
SDL2.changes
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 31 20:18:00 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 2.32.4
|
||||||
|
* Fixed detecting PlayStation controller sensors on Linux when
|
||||||
|
HIDAPI is not being used
|
||||||
|
* Fixed crash enumerating some input devices
|
||||||
|
- Delete 0001-pipewire-Ensure-that-the-correct-struct-is-used-for.patch
|
||||||
|
(merged)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 12 16:16:23 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Remove SDL2-devel requiring pkgconfig(xproto/x11), because X11
|
||||||
|
is an optional dependency (e.g. in favor of Wayland).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 2 09:46:27 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 2.32.2
|
||||||
|
* Fixed flushing audio forever in some cases when recording
|
||||||
|
PulseAudio on Linux.
|
||||||
|
* Added SDL_HINT_JOYSTICK_HAPTIC_AXES to specify how many haptic
|
||||||
|
axes a device has.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 11 09:14:51 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
|
Tue Feb 11 09:14:51 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%define sle_version 0
|
%define sle_version 0
|
||||||
Name: SDL2
|
Name: SDL2
|
||||||
%define lname libSDL2-2_0-0
|
%define lname libSDL2-2_0-0
|
||||||
Version: 2.32.0
|
Version: 2.32.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Simple DirectMedia Layer Library
|
Summary: Simple DirectMedia Layer Library
|
||||||
License: Zlib
|
License: Zlib
|
||||||
@ -31,7 +31,6 @@ Source2: https://libsdl.org/release/%name-%version.tar.gz.sig
|
|||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
Patch1: sdl2-symvers.patch
|
Patch1: sdl2-symvers.patch
|
||||||
Patch2: 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
|
||||||
@ -97,8 +96,6 @@ 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)
|
|
||||||
Obsoletes: libSDL2-devel < %version-%release
|
Obsoletes: libSDL2-devel < %version-%release
|
||||||
Provides: libSDL2-devel = %version-%release
|
Provides: libSDL2-devel = %version-%release
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user