IBus-GJS 3.2.1.20111021 was released

Recently I fixed several bugs in ibus-gjs for gnome-shell 3.2.1 and gjs 1.30.0.
ibus-1.4.0-5.fc16 has all the fixes and probably it will be available tomorrow in Fedora test repository.

# yum install --enablerepo=updates-testing ibus ibus-gnome3
% rpm -q ibus
ibus-1.4.0-5.fc16.x86_64

The development ibus-gjs is avaialable here.
1. Get the current keyboard layout when no variant.
ibus could not get the current keyboard layout when the layout has no variant. e.g. ‘us’ layout.
The patch was integrated.

2. An error when XKB feature is disabled.
Fedora enables the XKB feature but this problem is reported by the other platforms.
The patch was integrated.

3. Cannot open ibus panel icon menu in gnome-shell 3.2.1.
I had added a workaround not to move the input focus with ibus status icon in Fedora 15 but it does not work in Fedora 16 and the workaround caused an up compatible issue in gnome-shell 3.2.1.
The patch was integrated.

4. IM engine’s menu items are not selectable on ibus panel icon meenu.
IME menu items cannot be selected because of no focus in gnome-shell 3.2.x because of the F15 workaround.
The patch was integrated.

Advertisements

About fujiwara

I'm an open-sourced desktop i18n developer.
This entry was posted in IBus and tagged , , . Bookmark the permalink.

