SHA256
1
0
forked from jengelh/SDL2

Compare commits

...

8 Commits

Author SHA256 Message Date
23c0f46114 Fix building with pipewire 1.3.82 2025-02-11 15:24:22 +01:00
7ce81cc65f SDL 2.32.0 2025-02-08 21:03:59 +01:00
8df920576a SDL 2.30.12 2025-02-02 13:19:53 +01:00
0402002616 SDL 2.30.11 2025-01-02 10:57:06 +01:00
32be8f98b4 SDL 2.30.10 2024-12-09 13:47:53 +01:00
9557b9a435 SDL 2.30.9 2024-11-02 12:47:44 +01:00
6c64f8591f SDL2 2.30.8 2024-10-02 01:28:42 +02:00
24c6ba383f SDL 2.30.7 2024-09-04 02:02:57 +02:00
7 changed files with 111 additions and 5 deletions

View File

@@ -0,0 +1,29 @@
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.30.6.tar.gz (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
SDL2-2.32.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
SDL2-2.32.0.tar.gz.sig Normal file

Binary file not shown.

View File

@@ -1,3 +1,79 @@
-------------------------------------------------------------------
Tue Feb 11 09:14:51 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Add patch from upstream to fix building with pipewire-1.3.82.
* 0001-pipewire-Ensure-that-the-correct-struct-is-used-for.patch
-------------------------------------------------------------------
Sat Feb 8 20:01:16 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.32.0
* Allow destroying a window and its renderer in either order
* Added cursor-shape-v1 protocol support on Wayland
* Improved event processing latency when gamepad/sensor is open
* Fixed conditional effect playback on Moza Racing devices
* Fixed input for Thrustmaster PlayStation wheels when
hid-tmff2 is installed
-------------------------------------------------------------------
Sun Feb 2 12:18:26 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.30.12
* Added support for the 8BitDo Ultimate 2C Wireless in
Bluetooth mode
* Fixed Steam Deck controller not being visible to games
running on Proton 9 and older
* Fixed a crash when hot-plugging keyboards and mice on Linux
-------------------------------------------------------------------
Thu Jan 2 09:55:58 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.30.11
* Fixed a crash if the controller product name is NULL
* Corrected CoreAudio surround sound channel layouts
-------------------------------------------------------------------
Sun Dec 8 23:43:33 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.30.10
* Improved the performance of whole surface fill operations
* Fixed an assertion when connecting/disconnecting over RDP
* Added support for mouse wheel and extended buttons on PS Vita
* Fixed a rare crash on KMSDRM
-------------------------------------------------------------------
Sat Nov 2 11:45:47 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.30.9
* Fixed flicker when entering/exiting fullscreen or moving the
window between scaled and non-scaled displays under Wayland.
-------------------------------------------------------------------
Tue Oct 1 23:24:41 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.30.8
* Fixed a crash in XInput code at startup
* Fixed flooding the OS with I/O when a PS4/PS5 controller is
disconnected
* Added SDL_VIDEO_DOUBLE_BUFFER support to the Wayland backend
* SDL_WINDOWEVENT_EXPOSED is sent appropriately when using
Wayland
* Fixed hang at startup in audio code when the application has
large stack usage on Linux
* Fixed initializing KMSDRM on older Linux systems
-------------------------------------------------------------------
Tue Sep 3 23:59:48 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.30.7
* Added support for the Retro-bit Controller in PS3 mode
* Fixed the cursor becoming visible when using relative mode
under XWayland
* Fixed Direct Rendering Manager initialization failure on some
Linux systems
* Fixed a crash when the current mouse capture window is
destroyed
-------------------------------------------------------------------
Thu Aug 29 09:07:45 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package SDL2
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define sle_version 0
Name: SDL2
%define lname libSDL2-2_0-0
Version: 2.30.6
Version: 2.32.0
Release: 0
Summary: Simple DirectMedia Layer Library
License: Zlib
@@ -31,6 +31,7 @@ Source2: https://libsdl.org/release/%name-%version.tar.gz.sig
Source3: %name.keyring
Source4: baselibs.conf
Patch1: sdl2-symvers.patch
Patch2: 0001-pipewire-Ensure-that-the-correct-struct-is-used-for.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libdecor-devel