[Pkg-ime-devel] Bug#769560: Bug#769560: ibus-sunpinyin: Preferences tab not working
osamu at debian.org
Fri Nov 14 15:49:04 UTC 2014
On Fri, Nov 14, 2014 at 09:48:48PM +0800, Bai Shi wrote:
> Package: ibus-sunpinyin
> Version: 2.0.3-5+b1
> Severity: important
> Tags: upstream
> Dear Maintainer,
> Preferences button under Input Method doesn't work. Run /usr/lib/ibus/ibus-
> setup-sunpinyin directly from command line showed below error.
> Traceback (most recent call last):
> File "/usr/share//ibus-sunpinyin/setup/main.py", line 42, in <module>
> import ibus
Yet, this package lacks python-ibus as dependency ... bug :-)
FYI: I made QC upload of the current package but I do not use Chinese
as you might have guessed.
> Since there is no long python-ibus package in Jessie, is there any
> recommended way to fix this?
Fix as other packages did ;-) You see in ibus-pinyin setup/main.py
from gi.repository import IBus
Basically update code to use this new interface.
You should see many other examples:
I never ported to introspection but see pages like:
(Though ibus-array has not been fixed.)
Unless I get new updated source in timely manner (with changes focused
on fixing this bug), these packages will be removed from the next
release. Usually if upstream is active, they updated this.
Most of patches to support gi was taken from upstream.
> This is an important issue because the default setup of sunpinyin set
> page flip to be PageUp and PageDown which is very user unfriendly.
> User's hand need to be moved away from regular position from time to
> time. The common convention is -/= nowadays. Could you as well make
> -/= as the default page flip setting?
Maybe, patching source that way is one option. But I am afraid I may
get negative response. I usually stick to the upstream.
More information about the Pkg-ime-devel