<?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>262169</bug_id>
          
          <creation_ts>2023-09-27 01:10:08 -0700</creation_ts>
          <short_desc>[GTK] build breaks with -DUSE_OPENGL_OR_ES=OFF: epoxy/egl.h no such file or directory</short_desc>
          <delta_ts>2023-09-29 08:03:11 -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>WebKit Nightly Build</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="Thomas Devoogdt">thomas.devoogdt</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>1980423</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Devoogdt">thomas.devoogdt</who>
    <bug_when>2023-09-27 01:10:08 -0700</bug_when>
    <thetext>This new bug report was proposed in https://bugs.webkit.org/show_bug.cgi?id=261637#c4.

webkitgtk-2.42.0/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:39:10: fatal error: epoxy/egl.h: No such file or directory
   39 | #include &lt;epoxy/egl.h&gt;
      |          ^~~~~~~~~~~~~

If USE_OPENGL_OR_ES=OFF, then we can&apos;t assume that EGL will be present. So the include + all it&apos;s usages should be guarded with e.g. USE(EGL).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1980426</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Devoogdt">thomas.devoogdt</who>
    <bug_when>2023-09-27 01:12:10 -0700</bug_when>
    <thetext>Note that the same does apply to AcceleratedSurfaceDMABuf.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1980906</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Devoogdt">thomas.devoogdt</who>
    <bug_when>2023-09-28 04:37:00 -0700</bug_when>
    <thetext>It seems that commit https://commits.webkit.org/265188@main introduced the problems. The USE(GBM) checks were dropped but should have been replaced by USE(EGL).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1980945</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas Devoogdt">thomas.devoogdt</who>
    <bug_when>2023-09-28 06:53:06 -0700</bug_when>
    <thetext>PR:

main: https://github.com/WebKit/WebKit/pull/18346
2.42: https://github.com/WebKit/WebKit/pull/18347</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1981043</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-09-28 11:22:40 -0700</bug_when>
    <thetext>Committed 268598@main (c124153d271b): &lt;https://commits.webkit.org/268598@main&gt;

Reviewed commits have been landed. Closing PR #18346 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1981277</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-09-29 08:03:11 -0700</bug_when>
    <thetext>Committed 266719.76@bugfix/USE_EGL-2.42 (b751733c75f7): &lt;https://commits.webkit.org/266719.76@bugfix/USE_EGL-2.42&gt;

Reviewed commits have been landed. Closing PR #18347 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>