Compare commits

..

11 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
6cf087f53a Don't build with fcitx support
fcitx support was just added because of a bug (boo#1025413) that
could be fixed by building with fcitx support but upstream SDL2
developers fixed it in 2.0.5 when building without fcitx support
too. Also fcitx support has always been disabled in SLE/Leap and
in Factory it's built against fcitx 4.2.9.9, not the newer fcitx5
so let's disable it in order to reduce dependencies.
2024-08-29 11:24:41 +02:00
c2e6b65d02 SDL 2.30.6 2024-08-16 11:01:32 +02:00
e6f4d93d59 SDL 2.30.4 (Synchronize from OBS) 2024-07-10 09:35:40 +02:00
5 changed files with 36 additions and 7 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);

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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> Sat Feb 8 20:01:16 UTC 2025 - Jan Engelhardt <jengelh@inai.de>

View File

@ -31,6 +31,7 @@ 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

View File

@ -1,4 +0,0 @@
mtime: 1739045039
commit: 7ce81cc65fe0f49d4d8af92b8d1b7ece39a35641d85f16bd9fbcaa72b4bf9900
url: https://src.opensuse.org/jengelh/SDL2
revision: master

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c997af563adaf6ec853736eaf46bda9e43bfaf180478d889612107e1fefec191
size 256