Commit Graph

109 Commits

Author SHA1 Message Date
Niels De Graef
15fc8ca908 Remove libXScrnSaver-devel from BuildRequires
As @ajax pointed out in an internal discussion, SDL2 loads the symbols
for several X11 extensions at runtime (see
SDL2/src/video/x11/SDL2_x11dyn.c). That means we should be able to get
rid of most of those at build time.

For now, let's be conservative and make sure we get rid of at least
libXScrnSaver-devel, as that isn't exposed by Xwayland.

Resolves: https://issues.redhat.com/browse/RHEL-37559
2024-05-21 13:31:50 +02:00
Tomas Pelka
11ba5efb17 enable gating 2024-04-12 11:38:49 +00:00
Fedora Release Engineering
cb6b0beecc Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 22:23:54 +00:00
Fedora Release Engineering
bc7b1eb332 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 11:41:59 +00:00
Tom Callaway
1a2e922465 2.28.5 2023-11-05 09:25:04 -05:00
Tom Callaway
60a4f316ca 2.28.4 2023-10-02 09:02:33 -04:00
Fedora Release Engineering
066d3a30d8 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 12:38:57 +00:00
Tom Callaway
4fea60abd9 update to 2.26.5, correct License tag 2023-05-01 10:01:03 -04:00
Tom Callaway
f166769d8c update to 2.26.4 2023-03-14 10:07:53 -04:00
Tom Callaway
d2d4c11654 update to 2.26.3 2023-02-08 10:02:21 -05:00
Tom Callaway
f22ec890ac update to 2.26.2 2023-01-21 17:15:41 -05:00
Fedora Release Engineering
e16930d70f Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 21:08:50 +00:00
Neal Gompa
202763ce81 Update to 2.26.0 2022-11-21 22:48:11 -05:00
Neal Gompa
352801c0c1 Update to 2.24.0
Drop backported patches included in this release
2022-08-19 16:26:42 -04:00
Fedora Release Engineering
e69257e327 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 20:10:56 +00:00
Neal Gompa
ae5244e6cf Add note about backported fix for DRI assumptions 2022-07-13 07:31:14 -04:00
Neal Gompa
03f4951423 Fix weird from previous commit 2022-07-13 07:17:41 -04:00
Ian Mullins
3567682ae7 Fix assumption that DRI_DEVNAME begins at 0
The existing logic of the code was to count every possible entry in
KMSDRM_DRI_PATH. After this a for loop would start trying to open
filename0, filename1, filename2, etc. In recent Linux kernels (say
5.18) with simpledrm, the lowest KMSDRM_DRI_DEVNAME is often
/dev/dri/card1, rather than /dev/dri/card0, causing the code to fail
once /dev/dri/card0 has failed to open. Running:

modprobe foodrm && modprobe bardrm && rmmod foodrm

before you try to run an application with SDL KMSDRM would have also
made this fail.

Fix assumption that DRI_DEVNAME begins at 0

Additional changes to SDL2-2.0.22-fix-dri-assumption.patch

Retesting zuul build
2022-07-13 10:37:40 +01:00
Neal Gompa
19218b342a Use the correct BR for libusb 2022-04-30 00:08:12 -04:00
Neal Gompa
2a9f848860 Update to 2.0.22
- Drop backported patches included in this release
2022-04-29 23:45:59 -04:00
Neal Gompa
adf5181d82 Backport Wayland and PipeWire fixes from upstream 2022-02-08 07:21:57 -05:00
Fedora Release Engineering
a436d54d01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 20:40:57 +00:00
Neal Gompa
d70a1efb5e Update to 2.0.20
- Drop backported patches included in this release
2022-01-10 22:38:52 -05:00
Neal Gompa
2ddcff2faa Refresh SDL target split patch to include targets correctly 2022-01-07 14:07:08 -05:00
Neal Gompa
e70051f69c Move libSDLmain from -static to -devel 2022-01-07 13:37:36 -05:00
Neal Gompa
db732fcadc Add missing SDL2Targets files to devel subpackage 2022-01-04 10:02:45 -05:00
Neal Gompa
db6e7a4b54 Add patches to fix package build
- Backport fix for building against wayland-1.20+
- Add patch to split SDL2 CMake targets for static libraries
2022-01-04 09:51:45 -05:00
Neal Gompa
2f6f04f449 Use correct build options 2021-12-01 08:36:37 -05:00
Neal Gompa
0906fd7d1c Update to 2.0.18 2021-12-01 07:39:25 -05:00
Tom spot Callaway
c93d591871 fix multilib conflict with SDL_revision.h (bz 2008838) 2021-10-06 18:26:55 -04:00
Neal Gompa
bc2648e525 Backport select fixes from upstream
- Support legacy 'pulse' alias for PulseAudio driver
- Fix handling of Ctrl key on Wayland
- Add support for HiDPI cursors on Wayland
- Fix keymap support on Wayland (rhbz#2007969)
- Use EGL_EXT_present_opaque when available on Wayland
- Expose xdg_toplevel to SysWM on Wayland
2021-09-26 14:45:25 -04:00
Neal Gompa
6a336bdad4 Ensure libdecor is pulled in when libwayland-client is (rhbz#1992804) 2021-08-22 17:09:36 -04:00
Neal Gompa
0145fb46e1 Update to 2.0.16 2021-08-10 14:15:31 -04:00
Fedora Release Engineering
6d814bd387 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 17:01:22 +00:00
Fedora Release Engineering
b5b4a7a5f9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 12:06:24 +00:00
Tom spot Callaway
3d9b542bfe add -static Requires to -devel to make CMake stop failing on missing files (bz1965359) 2021-06-03 12:00:04 -04:00
104dfc214c Switch to CMake to build SDL2 and always build JACK support
Upstream increasingly prefers CMake for building SDL, so switch to
that.

Additionally, let's always build JACK support since PipeWire in
RHEL 9 provides libjack.
2021-05-17 09:40:08 -04:00
Hans de Goede
8e9e34c4e5 SDL2 no longer uses audiofile, drop the audiofile-devel BuildRequires 2021-02-22 12:45:59 +01:00
Fedora Release Engineering
e86db27f7a - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-25 23:34:54 +00:00
Pete Walter
110e26f3a4 Don't use globs in the form of libFOO.so.* for listing files 2021-01-21 16:29:37 +00:00
Pete Walter
f0727e282d Update to 2.0.14 2021-01-21 16:29:21 +00:00
Wim Taymans
1cb4d06cc4
Disable JACK on rhel >= 8 2021-01-15 10:02:03 +01:00
Tom Stellard
6def5d9d30 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 21:17:50 +00:00
Fedora Release Engineering
53f223896c - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 08:59:09 +00:00
Fedora Release Engineering
0420eef8fb - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 11:30:33 +00:00
Tom Stellard
bb2c5b0832 Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-13 16:34:44 +00:00
Pete Walter
af1fce54c3 Update to 2.0.12 2020-03-11 06:12:27 +00:00
Tom Callaway
9fe11f14f3 fix FTBFS 2020-02-11 08:46:16 -05:00
Fedora Release Engineering
a16aa5d25f - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 10:55:11 +00:00
Pete Walter
8423c55281 Update to 2.0.10 2019-07-26 22:37:33 +01:00