Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 460796 - app-i18n/ibus-1.5.1-r1 does not respect system keyboard layout despite of user preference
Summary: app-i18n/ibus-1.5.1-r1 does not respect system keyboard layout despite of use...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-03-08 17:53 UTC by Shunsuke Shimizu
Modified: 2013-04-03 22:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
the patch not depending on vala (include-c.patch,27.75 KB, text/plain)
2013-03-08 17:56 UTC, Shunsuke Shimizu
Details
the patch depending on vala (without-c.patch,5.04 KB, patch)
2013-03-08 17:56 UTC, Shunsuke Shimizu
Details | Diff
the patch not depending on vala (fixed) (include-c.patch,13.20 KB, patch)
2013-03-08 18:00 UTC, Shunsuke Shimizu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shunsuke Shimizu 2013-03-08 17:53:41 UTC
Xorg is configured to assume US keyboard layout, and I set "use system layout" option on ibus-setup enabled, but when I switch to Japanese Input Method on IBus, such as Mozc, JP keyboard layout is forced.

This bug is also reported on the upstream <http://code.google.com/p/ibus/issues/detail?id=1558>
and fixed on the trunk (related commits: <https://github.com/ibus/ibus/commit/4b2f6a477019b50375aba2e5f9c43e618b6905ad> and <https://github.com/ibus/ibus/commits/master>).

The behavior is quite inconvenient, so I made ebuild with the upstream fix applied.

Some parts of IBus is written in vala, and release of IBus source code includes generated C code from vala. The ebuild now uses included C code when vala USE flag is not specified and the upstream fix is for vala code, so if you avoid dependency on vala, the patch used by ebuild should include diff of automatically generated C code. It is a bit ugly, and if dependency on vala is permitted, the patch is simple.

So I'll attach two patch to app-i18n/ibus, one is avoiding vala dependency and the other depend on vala.
Comment 1 Shunsuke Shimizu 2013-03-08 17:56:10 UTC
Created attachment 341322 [details]
the patch not depending on vala
Comment 2 Shunsuke Shimizu 2013-03-08 17:56:53 UTC
Created attachment 341324 [details, diff]
the patch depending on vala
Comment 3 Shunsuke Shimizu 2013-03-08 18:00:31 UTC
Created attachment 341326 [details, diff]
the patch not depending on vala (fixed)

Sorry, I made a mistake.
Comment 4 Naohiro Aota gentoo-dev 2013-04-03 22:15:09 UTC
I just added the patch into the tree. Thank you for your contribution.