The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
[patch] IBus support on Linux with CMake
Joe Winzer
Guest

I recently looked into Unicode support in SDL2 and realized that
SDL_TEXTEDITING doesn't get triggered at all (Japanese IME).
According to others on IRC it works fine on Windows/Mac but not
for me on (arch)Linux.
When compiling SDL with autotools, IBus support is enabled by
default but not so with CMake.
I never used CMake before but got it working and also included
that pkg-config determines flags for dbus (FIXME in CMakeLists).

I wrote a patch but was not sure if it's worth a bug report, so
I come here to ask what the next step should be.
[patch] IBus support on Linux with CMake
Sik


Joined: 26 Nov 2011
Posts: 905
The reason Sol comes with its own custom SDL2 build is because 2.0.3
doesn't have IME support for Linux but it was added later... the
problem is that 2.0.4 still doesn't have an official release yet.

So you should probably update, but beware that you'll then have to use
a non-released version :O)

2016-03-30 21:15 GMT-03:00, Joe Winzer:
Quote:
I recently looked into Unicode support in SDL2 and realized that
SDL_TEXTEDITING doesn't get triggered at all (Japanese IME).
According to others on IRC it works fine on Windows/Mac but not
for me on (arch)Linux.
When compiling SDL with autotools, IBus support is enabled by
default but not so with CMake.
I never used CMake before but got it working and also included
that pkg-config determines flags for dbus (FIXME in CMakeLists).

I wrote a patch but was not sure if it's worth a bug report, so
I come here to ask what the next step should be.

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
[patch] IBus support on Linux with CMake
Sik


Joined: 26 Nov 2011
Posts: 905
Oh just realized you pointed out it's there, just not with CMake >_>; Oh well.

In any case the warning is out there for others.
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
[patch] IBus support on Linux with CMake
Alex Szpakowski
Guest

SDL 2.0.4 was released January 2.

Quote:
On Mar 30, 2016, at 10:05 PM, Sik the hedgehog wrote:

The reason Sol comes with its own custom SDL2 build is because 2.0.3
doesn't have IME support for Linux but it was added later... the
problem is that 2.0.4 still doesn't have an official release yet.
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org