<?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>250701</bug_id>
          
          <creation_ts>2023-01-17 00:36:13 -0800</creation_ts>
          <short_desc>webkit2 public header include error</short_desc>
          <delta_ts>2023-01-17 05:46:45 -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>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>1925943</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Devoogdt">thomas.devoogdt</who>
    <bug_when>2023-01-17 00:36:13 -0800</bug_when>
    <thetext>Since commit 654646fe6187abcf9ced6a3ace80eaf04754fd39, the webkit.h file is generated
and does only define __WEBKIT_H_INSIDE__. So replace the only remaining __WEBKIT2_H_INSIDE__
defines to avoid any &quot;Only &lt;webkit2/webkit2.h&gt; can be included directly.&quot; error.

In file included from /home/thomas/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/webkitgtk-4.1/webkit2/webkit2.h:81,
                 from /home/thomas/buildroot/output/build/barco-browser-304bc1b4a82ff20e7c5e2ab8eaf1cd2611812efe/main.c:14:
/home/thomas/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/webkitgtk-4.1/webkit/WebKitURISchemeResponse.h:21:2: error: #error &quot;Only &lt;webkit2/webkit2.h&gt; can be included directly.&quot;
   21 | #error &quot;Only &lt;webkit2/webkit2.h&gt; can be included directly.&quot;
      |  ^~~~~</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1925950</commentid>
    <comment_count>1</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-01-17 00:56:52 -0800</bug_when>
    <thetext>Committed 258974@main (9fe47e98a7f3): &lt;https://commits.webkit.org/258974@main&gt;

Reviewed commits have been landed. Closing PR #8713 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1925966</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-01-17 05:46:45 -0800</bug_when>
    <thetext>Committed 258976@main (8f11ad0813c3): &lt;https://commits.webkit.org/258976@main&gt;

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

    </bug>

</bugzilla>