<?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>146893</bug_id>
          
          <creation_ts>2015-07-12 04:09:05 -0700</creation_ts>
          <short_desc>[GTK] cmake error related WEBKIT_OPTION_DEFAULT_PORT_VALUE &amp; CAIROGL_FOUND</short_desc>
          <delta_ts>2020-10-13 07:25:54 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>420+</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="nick">unixman</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1109023</commentid>
    <comment_count>0</comment_count>
    <who name="nick">unixman</who>
    <bug_when>2015-07-12 04:09:05 -0700</bug_when>
    <thetext>i built cairo with glesv2.Currently gl and glesv2 backends can not build together.

The packager has to choose one of either. so i haven&apos;t cairo-gl.in my pc it seems:

/usr/lib/pkgconfig/cairo-egl.pc
/usr/lib/pkgconfig/cairo-fc.pc
/usr/lib/pkgconfig/cairo-ft.pc
/usr/lib/pkgconfig/cairo-glesv2.pc
/usr/lib/pkgconfig/cairo-gobject.pc
/usr/lib/pkgconfig/cairo-pdf.pc
/usr/lib/pkgconfig/cairo-png.pc
/usr/lib/pkgconfig/cairo-ps.pc
/usr/lib/pkgconfig/cairo-script.pc
/usr/lib/pkgconfig/cairo-svg.pc
/usr/lib/pkgconfig/cairo.pc

So cmake got below error at configuration step.

CMake Error at Source/cmake/OptionsGTK.cmake:131 (WEBKIT_OPTION_DEFAULT_PORT_VALUE):
   WEBKIT_OPTION_DEFAULT_PORT_VALUE Macro invoked with incorrect arguments for
   macro named: WEBKIT_OPTION_DEFAULT_PORT_VALUE
 Call Stack (most recent call first):
   CMakeLists.txt:163 (include)

131th line of OptionsGTK.cmake  is:

WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ACCELERATED_2D_CANVAS PUBLIC ${CAIROGL_FOUND})</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1697243</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-10-13 07:25:54 -0700</bug_when>
    <thetext>(In reply to nick from comment #0)
&gt; 131th line of OptionsGTK.cmake  is:
&gt; 
&gt; WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ACCELERATED_2D_CANVAS PUBLIC
&gt; ${CAIROGL_FOUND})

This is removed in bug #217603.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>