Compare commits
16 Commits
Author | SHA256 | Date | |
---|---|---|---|
2594877fbe | |||
5410ff12f1 | |||
8e0f465649 | |||
a272efc558 | |||
0a61fdf6d0 | |||
23c0f46114 | |||
7ce81cc65f | |||
8df920576a | |||
0402002616 | |||
32be8f98b4 | |||
9557b9a435 | |||
6c64f8591f | |||
24c6ba383f | |||
6cf087f53a | |||
c2e6b65d02 | |||
e6f4d93d59 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:820440072f8f5b50188c1dae104f2ad25984de268785be40c41a099a510f0aec
|
||||
size 7425677
|
Binary file not shown.
BIN
SDL2-2.32.8.tar.gz
(Stored with Git LFS)
Normal file
BIN
SDL2-2.32.8.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
SDL2-2.32.8.tar.gz.sig
Normal file
BIN
SDL2-2.32.8.tar.gz.sig
Normal file
Binary file not shown.
146
SDL2.changes
146
SDL2.changes
@@ -1,3 +1,149 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 5 19:28:29 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Reduce the SDL2 package to produce just the binary, for rare
|
||||
cases when sdl2_compat is unable to do something. Place the
|
||||
library in /usr/lib64/SDL2 so it can be selectively chosen via
|
||||
LD_LIBRARY_PATH and does not interfere with sdl2_compat.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 3 08:01:33 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2.32.8
|
||||
* Fixed a rare crash in SDL_WaitEvent()
|
||||
* Fixed swapped red/blue channels when updating a YUV texture
|
||||
on OpenGL ES 2.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- 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>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 16 08:57:49 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2.30.6
|
||||
* Improved detection of Nintendo Switch Pro controller report mode
|
||||
* Fixed a rare crash when a controller is disconnected
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 18 07:32:33 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2.30.4
|
||||
* Added support for the Saitek Cyborg V.3 Rumble Pad in PS3 mode
|
||||
* Added support for the Razer Kitsune in PS5 mode
|
||||
* Added Linux bindings for the Qanba Drone 2 Arcade Joystick
|
||||
* Leave Nintendo Online controllers in simple report mode so
|
||||
they work with DirectInput games
|
||||
* Enable using libusb for GameCube controllers when available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 1 19:03:52 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
69
SDL2.spec
69
SDL2.spec
@@ -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
|
||||
@@ -16,10 +16,8 @@
|
||||
#
|
||||
|
||||
|
||||
%define sle_version 0
|
||||
Name: SDL2
|
||||
%define lname libSDL2-2_0-0
|
||||
Version: 2.30.3
|
||||
Version: 2.32.8
|
||||
Release: 0
|
||||
Summary: Simple DirectMedia Layer Library
|
||||
License: Zlib
|
||||
@@ -29,7 +27,6 @@ URL: https://libsdl.org/
|
||||
Source: https://libsdl.org/release/%name-%version.tar.gz
|
||||
Source2: https://libsdl.org/release/%name-%version.tar.gz.sig
|
||||
Source3: %name.keyring
|
||||
Source4: baselibs.conf
|
||||
Patch1: sdl2-symvers.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
@@ -37,9 +34,6 @@ 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(glesv1_cm)
|
||||
@@ -70,44 +64,20 @@ BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: pkgconfig(xrandr)
|
||||
BuildRequires: pkgconfig(xscrnsaver)
|
||||
BuildRequires: pkgconfig(xxf86vm)
|
||||
%define __global_provides_exclude_from %_libdir/SDL2
|
||||
|
||||
%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.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Simple DirectMedia Layer Library
|
||||
Group: System/Libraries
|
||||
Provides: SDL2 = %version-%release
|
||||
|
||||
%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.
|
||||
This package is provided for corner cases when sdl2_compat is
|
||||
insufficient. To use original SDL2, exercise with the
|
||||
LD_LIBRARY_PATH="%_libdir/SDL2" mechanism.
|
||||
|
||||
SDL2 uses dlopen, so if you experience problems under X11, check
|
||||
again that libXrandr2 and libXi6 are in fact installed.
|
||||
|
||||
%package devel
|
||||
Summary: SDL2 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)
|
||||
Obsoletes: libSDL2-devel < %version-%release
|
||||
Provides: libSDL2-devel = %version-%release
|
||||
|
||||
%description devel
|
||||
This package contains files needed for development with the SDL2
|
||||
library.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
perl -i -pe 's{\r\n}{\n}g' *.txt README.md
|
||||
@@ -117,9 +87,7 @@ perl -i -pe 's{\r\n}{\n}g' *.txt README.md
|
||||
# In this instance, we do want --with-pic because of libSDL2main.a.
|
||||
%configure --with-pic --disable-alsa-shared --disable-video-directfb \
|
||||
--enable-video-kmsdrm --enable-video-wayland \
|
||||
%if 0%{?sle_version}
|
||||
--disable-fcitx \
|
||||
%endif
|
||||
%ifarch ix86
|
||||
--enable-sse2=no \
|
||||
%endif
|
||||
@@ -128,25 +96,14 @@ perl -i -pe 's{\r\n}{\n}g' *.txt README.md
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
rm -fv "%buildroot/%_libdir/libSDL2.a"
|
||||
b="%buildroot"
|
||||
mkdir -pv "$b/%_libdir/SDL2"
|
||||
mv -v "$b/%_libdir"/libSDL2-2.0.so.* "$b/%_libdir/SDL2/"
|
||||
rm -Rf "$b/%_bindir" "$b/%_datadir" "$b/%_includedir" "$b/%_libdir/pkgconfig" \
|
||||
"$b/%_libdir"/lib* "$b/%_libdir/cmake"
|
||||
|
||||
%ldconfig_scriptlets -n %lname
|
||||
|
||||
%files -n %lname
|
||||
%files
|
||||
%license LICENSE.txt
|
||||
%doc README.md README-SDL.txt
|
||||
%_libdir/libSDL2-2*.so.*
|
||||
|
||||
%files devel
|
||||
%doc WhatsNew.txt
|
||||
%_bindir/sdl2-config
|
||||
%_libdir/libSDL2.so
|
||||
%_includedir/SDL2/
|
||||
%_datadir/aclocal/sdl2.m4
|
||||
%_libdir/pkgconfig/sdl2.pc
|
||||
%_libdir/cmake/SDL2/
|
||||
%_libdir/libSDL2main.a
|
||||
%_libdir/libSDL2_test.a
|
||||
%_libdir/SDL2/
|
||||
|
||||
%changelog
|
||||
|
@@ -1,7 +0,0 @@
|
||||
libSDL2-2_0-0
|
||||
provides "SDL2-<targettype> = <version>"
|
||||
SDL2-devel
|
||||
obsoletes "libSDL2-devel-<targettype>"
|
||||
provides "libSDL2-devel-<targettype> = <version>"
|
||||
requires -libSDL2-<targettype>
|
||||
requires "libSDL2-2_0-0-<targettype> = <version>"
|
Reference in New Issue
Block a user