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 - IBus support on Linux with CMake
Summary: IBus support on Linux with CMake
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.1
Hardware: All Linux
: P2 minor
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-31 01:07 UTC by joe.gsoc16
Modified: 2016-10-01 19:48 UTC (History)
0 users

See Also:


Attachments
diff of CMakeLists.txt and include/SDL_config.h.cmake (1.21 KB, text/plain)
2016-03-31 01:07 UTC, joe.gsoc16
Details

Note You need to log in before you can comment on or make changes to this bug.
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