summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-10-14 21:43:00 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-10-14 21:43:00 +0900
commitbcbb5da0e0f053c69889beab5d94d336f4be75c5 (patch)
tree527db8eca433f4a1359e1be33b89122423c5ebf9 /app-i18n/ibus-handwrite
parentapp-i18n/ibus-handwrite: update LICENSE (diff)
downloadgentoo-bcbb5da0e0f053c69889beab5d94d336f4be75c5.tar.gz
gentoo-bcbb5da0e0f053c69889beab5d94d336f4be75c5.tar.bz2
gentoo-bcbb5da0e0f053c69889beab5d94d336f4be75c5.zip
app-i18n/ibus-handwrite: fix blink
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n/ibus-handwrite')
-rw-r--r--app-i18n/ibus-handwrite/files/ibus-handwrite-blink.patch23
-rw-r--r--app-i18n/ibus-handwrite/ibus-handwrite-3.0.0-r1.ebuild (renamed from app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild)5
2 files changed, 27 insertions, 1 deletions
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 000000000000..7954f2018c2e
--- /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 <pwu@redhat.com>
+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
index 9846756601f4..a57383c4952d 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 \