Bug 138084 - [GTK] fix WebKit Gtk build-break caused by cairo-gl.h
Summary: [GTK] fix WebKit Gtk build-break caused by cairo-gl.h
Status: CLOSED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-26 11:16 PDT by KwangHyuk
Modified: 2015-05-11 03:42 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.66 KB, patch)
2014-10-26 11:29 PDT, KwangHyuk
no flags Details | Formatted Diff | Diff
Patch (1.66 KB, patch)
2014-10-26 11:35 PDT, KwangHyuk
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description KwangHyuk 2014-10-26 11:16:28 PDT
Build break occurs for the webkit GTK build,

nter-arith -Wundef -Wwrite-strings -fPIC -MMD -MT Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/cairo/CairoUtilities.cpp.o -MF "Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/cairo/CairoUtilities.cpp.o.d" -o Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/cairo/CairoUtilities.cpp.o -c ../../Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp
../../Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp:43:22: fatal error: cairo-gl.h: No such file or directory
 #include <cairo-gl.h>
Comment 1 KwangHyuk 2014-10-26 11:22:01 PDT
ENABLE_ACCELERATED_2D_CANVAS are still tuned on due to FeatureList.pm even though cairo-gl is not found.

-- Looking for include file GL/glx.h
-- Looking for include file GL/glx.h - found
-- checking for module 'cairo-gl'
--   package 'cairo-gl' not found
-- checking for module 'cairo-glx'
--   package 'cairo-glx' not found
-- checking for module 'cairo-egl'
--   package 'cairo-egl' not found
-- Found CairoGL: CAIRO_GLX_INCLUDE_DIRS;CAIRO_EGL_INCLUDE_DIRS (Required is at least version "1.10.2")
Comment 2 KwangHyuk 2014-10-26 11:29:45 PDT
Created attachment 240466 [details]
Patch
Comment 3 KwangHyuk 2014-10-26 11:35:00 PDT
Created attachment 240467 [details]
Patch
Comment 4 KwangHyuk 2014-10-30 10:24:41 PDT
This might be jhbuild issue as I cound not see cairo tar ball or cairo folder under the ./WebKitBuild/Dependencies/Source/.
Therefore, I close this bug.
Comment 5 jaybhaskar 2015-01-07 21:16:34 PST
This is issue related with cairo library package. download cairo source and recompile with ./configure --enable-gl . by defualt cairo package has enable-gl flag is disabled that is why below error 
-- Looking for include file GL/glx.h
-- Looking for include file GL/glx.h - found
-- checking for module 'cairo-gl'
--   package 'cairo-gl' not found
-- checking for module 'cairo-glx'
--   package 'cairo-glx' not found
-- checking for module 'cairo-egl'
--   package 'cairo-egl' not found

is happening. enabling --enable-gl will remove the problem