We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3301

Summary: IBus support on Linux with CMake
Product: SDL Reporter: joe.gsoc16
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2    
Version: HG 2.1   
Hardware: All   
OS: Linux   
Attachments: diff of CMakeLists.txt and include/SDL_config.h.cmake

Description joe.gsoc16 2016-03-31 01:07:22 UTC
Created attachment 2402 [details]
diff of CMakeLists.txt and include/SDL_config.h.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).
Comment 1 Sam Lantinga 2016-10-01 19:48:33 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/efb26f3918c4