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
This commit is contained in:
Niels De Graef 2024-05-21 13:31:34 +02:00
parent 11ba5efb17
commit 15fc8ca908

View File

@ -37,7 +37,6 @@ BuildRequires: libX11-devel
BuildRequires: libXi-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libXinerama-devel
BuildRequires: libXcursor-devel
BuildRequires: systemd-devel