Import from AlmaLinux stable repository

This commit is contained in:
eabdullin 2024-05-15 07:31:25 +00:00
parent 0557c6a061
commit c91945fe97
2 changed files with 29 additions and 1 deletions

View File

@ -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);
}

View File

@ -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 <pwu@redhat.com> - 1.5.4-9
- Fix CI tests
- Resolves: RHEL-14878
* Thu Nov 16 2023 Peng Wu <pwu@redhat.com> - 1.5.4-8
- Add ibus-hangul-sync-process-key.patch
- Resolves: RHEL-14878
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.4-7
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688