1 |
commit: bcbb5da0e0f053c69889beab5d94d336f4be75c5 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 14 12:43:00 2021 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 14 12:43:00 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcbb5da0 |
7 |
|
8 |
app-i18n/ibus-handwrite: fix blink |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
12 |
|
13 |
.../files/ibus-handwrite-blink.patch | 23 ++++++++++++++++++++++ |
14 |
...3.0.0.ebuild => ibus-handwrite-3.0.0-r1.ebuild} | 5 ++++- |
15 |
2 files changed, 27 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/app-i18n/ibus-handwrite/files/ibus-handwrite-blink.patch b/app-i18n/ibus-handwrite/files/ibus-handwrite-blink.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..7954f2018c2 |
20 |
--- /dev/null |
21 |
+++ b/app-i18n/ibus-handwrite/files/ibus-handwrite-blink.patch |
22 |
@@ -0,0 +1,23 @@ |
23 |
+From fcffa8f1ed798db3c2c4db0dbfc953f3147d37ba Mon Sep 17 00:00:00 2001 |
24 |
+From: Peng Wu <pwu@××××××.com> |
25 |
+Date: Mon, 31 Aug 2020 15:32:48 +0800 |
26 |
+Subject: [PATCH] Fix focus in/out issue |
27 |
+ |
28 |
+--- |
29 |
+ src/engine.c | 2 -- |
30 |
+ 1 file changed, 2 deletions(-) |
31 |
+ |
32 |
+diff --git a/src/engine.c b/src/engine.c |
33 |
+index da01f06..d3d924e 100644 |
34 |
+--- a/src/engine.c |
35 |
++++ b/src/engine.c |
36 |
+@@ -155,9 +155,7 @@ static void ibus_handwrite_engine_focus_in(IBusHandwriteEngine *engine) |
37 |
+ |
38 |
+ static void ibus_handwrite_engine_focus_out(IBusHandwriteEngine *engine) |
39 |
+ { |
40 |
+- UI_hide_ui(engine); |
41 |
+ printf("%s \n", __func__); |
42 |
+- |
43 |
+ } |
44 |
+ |
45 |
+ static void ibus_handwrite_engine_reset(IBusHandwriteEngine *engine) |
46 |
|
47 |
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 |
48 |
similarity index 90% |
49 |
rename from app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild |
50 |
rename to app-i18n/ibus-handwrite/ibus-handwrite-3.0.0-r1.ebuild |
51 |
index 9846756601f..a57383c4952 100644 |
52 |
--- a/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild |
53 |
+++ b/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0-r1.ebuild |
54 |
@@ -23,7 +23,10 @@ DEPEND="${RDEPEND}" |
55 |
BDEPEND="virtual/pkgconfig |
56 |
nls? ( sys-devel/gettext )" |
57 |
|
58 |
-PATCHES=( "${FILESDIR}"/${PN}-headers.patch ) |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}"/${PN}-blink.patch |
61 |
+ "${FILESDIR}"/${PN}-headers.patch |
62 |
+) |
63 |
|
64 |
src_configure() { |
65 |
econf \ |