Commit Graph

92 Commits

Author SHA1 Message Date
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
Fedora Release Engineering
0111d8d25b - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 17:14:09 +00:00
Tom Callaway
1dd83f6494 BR:gcc 2019-02-15 21:00:35 -05:00
Tom Callaway
7f8287c2b2 use khrplatform defines, not ptrdiff_t 2019-02-15 20:27:21 -05:00
Fedora Release Engineering
265293aa4d - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 12:41:16 +00:00
Pete Walter
612ab06ad2 Drop unused patch 2018-11-02 19:28:23 +00:00
Tom Callaway
5a42140077 2.0.9 2018-11-02 09:01:52 -04:00
Fedora Release Engineering
abc87fffbf - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 19:48:10 +00:00
Adam Jackson
1400b7445e Backport a crash/hang fix from 2.0.9 (#1580541) 2018-05-21 14:37:27 -04:00
Tom Callaway
e8c46a9a28 enable video-kmsdrm 2018-04-11 16:37:56 -04:00
David Abdurachmanov
b436e32f85 Add riscv64 to SDL_config.h
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-03-30 13:50:44 +01:00
Miro Hrončok
89a45ba34f Disable altivec on ppc64le (RHBZ #1551338) 2018-03-04 21:18:23 +01:00
Peter Robinson
1e1633d609 Update to 2.0.8 2018-03-04 16:13:24 +00:00
Fedora Release Engineering
6fb4b108da - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 01:30:06 +00:00
Igor Gnatenko
44c21e276b
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-31 17:20:25 +01:00
Igor Gnatenko
afb7bc2e8a Fix whitespace
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-03 16:58:38 +01:00
Igor Gnatenko
4aaa265407 Fix IBus
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-11-05 21:02:22 +01:00
Igor Gnatenko
3b995d2b63 Update to 2.0.7
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-10-24 15:25:26 +02:00