14 Responses to IBus-GJS 3.2.1.20111021 was released

  1. I have updated ibus via the method you provides. There are some suggestions from me:
    1. It shows “zh” for ibus-chewing input method now. I think it should be “酷” or “注” instead of “zh”, because the Chinese Traditional name of ibus-chewing is 新酷音 (one kind of 注音 input method). “酷” is also the original icon of ibus-chewing.

    2. It shows “中” for bopomofo mode of ibus-pinyin now. I think that it might not be suitable, because “あ” stands for ibus-anthy instead of “日”. It is better to use “ㄅ” for the same reason. ㄅㄆㄇㄈ… are the symbols to present the way Han characters pronounced. Plus, bopomofo mode of ibus-pinyin uses “ㄅ” as the original icon.

    3. ibus has some new strings in the interface. The translation template should also be updated to let translaters translate them. https://www.transifex.net/projects/p/ibus/

    At the last, I deeply enjoy the new skin ibus looks like now. It really fits GNOME 3! Thank you for your work! 🙂

    • fujiwara says:

      > 1. It shows “zh” for ibus-chewing input method now.
      It’s fixed as you confirmed.

      > 2. It shows “中” for bopomofo mode of ibus-pinyin now.
      I think the Japanese is special. Normally I’d expect keymaps shows the prefix of the language names, e.g. ‘zh’, and input method shows a multi-byte char which expresses the language names.Basically it shows the language but not the input method. I will add the suffix numbers for the duplicated languages likes keymap status icon.
      I think it might be good to follow the implementation of MS-IME.

      > 3. ibus has some new strings in the interface.
      Sorry, the new strings are included in the patch which is not upstreamed yet.
      https://www.transifex.net/projects/p/ibus/ is for the upstream translation repository.
      One possibility is to prepare the new trasifex repo for ibus-gjs but probably I think the best way is to upstream the patch into gnome-shell asap.

  2. Oh, I just updated ibus-chewing to 1.3.10 now, it used “酷”. 😛

  3. I find some strings are not included in the ibus.pot. Will they go into the translation template in the future?

    1. “Customize active input methods” in “Input method” tab of preference. http://www.flickr.com/photos/realplus/6302188223/in/photostream
    2. Some strings in “Advanced” tab of preference, for example “System Keyboard Layout” http://www.flickr.com/photos/realplus/6302713928/in/photostream

    • fujiwara says:

      Their strings comes from Fedora internal patch. So they are not included in the upstream pot file.
      The upstream pot file can be generated by the upstream repository:
      https://github.com/ibus/ibus
      % git clone git://github.com/ibus/ibus.git
      % cd ibus/po
      % intltool-update -p
      % ls *.pot

      The fedora internal patches are included in the forked repository.
      https://github.com/fujiwarat/ibus/tree/fedora

      > 1. “Customize active input methods” in “Input method” tab of
      It’s still under the discussion if the feature is needed and currently ibus HEAD has been developed for gtk3 GUI.
      Once it’s done, I’ll try to upstream the patch and then it will be shown in the pot file.
      So currently I have no idea about the translations on the Fedora internal patch.

      > 2. Some strings in “Advanced” tab of preference, for example
      It’s also an internal patch about ibus xkb feature. Currently I’m porting the feature to the separated module ibus-xkb for Fedora 17. Once the task is done, the strings will be moved to another UI.

  4. WM says:

    お邪魔します~ Now I’m in Fedora 16, and compile it from git.
    ./autogen.sh –prefix=/usr

    config.status: WARNING: js/misc/config.js contains a reference to the variable `datarootdir’
    which seems to be undefined. Please make sure it is defined

    What should I do to solve this?

    Build options:
    Version 3.2.1.20111114
    Install prefix /usr
    Enable standalone yes
    IBus PKGDATADIR ${datarootdir}/ibus
    IBus PREFIX /usr
    HAVE IBus XKB false
    IBUS XKB
    GNOME_SHELL_VERSION 3.2
    GJS_VERSION 1.30

    • fujiwara says:

      > IBus PKGDATADIR ${datarootdir}/ibus

      Yes, the default autoconf assigns datadir=’${datarootdir}’ but not datadir=”${datarootdir}” so the shell expression $ is not expanded.
      If you run ‘./configure –prefix=/usr –datadir=/usr/share’, you could resolve that issue.
      But the root cause is that you don’t install ibus-devel package.
      I’d recommend to the use spec file on Fedora instead of running configure directly.

      # yum install yum-utils
      # yumdownloader –source ibus
      # rpm2cpio ibus.rpm | cpio -id
      # rpmbuild -bp ibus.spec
      # mv * /root/rpmbuild/SOURCES/
      # rpmbuild -bp ibus.spec
      # rpmbuild -bb ibus.spec

      • fujiwara says:

        > # yum install yum-utils
        > # yumdownloader –source ibus
        > # rpm2cpio ibus.rpm | cpio -id
        > # rpmbuild -bp ibus.spec
        > # mv * /root/rpmbuild/SOURCES/
        > # rpmbuild -bp ibus.spec
        > # rpmbuild -bb ibus.spec

        Probably you don’t have to build ibus but you could install ibus-gnome3 package on Fedora.

        # yum install ibus-gnome3

        The ibus-gnome3 is the package of ibus-gjs.

      • WM says:

        Thanks, I know that package, but I love to live on the edge, and find any possible problem beforehand.

      • WM says:


        After install the ibus-devel package, Now I encountered this TypeError…

    • fujiwara says:

      > After install the ibus-devel package, Now I encountered this TypeError…

      Ah, yes, it’s the ibus-gjs is too early. The part of “use-xmodmap” is not integrated in Fedora ibus yet.
      I have the plan to update Fedora ibus in this week.
      At the moment, there is two workarounds:
      #1. Get the previous ibus-gjs version:
      https://github.com/fujiwarat/ibus-gjs/tags
      tarball or zip files are available
      #2. Disable XKB feature.
      Comment out the line of ‘have_ibus_xkb=true’ in /usr/lib*/pkgconfig/ibus-1.0.pc by manual and build ibus-gjs again.
      #3. Upgrade ibus by manual.
      Use ‘use-xmodmap’ is defined in my gjs or fedora branch:
      https://github.com/fujiwarat/ibus/blob/gjs/data/ibus.schemas.in.in

  5. Pingback: ibus-gjs community version is available on extensions.gnome.org | DesktopI18N's Blog

  6. william says:

    I’m using Gnome 3 shell on ubuntu 12.04
    When I install your extension at https://extensions.gnome.org/extension/68/input-method-status-indicator/
    It doesn’t work. I tried download the file from github, and install it from Tweak tool, but it doesn’t work either.
    Please help, thank you!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s