[Webkit-unassigned] [Bug 137684] New: Patch to build a wayland-only webkit/EFL(Without X11/Ecore_X)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 14 02:32:40 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=137684
Summary: Patch to build a wayland-only webkit/EFL(Without
X11/Ecore_X)
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit EFL
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jianzhong.huang at i-soft.com.cn
CC: demarchi at webkit.org
Here is a patch to build a wayland-only webkit/EFL(Without X11 and ecore_x).
It is applied on ewebkit-1.11.0.(It is almost ready for wayland-only, Thanks for great work.)
This patch includes:
1, Add some missing ifdefs to control X/Ecore_X related codes not be built under wayland-only environment.
2, Fix a inline func undefined issue in ViewportStyleResolver.cpp(I build it with clang 3.5, not sure whether it's a compiler problem or not.)
3, Fix a wrong func call in PlatformScreenEfl.cpp When ECore_X disabled.
4, Add a option 'ENABLE_WAYLAND_ONLY' and set some cmake options to control glx/X11 related codes not build when EGL enabled.
After patch applied, Webkit/EFL can be compiled without X/Ecore_X with "-DENABLE_WAYLAND_ONLY=ON". And the MiniBrowser works.
NOTE:
1, NETSCAPE_PLUGIN_API is disabled when ENABLE_WAYLAND_ONLY since it's related to X11/Xlib.
2, It will use cairosurface and software rendering mode, accelation will be disabled since evas_gl_new failed under wayland(there is no libGL exist.)
3, There is some other stable/unimplemented problems, but at least, it can be built now.
All this problems is related to X/ECore_X(Except No.2), and it's a small patch, So I think it's OK to submit a ALL-IN-ONE patch.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list