FS#33113 - [scim] Missing GTK 3 immodule

Attached to Project: Arch Linux
Opened by Daniel Kao (dkao) - Monday, 17 December 2012, 06:41 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 15 June 2013, 00:06 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: SCIM supports GTK3 but /usr/lib/gtk-3.0/3.0.0/im-scim.so is missing from package.


Additional info:
* package version(s)
1.4.14-1

Rebuilding the package from PKGBUILD added the GTK3 immodule; needs an additional gtk-query-immodules-3.0 --update-cache.
This task depends upon

Closed by  Gaetan Bisson (vesath)
Saturday, 15 June 2013, 00:06 GMT
Reason for closing:  Implemented
Additional comments about closing:  scim-1.4.14-4 in [extra]
Comment by Gaetan Bisson (vesath) - Monday, 17 December 2012, 08:34 GMT
When built against gtk3, scim-setup fails to start.

Fortunately, as you put it yourself, "SCIM supports GTK3" as it is.
Comment by Daniel Kao (dkao) - Monday, 17 December 2012, 08:42 GMT
You're right, I didn't test scim-setup.
I couldn't get SCIM to work in GTK3 with GTK_IM_MODULE=scim using the original package, it only works with XIM.
Comment by Gaetan Bisson (vesath) - Monday, 17 December 2012, 08:51 GMT
Indeed, GTK3 support works through XIM at the moment (and so does QT and other widget libraries).

If GTK3 is detected it is selected as the toolkit to build scim-setup and other tools, which I believe makes sense (everything should eventually switch to GTK3); obviously this won't happen for our package until we can fix the scim-setup bug.

You would of course be more than welcome to research that bug and come up with a fix. I would gladly integrate it in our package.
Comment by Brian Lewis (brian) - Sunday, 09 June 2013, 11:30 GMT
  • Field changed: Percent Complete (100% → 0%)
I think I have a fix for this issue, but can't add a comment because the issue is closed.
Comment by Gaetan Bisson (vesath) - Sunday, 09 June 2013, 11:56 GMT
Brian: The issue has just been reopened...
Comment by Brian Lewis (brian) - Sunday, 09 June 2013, 20:33 GMT
So, everyone saw that when scim was compiled with gtk3, scim-setup would refuse to start with "cannot register existing type `GtkWidget'", etc.

But after I removed the only scim plugin I use, scim-pinyin, scim-setup *did* start. So I rebuilt scim-pinyin myself. Then scim-setup was able to start. And my original bug is fixed: now I can use scim for entry in my VTE-based terminal emulator.

So was the problem that scim-setup and scim-pinyin (or whatever plugins you use) disagree about gtk version?

The fix just seems to be to build scim and scim-pinyin myself. Maybe something could be done better/differently on the boxes that build the packages.
Comment by Gaetan Bisson (vesath) - Thursday, 13 June 2013, 07:00 GMT
I have rebuilt SCIM with the Gtk3 and Qt4 immodules; the new packages are in [testing] for now - please report any issues.
Note that the SCIM interface still uses Gtk2, because certain modules (such as scim-anthy) do not support Gtk3 interfaces.
Comment by Brian Lewis (brian) - Thursday, 13 June 2013, 07:13 GMT
I just installed new scim and scim-pinyin, and it seems fixed (I can still use SCIM entry in terminal). Thanks!

Loading...