<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>142275</bug_id>
          
          <creation_ts>2015-03-04 05:17:07 -0800</creation_ts>
          <short_desc>[GTK] cairo-egl required but no implicit dependacy on it</short_desc>
          <delta_ts>2017-03-11 10:59:17 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Koop Mast">kwm</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1074043</commentid>
    <comment_count>0</comment_count>
    <who name="Koop Mast">kwm</who>
    <bug_when>2015-03-04 05:17:07 -0800</bug_when>
    <thetext>cmake checks for the presence of cairo-gl and cairo-egl during the configure stage, but the code assumes it present regardless of what cmake found. 

cmake:
-- checking for module &apos;cairo-gl&apos;
--   found cairo-gl, version 1.14.0
-- checking for module &apos;cairo-egl&apos;
--   package &apos;cairo-egl&apos; not found
-- Found CairoGL: /usr/local/include/cairo;/usr/local/include/glib-2.0;/usr/local/lib/glib-2.0/include;/usr/local/include/pixman-1;/usr/local/include/freetype2;/usr/local/include/libpng16;/usr/local/include/libdrm;/usr/local/include;CAIRO_EGL_INCLUDE_DIRS (Required is at least version &quot;1.10.2&quot;)

In file included from /wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.7.3/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:50:
/usr/local/include/cairo/cairo-gl.h:95:5: warning: &apos;CAIRO_HAS_GLX_FUNCTIONS&apos; is not defined, evaluates to 0 [-Wundef]
#if CAIRO_HAS_GLX_FUNCTIONS
    ^
/usr/local/include/cairo/cairo-gl.h:113:5: warning: &apos;CAIRO_HAS_WGL_FUNCTIONS&apos; is not defined, evaluates to 0 [-Wundef]
#if CAIRO_HAS_WGL_FUNCTIONS
    ^
/usr/local/include/cairo/cairo-gl.h:129:5: warning: &apos;CAIRO_HAS_EGL_FUNCTIONS&apos; is not defined, evaluates to 0 [-Wundef]
#if CAIRO_HAS_EGL_FUNCTIONS
    ^
In file included from /wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.7.3/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:50:
/usr/local/include/cairo/cairo-gl.h:95:5: warning: &apos;CAIRO_HAS_GLX_FUNCTIONS&apos; is not defined, evaluates to 0 [-Wundef]
#if CAIRO_HAS_GLX_FUNCTIONS
    ^
/usr/local/include/cairo/cairo-gl.h:113:5: warning: &apos;CAIRO_HAS_WGL_FUNCTIONS&apos; is not defined, evaluates to 0 [-Wundef]
#if CAIRO_HAS_WGL_FUNCTIONS
    ^
/usr/local/include/cairo/cairo-gl.h:129:5: warning: &apos;CAIRO_HAS_EGL_FUNCTIONS&apos; is not defined, evaluates to 0 [-Wundef]
#if CAIRO_HAS_EGL_FUNCTIONS
    ^
/wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.7.3/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:307:21: error: use of undeclared identifier &apos;cairo_egl_device_create&apos;
    m_cairoDevice = cairo_egl_device_create(sharedEGLDisplay(), m_context);
                    ^
3 warnings and 1 error generated.
Source/WebCore/CMakeFiles/WebCorePlatformGTK2.dir/build.make:146: recipe for target &apos;Source/WebCore/CMakeFiles/WebCorePlatformGTK2.dir/platform/graphics/egl/GLContextEGL.cpp.o&apos; failed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>