From 6cf087f53a0538c2096fc56bb068ba3f818a2f9027fcda1b82ff7a1b4a5137d9 Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Thu, 29 Aug 2024 11:24:41 +0200 Subject: [PATCH] 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. --- SDL2.changes | 11 +++++++++++ SDL2.spec | 5 ----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/SDL2.changes b/SDL2.changes index 9fac865..c945ec2 100644 --- a/SDL2.changes +++ b/SDL2.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Aug 29 09:07:45 UTC 2024 - Antonio Larrosa + +- 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 diff --git a/SDL2.spec b/SDL2.spec index e2867e9..c1c887d 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -37,9 +37,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) @@ -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. %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