[Pkg-ime-devel] IBus: Surrounding Text Support

Harshula harshula at gmail.com
Mon Aug 1 16:36:46 UTC 2011


Could you please enable surrounding text support (STS) by passing
"--enable-surrounding-text" to configure? This is the first upstream
IBus release in Debian that contains STS code. SCIM had STS a long time

Daiki (CC'd) implemented the feature:
commit 06e6abee9f221bdf7c277538ce136154465619d7
Author: Daiki Ueno <daiki.ueno at gmail.com>
Date:   2011-04-05 10:11:49 -0400

    Support surrounding-text retrieval.
    Unlike the GtkIMContext API, IBus automatically retrieves
    surrounding-text when certain events occurred to the
    client ("before filter_keypress", for example).  This makes the
    engine API simpler but causes periodical emission of D-Bus
    signals for updating surrounding-text information, which is
    unwanted for typical engines.
    For this reason, the surrounding-text support is currently
    disabled by default.  To enable it, pass
    --enable-surrounding-text to configure.  Also, even
    surrounding-text support is compiled in, IBus does not start
    polling until an engine requests surrounding-text using
    ibus_engine_get_surrounding_text().  To make the function work
    for the first time, clients should retrieve
    initial surrounding-text when the engine is enabled (see
ibus_im_context_focus_in() and
    _ibus_context_enabled_cb() in client/gtk2/ibusimcontext.c).

The reasons why STS is needed are documented here:


On Mon, 2011-07-25 at 21:48 +0000, Debian FTP Masters wrote:
> Accepted:
> ibus-doc_1.3.99.20110419-1_all.deb
>   to main/i/ibus/ibus-doc_1.3.99.20110419-1_all.deb
> ibus-gtk3_1.3.99.20110419-1_amd64.deb
>   to main/i/ibus/ibus-gtk3_1.3.99.20110419-1_amd64.deb
> ibus-gtk_1.3.99.20110419-1_amd64.deb
>   to main/i/ibus/ibus-gtk_1.3.99.20110419-1_amd64.deb
> ibus_1.3.99.20110419-1.debian.tar.gz
>   to main/i/ibus/ibus_1.3.99.20110419-1.debian.tar.gz
> ibus_1.3.99.20110419-1.dsc
>   to main/i/ibus/ibus_1.3.99.20110419-1.dsc
> ibus_1.3.99.20110419-1_amd64.deb
>   to main/i/ibus/ibus_1.3.99.20110419-1_amd64.deb
> ibus_1.3.99.20110419.orig.tar.gz
>   to main/i/ibus/ibus_1.3.99.20110419.orig.tar.gz
> libibus-1.0-0_1.3.99.20110419-1_amd64.deb
>   to main/i/ibus/libibus-1.0-0_1.3.99.20110419-1_amd64.deb
> libibus-1.0-dev_1.3.99.20110419-1_amd64.deb
>   to main/i/ibus/libibus-1.0-dev_1.3.99.20110419-1_amd64.deb
> python-ibus_1.3.99.20110419-1_all.deb
>   to main/i/ibus/python-ibus_1.3.99.20110419-1_all.deb
> Override entries for your package:
> ibus-doc_1.3.99.20110419-1_all.deb - optional doc
> ibus-gtk3_1.3.99.20110419-1_amd64.deb - optional utils
> ibus-gtk_1.3.99.20110419-1_amd64.deb - optional utils
> ibus_1.3.99.20110419-1.dsc - source utils
> ibus_1.3.99.20110419-1_amd64.deb - optional utils
> libibus-1.0-0_1.3.99.20110419-1_amd64.deb - optional libs
> libibus-1.0-dev_1.3.99.20110419-1_amd64.deb - optional libdevel
> python-ibus_1.3.99.20110419-1_all.deb - optional python
> Announcing to debian-devel-changes at lists.debian.org
> Closing bugs: 635023 
> Thank you for your contribution to Debian.
> _______________________________________________
> Pkg-ime-devel mailing list
> Pkg-ime-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ime-devel

More information about the Pkg-ime-devel mailing list