diff --git a/SOURCES/ibus-hangul-sync-process-key.patch b/SOURCES/ibus-hangul-sync-process-key.patch new file mode 100644 index 0000000..22a9917 --- /dev/null +++ b/SOURCES/ibus-hangul-sync-process-key.patch @@ -0,0 +1,17 @@ +Index: ibus-hangul-1.5.4/src/engine.c +=================================================================== +--- ibus-hangul-1.5.4.orig/src/engine.c ++++ ibus-hangul-1.5.4/src/engine.c +@@ -1577,7 +1577,11 @@ ibus_hangul_engine_process_key_event (IB + * + * See: https://github.com/choehwanjin/ibus-hangul/issues/40 + */ +- if (use_event_forwarding) { ++ if (use_event_forwarding ++#if IBUS_CHECK_VERSION(1, 5, 25) ++ && (hangul->caps & IBUS_CAP_SYNC_PROCESS_KEY_V2) ++#endif ++ ) { + if (!retval) { + ibus_engine_forward_key_event (engine, orig_keyval, keycode, modifiers); + } diff --git a/SPECS/ibus-hangul.spec b/SPECS/ibus-hangul.spec index e3d4fea..eda27f4 100644 --- a/SPECS/ibus-hangul.spec +++ b/SPECS/ibus-hangul.spec @@ -3,7 +3,7 @@ Name: ibus-hangul Version: 1.5.4 -Release: 7%{?dist} +Release: 9%{?dist} Summary: The Hangul engine for IBus input platform License: GPLv2+ URL: https://github.com/libhangul/ibus-hangul @@ -12,6 +12,8 @@ Source0: https://github.com/libhangul/ibus-hangul/releases/download/%{version # not upstreamed patches Patch1: ibus-hangul-setup-abspath.patch +Patch2: ibus-hangul-sync-process-key.patch + BuildRequires: gettext-devel, automake, libtool BuildRequires: intltool BuildRequires: libtool @@ -44,6 +46,7 @@ the functionality of the installed %{name} package. %prep %setup -q %patch1 -p1 -b .setup-abspath +%patch2 -p1 -b .sync %build ./autogen.sh @@ -91,6 +94,14 @@ make check \ %{_datadir}/installed-tests/ibus-hangul %changelog +* Thu Nov 23 2023 Peng Wu - 1.5.4-9 +- Fix CI tests +- Resolves: RHEL-14878 + +* Thu Nov 16 2023 Peng Wu - 1.5.4-8 +- Add ibus-hangul-sync-process-key.patch +- Resolves: RHEL-14878 + * Mon Aug 09 2021 Mohan Boddu - 1.5.4-7 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688