[patch] IBus support on Linux with CMake

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.

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 <joe.gsoc16 at gmail.com>:> 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.

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 2.0.4 was released January 2.> On Mar 30, 2016, at 10:05 PM, Sik the hedgehog <sik.the.hedgehog at gmail.com> 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.