1
0
forked from jengelh/SDL3

21 Commits

Author SHA256 Message Date
d6b2dcf498 SDL 3.2.20 2025-08-05 09:38:34 +02:00
7e274255d0 SDL 3.2.18 2025-07-14 22:50:30 +02:00
4e0e90cb22 SDL 3.2.16 2025-06-03 09:59:23 +02:00
e85629cc95 SDL 3.2.14 2025-05-14 20:17:47 +02:00
1185602814 SDL 3.2.12 2025-05-05 05:35:27 +02:00
ecd4cf82f4 Add note about absent pkgconfig(x11) 2025-04-01 21:02:15 +02:00
2c3780f819 SDL 3.2.10 2025-04-01 19:21:34 +02:00
a2ea32d841 Trim extraneous X11 dependencies from SDL3-devel [boo#1239635] 2025-03-14 18:37:37 +01:00
5ff94a5baf SDL 3.2.8 2025-03-05 21:07:48 +01:00
1e9e572968 SDL 3.2.6 2025-03-02 10:56:00 +01:00
0b63c84415 Add 0001-pipewire-Ensure-that-the-correct-struct-is-used-for-.patch 2025-02-25 17:44:44 +01:00
f6312c616b SDL 3.2.4 2025-02-07 10:09:22 +01:00
645725965e SDL 3.2.2 2025-02-02 13:06:55 +01:00
cdf2afe0be Disable fcitx 2025-01-23 11:12:05 +01:00
3174b12d4d SDL 3.2.0 2025-01-22 12:04:00 +01:00
2195f16dae SDL 3.1.8 2025-01-08 22:28:49 +01:00
45b2e11bb2 Add baselibs.conf 2024-12-15 23:04:15 +01:00
7a6daf8e2f SDL 3.1.6 2024-11-02 12:43:43 +01:00
0fe0392eae Add 3.1.3 changelog 2024-10-06 00:33:28 +02:00
2dec95c732 Update to 3.1.3 2024-10-06 00:22:40 +02:00
769f4ba86b Add gcc14.patch 2024-08-19 23:05:52 +02:00
6 changed files with 251 additions and 22 deletions

BIN
SDL3-3.1.2.tar.xz (Stored with Git LFS)

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,233 @@
-------------------------------------------------------------------
Tue Aug 5 07:37:53 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.20
* Fixed a crash when passing large invalid coordinates to
SDL_BlitSurfaceScaled()
* Fixed doubled mouse wheel events on X11
* Fixed doubled SDL_EVENT_GAMEPAD_ADDED events for controllers
with automatic gamepad mappings
-------------------------------------------------------------------
Mon Jul 14 20:37:59 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.18
* Added SDL_PROP_WINDOW_CREATE_CONSTRAIN_POPUP_BOOLEAN to support
non-constrained and non-grabbing popups
* Fixed a crash in SDL_GetAudioDeviceChannelMap()
* Fixed duplicate mouse events when using a pen under X11
* Improved thumbstick range for Nintendo Switch Pro Controllers
* Fixed loading user calibration for Nintendo Switch Pro
Controllers
* Added support for the ZEROPLUS P4 Wired Gamepad
* Fixed input from the MayFlash GameCube adapter with version 7
firmware
-------------------------------------------------------------------
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
for pipewire-1.3.x
-------------------------------------------------------------------
Fri Feb 7 09:00:53 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.4
* Fixed decoding 4-bit RLE encoded BMP files
* Fixed setting the position of X11 windows before they are shown
* Fixed D-Pad not working when using SDL2 controller mappings
* Fixed SDL_OpenHapticFromJoystick() not returning a valid
haptic handle
* Added SDL_StretchSurface() as a replacement for SDL2
SDL_SoftStretch() and SDL_SoftStretchLinear()
* Fixed several memory leaks
-------------------------------------------------------------------
Sun Feb 2 12:05:46 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.2
* Fixed mouse motion while the mouse is grabbed on Linux
* Fixed audio gain not applying in some cases
* Fixed a potential crash when applying audio gain
* Removed audio resampling frequency limit
* Fixed a crash on Windows if a tray is created without any menus
* Allow the window manager to position windows that do not
specify a position on Linux
-------------------------------------------------------------------
Thu Jan 23 10:11:20 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Cherry pick change 6cf087f53a05 from SDL2.spec:
Thu Aug 29 09:07:45 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
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.
-------------------------------------------------------------------
Wed Jan 22 10:29:54 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.0
* audio: added ``SDL_AudioDeviceStreamPaused`` function
* x11/wl: added support for Mod3 and more esoteric Xkb
configurations
* keyboard: added some SDL keycodes for common Xkb keys
* Use XIM for IME input on X11
* Added support for displaying XIM composition strings
* Added SDL_ClickTrayEntry()
* audio: Allow streams to change the device-side channels maps
* Fix incorrect hotspot calculation for cursor positioning
* Added support for the 8BitDo Ultimate 2C Wireless in
Bluetooth mode
* Added Linux evdev mappings for the Wireless HORIPAD For Steam
* tray: renamed function ``SDL_HasNoActiveTrays`` to
``SDL_HasActiveTrays``
* vulkan: Fixes for swapchain resize crash on X11
* render: SDL_HINT_RENDER_DRIVER now accepts a comma-separated
list
-------------------------------------------------------------------
Wed Jan 8 20:52:55 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.1.8
* This update adds asynchronous I/O, main thread dispatching, a
desktop tray API, debug text rendering and other features.
-------------------------------------------------------------------
Sun Dec 15 22:03:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Add baselibs.conf
-------------------------------------------------------------------
Sat Nov 2 11:30:26 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to preview release 3.1.6
* New functions ``SDL_CalculateGPUTextureFormatSize``,
``SDL_CancelGPUCommandBuffer``, ``SDL_DelayPrecise``,
``SDL_GetSandbox``, ``SDL_RenderDebugText``,
``SDL_StepBackUTF8``
- Delete gcc14.patch (merged)
-------------------------------------------------------------------
Sat Oct 5 21:04:22 UTC 2024 - Michael Pujos <pujos.michael@gmail.com>
- Update to preview release 3.1.3
* New GPU API for modern 3D rendering and GPU compute in a
cross-platform manner
* Various new cross-platform APIs around dialogs / filesystems /
storage / camera / pen access, new example programs, audio
streams, color-space support
* More HiDPI support
* Better keyboard input handling
* Prefer PipeWire over PulseAudio
-------------------------------------------------------------------
Mon Aug 19 21:05:37 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Add gcc14.patch
-------------------------------------------------------------------
Wed May 1 19:06:37 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package SDL3
#
# 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,26 +19,23 @@
%define sle_version 0
Name: SDL3
%define lname libSDL3-0
Version: 3.1.2
Version: 3.2.20
Release: 0
Summary: Simple DirectMedia Layer Library
License: Zlib
Group: Development/Libraries/X11
URL: https://libsdl.org/
#Git-Clone: https://github.com/libsdl-org/SDL
#Source: https://libsdl.org/release/%name-%version.tar.gz
#Source2: https://libsdl.org/release/%name-%version.tar.gz.sig
Source: https://github.com/libsdl-org/SDL/releases/download/prerelease-%version/%name-%version.tar.xz
Source: https://github.com/libsdl-org/SDL/releases/download/release-%version/SDL3-%version.tar.gz
Source2: https://github.com/libsdl-org/SDL/releases/download/release-%version/SDL3-%version.tar.gz.sig
Source3: %name.keyring
Source4: baselibs.conf
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libdecor-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig(alsa) >= 1.0.11
BuildRequires: pkgconfig(dbus-1)
%if !0%{?sle_version}
BuildRequires: pkgconfig(fcitx)
%endif
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glesv2)
@@ -70,18 +67,20 @@ BuildRequires: pkgconfig(xscrnsaver)
BuildRequires: pkgconfig(xxf86vm)
%description
This is the "Simple DirectMedia Layer" library. It provides a generic
API for access to audio, keyboard, mouse, and display framebuffer
across multiple platforms.
Simple DirectMedia Layer (SDL) is a cross-platform library for
multi-media software, such as games and emulators. It provides a
generic API for access to audio, keyboard, mouse, and display
framebuffer.
%package -n %lname
Summary: Simple DirectMedia Layer Library
Group: System/Libraries
%description -n %lname
This is the "Simple DirectMedia Layer" library. It provides a generic
API for access to audio, keyboard, mouse, and display framebuffer
across multiple platforms.
Simple DirectMedia Layer (SDL) is a cross-platform library for
multi-media software, such as games and emulators. It provides a
generic API for access to audio, keyboard, mouse, and display
framebuffer.
SDL uses dlopen, so if you experience problems under X11, check
again that libXrandr2 and libXi6 are in fact installed.
@@ -90,14 +89,13 @@ 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)
Requires: pkgconfig(x11)
Requires: pkgconfig(xproto)
# 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
%description devel
This package contains files needed for development with the SDL
@@ -128,7 +126,7 @@ SDL3 C API.
-DSDL_X11_SHARED:BOOL=OFF -DSDL_WAYLAND_SHARED:BOOL=OFF \
-DSDL_KMSDRM_SHARED:BOOL=OFF \
-DSDL_STATIC:BOOL=OFF -DSDL_STATIC_PIC:BOOL=ON -DSDL_RPATH:BOOL=OFF \
-DSDL_TEST_LIBRARY:BOOL=OFF
-DSDL_TEST_LIBRARY:BOOL=OFF -DSDL_INSTALL_DOCS:BOOL=ON
%cmake_build

1
baselibs.conf Normal file
View File

@@ -0,0 +1 @@
libSDL3-0