commit:     bcbb5da0e0f053c69889beab5d94d336f4be75c5
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 14 12:43:00 2021 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Thu Oct 14 12:43:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcbb5da0

app-i18n/ibus-handwrite: fix blink

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 .../files/ibus-handwrite-blink.patch               | 23 ++++++++++++++++++++++
 ...3.0.0.ebuild => ibus-handwrite-3.0.0-r1.ebuild} |  5 ++++-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/app-i18n/ibus-handwrite/files/ibus-handwrite-blink.patch 
b/app-i18n/ibus-handwrite/files/ibus-handwrite-blink.patch
new file mode 100644
index 00000000000..7954f2018c2
--- /dev/null
+++ b/app-i18n/ibus-handwrite/files/ibus-handwrite-blink.patch
@@ -0,0 +1,23 @@
+From fcffa8f1ed798db3c2c4db0dbfc953f3147d37ba Mon Sep 17 00:00:00 2001
+From: Peng Wu <[email protected]>
+Date: Mon, 31 Aug 2020 15:32:48 +0800
+Subject: [PATCH] Fix focus in/out issue
+
+---
+ src/engine.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/engine.c b/src/engine.c
+index da01f06..d3d924e 100644
+--- a/src/engine.c
++++ b/src/engine.c
+@@ -155,9 +155,7 @@ static void 
ibus_handwrite_engine_focus_in(IBusHandwriteEngine *engine)
+ 
+ static void ibus_handwrite_engine_focus_out(IBusHandwriteEngine *engine)
+ {
+-      UI_hide_ui(engine);
+       printf("%s \n", __func__);
+-
+ }
+ 
+ static void ibus_handwrite_engine_reset(IBusHandwriteEngine *engine)

diff --git a/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild 
b/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0-r1.ebuild
similarity index 90%
rename from app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild
rename to app-i18n/ibus-handwrite/ibus-handwrite-3.0.0-r1.ebuild
index 9846756601f..a57383c4952 100644
--- a/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild
+++ b/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0-r1.ebuild
@@ -23,7 +23,10 @@ DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig
        nls? ( sys-devel/gettext )"
 
-PATCHES=( "${FILESDIR}"/${PN}-headers.patch )
+PATCHES=(
+       "${FILESDIR}"/${PN}-blink.patch
+       "${FILESDIR}"/${PN}-headers.patch
+)
 
 src_configure() {
        econf \

Reply via email to