when i am trying to build gtk port cmake allow generating makefile in case of -DENABLE_TOUCH_EVENTS=OFF But gtk unconditionally presume as it is enabled. So in compilation stage i get: In file included from /home/me/src/webkitgtk-2.9.3/Source/WebKit2/WebProcess/WebPage/WebPage.cpp:75:0: /home/me/src/webkitgtk-2.9.3/Source/WebKit2/Shared/gtk/WebEventFactory.h:42:12: error: ‘WebTouchEvent’ does not name a type static WebTouchEvent createWebTouchEvent(const GdkEvent*, Vector<WebPlatformTouchPoint>&&); webkitgtk-2.9.3
And similar errors for other touch related classes.
This doesn't seem to be failing anymore in the way it's described here, although there were a couple of build errors in unrelated sources that were not including the GTK+ header file and were indirectly getting it from a touch events header. I fixed those in https://trac.webkit.org/changeset/227606.