Rebuild the package

This commit is contained in:
Peng Wu 2022-08-23 15:03:56 +08:00
parent bbbfad6cd6
commit bed1381a70
2 changed files with 17 additions and 7 deletions

View File

@ -9,16 +9,23 @@ and avoid to use forward key event API.
src/engine.c | 6 +++++- src/engine.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-) 1 file changed, 5 insertions(+), 1 deletion(-)
Index: ibus-hangul-1.5.4/src/engine.c diff --git a/src/engine.c b/src/engine.c
=================================================================== index 583e402..beb85ae 100644
--- ibus-hangul-1.5.4.orig/src/engine.c --- a/src/engine.c
+++ ibus-hangul-1.5.4/src/engine.c +++ b/src/engine.c
@@ -1577,7 +1577,7 @@ ibus_hangul_engine_process_key_event (IB @@ -1577,7 +1577,11 @@ ibus_hangul_engine_process_key_event (IBusEngine *engine,
* *
* See: https://github.com/choehwanjin/ibus-hangul/issues/40 * See: https://github.com/choehwanjin/ibus-hangul/issues/40
*/ */
- if (use_event_forwarding) { - if (use_event_forwarding) {
+ if (use_event_forwarding && !(hangul->caps & IBUS_CAP_SYNC_PROCESS_KEY)) { + if (use_event_forwarding
+#if IBUS_CHECK_VERSION(1, 5, 27)
+ && !(hangul->caps & IBUS_CAP_SYNC_PROCESS_KEY)
+#endif
+ ) {
if (!retval) { if (!retval) {
ibus_engine_forward_key_event (engine, orig_keyval, keycode, modifiers); ibus_engine_forward_key_event (engine, orig_keyval, keycode, modifiers);
} }
--
2.37.1

View File

@ -3,7 +3,7 @@
Name: ibus-hangul Name: ibus-hangul
Version: 1.5.4 Version: 1.5.4
Release: 12%{?dist} Release: 13%{?dist}
Summary: The Hangul engine for IBus input platform Summary: The Hangul engine for IBus input platform
License: GPLv2+ License: GPLv2+
URL: https://github.com/libhangul/ibus-hangul URL: https://github.com/libhangul/ibus-hangul
@ -90,6 +90,9 @@ make check \
%{_datadir}/installed-tests/ibus-hangul %{_datadir}/installed-tests/ibus-hangul
%changelog %changelog
* Tue Aug 23 2022 Peng Wu <pwu@redhat.com> - 1.5.4-13
- Rebuild the package
* Fri Aug 19 2022 Peng Wu <pwu@redhat.com> - 1.5.4-12 * Fri Aug 19 2022 Peng Wu <pwu@redhat.com> - 1.5.4-12
- Fix forward key event issue with ibus-gtk4 - Fix forward key event issue with ibus-gtk4
- Add ibus-hangul-gtk4-sync.patch - Add ibus-hangul-gtk4-sync.patch