summarylogtreecommitdiffstats
path: root/nox11.patch
diff options
context:
space:
mode:
authorSimone Gaiarin2016-09-07 13:05:48 +0200
committerSimone Gaiarin2016-09-07 13:05:48 +0200
commitf9d860893c6d6749b18a79234523337e62367cba (patch)
tree8fc7956e0b39f9b93257667395a4a2c716400aeb /nox11.patch
downloadaur-kdeedu-ktouch-patched.tar.gz
Initial release
Diffstat (limited to 'nox11.patch')
-rw-r--r--nox11.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/nox11.patch b/nox11.patch
new file mode 100644
index 000000000000..b9245a63dfc5
--- /dev/null
+++ b/nox11.patch
@@ -0,0 +1,17 @@
+--- src/CMakeLists.txt 2016-09-07 10:54:28.551205779 +0200
++++ src/CMakeLists.txt 2016-09-07 10:54:41.631520079 +0200
+@@ -98,13 +98,7 @@
+ customlessoneditorwidget.cpp
+ )
+
+-if (X11_Xkbfile_FOUND)
+- add_definitions(-DKTOUCH_BUILD_WITH_X11)
+- include_directories(${X11_Xkbfile_INCLUDE_PATH})
+- set(ktouch_SRCS ${ktouch_SRCS} x11_helper.cpp)
+-else (X11_Xkbfile_FOUND)
+- set(ktouch_SRCS ${ktouch_SRCS} keyboardlayoutmenu.cpp)
+-endif (X11_Xkbfile_FOUND)
++set(ktouch_SRCS ${ktouch_SRCS} keyboardlayoutmenu.cpp)
+
+ kde4_add_kcfg_files(ktouch_SRCS preferences.kcfgc )
+