Bug 1233481 - Need to update ibus-fbterm to work with ibus 1.5
Summary: Need to update ibus-fbterm to work with ibus 1.5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus-fbterm
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ding-Yi Chen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-19 03:26 UTC by fujiwara
Modified: 2015-07-03 18:42 UTC (History)
2 users (show)

See Also:
Fixed In Version: ibus-fbterm-0.9.1-21.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-03 18:33:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description fujiwara 2015-06-19 03:26:47 UTC
I confirmed ibus-fbterm works fine with ibus-anthy with the following patch:

--- ibus-fbterm-0.9.1/src/display.c.orig	2015-06-18 19:28:33.106570726 +0900
+++ ibus-fbterm-0.9.1/src/display.c	2015-06-19 11:20:16.021660197 +0900
@@ -3,7 +3,7 @@ enum { AuxiliaryTextWin = 0, LookupTable
 static unsigned short cursor_x, cursor_y;
 static Rectangle auxiliary_text_win, lookup_table_win, status_bar_win;
 
-static const Info info;
+static Info info;
 
 #define FW(x) ((x) * info.fontWidth)
 #define FH(y) ((y) * info.fontHeight)
--- ibus-fbterm-0.9.1/src/ibus-fbterm.c.orig	2015-06-18 18:58:58.658818930 +0900
+++ ibus-fbterm-0.9.1/src/ibus-fbterm.c	2015-06-19 11:20:22.192781198 +0900
@@ -244,7 +244,11 @@ int main()
 					 "signal::register-properties", slot_register_properties, NULL,
 					 "signal::update-property", slot_update_property, NULL,
 					 NULL);
+#if IBUS_CHECK_VERSION (1, 4, 99)
+	ibus_input_context_set_capabilities(ibus_ctx, IBUS_CAP_AUXILIARY_TEXT | IBUS_CAP_LOOKUP_TABLE | IBUS_CAP_PROPERTY | IBUS_CAP_FOCUS);
+#else
 	ibus_input_context_set_capabilities(ibus_ctx, IBUS_CAP_AUXILIARY_TEXT | IBUS_CAP_LOOKUP_TABLE | IBUS_CAP_PROPERTY);
+#endif
 
 	register_im_callbacks(cbs);
 	connect_fbterm(1);

Comment 1 Fedora Update System 2015-06-23 03:30:14 UTC
ibus-fbterm-0.9.1-21.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/ibus-fbterm-0.9.1-21.fc21

Comment 2 Fedora Update System 2015-06-23 03:31:24 UTC
ibus-fbterm-0.9.1-21.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/ibus-fbterm-0.9.1-21.fc22

Comment 3 Fedora Update System 2015-06-24 15:56:42 UTC
Package ibus-fbterm-0.9.1-21.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ibus-fbterm-0.9.1-21.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10573/ibus-fbterm-0.9.1-21.fc22
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-07-03 18:33:59 UTC
ibus-fbterm-0.9.1-21.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2015-07-03 18:42:20 UTC
ibus-fbterm-0.9.1-21.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.