SHA256
1
0
forked from pool/SDL2

Don't build with fcitx support #1

Manually merged
alarrosa merged 1 commits from alarrosa/SDL2:master into master 2024-08-29 11:29:37 +02:00
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
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> Fri Aug 16 08:57:49 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -37,9 +37,6 @@ 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(glesv1_cm) BuildRequires: pkgconfig(glesv1_cm)
@ -117,9 +114,7 @@ perl -i -pe 's{\r\n}{\n}g' *.txt README.md
# In this instance, we do want --with-pic because of libSDL2main.a. # In this instance, we do want --with-pic because of libSDL2main.a.
%configure --with-pic --disable-alsa-shared --disable-video-directfb \ %configure --with-pic --disable-alsa-shared --disable-video-directfb \
--enable-video-kmsdrm --enable-video-wayland \ --enable-video-kmsdrm --enable-video-wayland \
%if 0%{?sle_version}
--disable-fcitx \ --disable-fcitx \
%endif
%ifarch ix86 %ifarch ix86
--enable-sse2=no \ --enable-sse2=no \
%endif %endif