forked from jengelh/SDL3
Compare commits
18 Commits
Author | SHA256 | Date | |
---|---|---|---|
4e0e90cb22 | |||
e85629cc95 | |||
1185602814 | |||
ecd4cf82f4 | |||
2c3780f819 | |||
a2ea32d841 | |||
5ff94a5baf | |||
1e9e572968 | |||
0b63c84415 | |||
f6312c616b | |||
645725965e | |||
cdf2afe0be | |||
3174b12d4d | |||
2195f16dae | |||
45b2e11bb2 | |||
7a6daf8e2f | |||
0fe0392eae | |||
2dec95c732 |
BIN
SDL3-3.1.3.tar.xz
(Stored with Git LFS)
BIN
SDL3-3.1.3.tar.xz
(Stored with Git LFS)
Binary file not shown.
BIN
SDL3-3.2.16.tar.gz
(Stored with Git LFS)
Normal file
BIN
SDL3-3.2.16.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
SDL3-3.2.16.tar.gz.sig
Normal file
BIN
SDL3-3.2.16.tar.gz.sig
Normal file
Binary file not shown.
195
SDL3.changes
195
SDL3.changes
@ -1,7 +1,202 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Sat Oct 5 21:04:22 UTC 2024 - Michael Pujos <pujos.michael@gmail.com>
|
||||||
|
|
||||||
- Update to preview release 3.1.3
|
- 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>
|
Mon Aug 19 21:05:37 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
41
SDL3.spec
41
SDL3.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package SDL3
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,27 +19,23 @@
|
|||||||
%define sle_version 0
|
%define sle_version 0
|
||||||
Name: SDL3
|
Name: SDL3
|
||||||
%define lname libSDL3-0
|
%define lname libSDL3-0
|
||||||
Version: 3.1.3
|
Version: 3.2.16
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Simple DirectMedia Layer Library
|
Summary: Simple DirectMedia Layer Library
|
||||||
License: Zlib
|
License: Zlib
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
URL: https://libsdl.org/
|
URL: https://libsdl.org/
|
||||||
#Git-Clone: https://github.com/libsdl-org/SDL
|
#Git-Clone: https://github.com/libsdl-org/SDL
|
||||||
#Source: https://libsdl.org/release/%name-%version.tar.gz
|
Source: https://github.com/libsdl-org/SDL/releases/download/release-%version/SDL3-%version.tar.gz
|
||||||
#Source2: https://libsdl.org/release/%name-%version.tar.gz.sig
|
Source2: https://github.com/libsdl-org/SDL/releases/download/release-%version/SDL3-%version.tar.gz.sig
|
||||||
Source: https://github.com/libsdl-org/SDL/releases/download/preview-%version/%name-%version.tar.xz
|
|
||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
Patch1: gcc14.patch
|
Source4: baselibs.conf
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libdecor-devel
|
BuildRequires: libdecor-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: pkgconfig(alsa) >= 1.0.11
|
BuildRequires: pkgconfig(alsa) >= 1.0.11
|
||||||
BuildRequires: pkgconfig(dbus-1)
|
BuildRequires: pkgconfig(dbus-1)
|
||||||
%if !0%{?sle_version}
|
|
||||||
BuildRequires: pkgconfig(fcitx)
|
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig(egl)
|
BuildRequires: pkgconfig(egl)
|
||||||
BuildRequires: pkgconfig(gl)
|
BuildRequires: pkgconfig(gl)
|
||||||
BuildRequires: pkgconfig(glesv2)
|
BuildRequires: pkgconfig(glesv2)
|
||||||
@ -71,18 +67,20 @@ BuildRequires: pkgconfig(xscrnsaver)
|
|||||||
BuildRequires: pkgconfig(xxf86vm)
|
BuildRequires: pkgconfig(xxf86vm)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is the "Simple DirectMedia Layer" library. It provides a generic
|
Simple DirectMedia Layer (SDL) is a cross-platform library for
|
||||||
API for access to audio, keyboard, mouse, and display framebuffer
|
multi-media software, such as games and emulators. It provides a
|
||||||
across multiple platforms.
|
generic API for access to audio, keyboard, mouse, and display
|
||||||
|
framebuffer.
|
||||||
|
|
||||||
%package -n %lname
|
%package -n %lname
|
||||||
Summary: Simple DirectMedia Layer Library
|
Summary: Simple DirectMedia Layer Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %lname
|
%description -n %lname
|
||||||
This is the "Simple DirectMedia Layer" library. It provides a generic
|
Simple DirectMedia Layer (SDL) is a cross-platform library for
|
||||||
API for access to audio, keyboard, mouse, and display framebuffer
|
multi-media software, such as games and emulators. It provides a
|
||||||
across multiple platforms.
|
generic API for access to audio, keyboard, mouse, and display
|
||||||
|
framebuffer.
|
||||||
|
|
||||||
SDL uses dlopen, so if you experience problems under X11, check
|
SDL uses dlopen, so if you experience problems under X11, check
|
||||||
again that libXrandr2 and libXi6 are in fact installed.
|
again that libXrandr2 and libXi6 are in fact installed.
|
||||||
@ -91,14 +89,13 @@ 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)
|
# You should not add pkgconfig(x11) to sdl-devel; as far as SDL is concerned, it is optional.
|
||||||
Requires: pkgconfig(xproto)
|
# (Think outputting to Wayland, KMSDRM, or null.)
|
||||||
|
# https://github.com/libsdl-org/sdl2-compat/issues/405
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains files needed for development with the SDL
|
This package contains files needed for development with the SDL
|
||||||
@ -129,7 +126,7 @@ SDL3 C API.
|
|||||||
-DSDL_X11_SHARED:BOOL=OFF -DSDL_WAYLAND_SHARED:BOOL=OFF \
|
-DSDL_X11_SHARED:BOOL=OFF -DSDL_WAYLAND_SHARED:BOOL=OFF \
|
||||||
-DSDL_KMSDRM_SHARED:BOOL=OFF \
|
-DSDL_KMSDRM_SHARED:BOOL=OFF \
|
||||||
-DSDL_STATIC:BOOL=OFF -DSDL_STATIC_PIC:BOOL=ON -DSDL_RPATH:BOOL=OFF \
|
-DSDL_STATIC:BOOL=OFF -DSDL_STATIC_PIC:BOOL=ON -DSDL_RPATH:BOOL=OFF \
|
||||||
-DSDL_TEST_LIBRARY:BOOL=OFF -DSDL_DISABLE_INSTALL_DOCS:BOOL=OFF
|
-DSDL_TEST_LIBRARY:BOOL=OFF -DSDL_INSTALL_DOCS:BOOL=ON
|
||||||
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
@ -149,7 +146,7 @@ rm -Rf "%buildroot/%_datadir/licenses" # we use %%license
|
|||||||
%_libdir/pkgconfig/sdl3.pc
|
%_libdir/pkgconfig/sdl3.pc
|
||||||
%_libdir/cmake/SDL3/
|
%_libdir/cmake/SDL3/
|
||||||
|
|
||||||
%changelog
|
|
||||||
|
|
||||||
%files devel-doc
|
%files devel-doc
|
||||||
%_mandir/man3/*.3*
|
%_mandir/man3/*.3*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
libSDL3-0
|
11
gcc14.patch
11
gcc14.patch
@ -1,11 +0,0 @@
|
|||||||
--- SDL3-3.1.3.orig/src/camera/pipewire/SDL_camera_pipewire.c 2024-10-05 20:41:45.901850659 +0200
|
|
||||||
+++ SDL3-3.1.3/src/camera/pipewire/SDL_camera_pipewire.c 2024-10-05 20:46:44.515609068 +0200
|
|
||||||
@@ -79,7 +79,7 @@
|
|
||||||
static void (*PIPEWIRE_pw_context_destroy)(struct pw_context *);
|
|
||||||
static struct pw_core *(*PIPEWIRE_pw_context_connect)(struct pw_context *, struct pw_properties *, size_t);
|
|
||||||
static void (*PIPEWIRE_pw_proxy_add_object_listener)(struct pw_proxy *, struct spa_hook *, const void *, void *);
|
|
||||||
-static void (*PIPEWIRE_pw_proxy_add_listener)(struct pw_proxy *, struct spa_hook *, const void *, void *);
|
|
||||||
+static void (*PIPEWIRE_pw_proxy_add_listener)(struct pw_proxy *, struct spa_hook *, const struct pw_proxy_events *, void *);
|
|
||||||
static void *(*PIPEWIRE_pw_proxy_get_user_data)(struct pw_proxy *);
|
|
||||||
static void (*PIPEWIRE_pw_proxy_destroy)(struct pw_proxy *);
|
|
||||||
static int (*PIPEWIRE_pw_core_disconnect)(struct pw_core *);
|
|
Loading…
x
Reference in New Issue
Block a user