Bug 146892

Summary: [GTK] ENABLE_TOUCH_EVENTS=OFF allowed but then it can't compile
Product: WebKit Reporter: nick <unixman>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, csaavedra
Priority: P2    
Version: 420+   
Hardware: PC   
OS: Linux   

Description nick 2015-07-12 02:52:59 PDT
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
Comment 1 nick 2015-07-12 02:59:29 PDT
And similar errors for other touch related classes.
Comment 2 Claudio Saavedra 2018-01-25 07:38:28 PST
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.