<?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>244641</bug_id>
          
          <creation_ts>2022-08-31 16:51:22 -0700</creation_ts>
          <short_desc>[WPE][GTK] Introduce WPE 2.0 API version, and ENABLE_2022_GLIB_API flag to indicate either GTK 4 or WPE 2.0</short_desc>
          <delta_ts>2022-09-28 10:28:41 -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>WPE WebKit</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>
          
          <blocked>210100</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>philn</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1895343</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-08-31 16:51:22 -0700</bug_when>
    <thetext>Introduce WPE 2.0 API version, and ENABLE_2022_GLIB_API flag to indicate either GTK 4 or WPE 2.0

Since there are few users of the WPE 1.1 API, and we don&apos;t need to keep it around, WPE 2.0 will simply replace WPE 1.1. In contrast, the WPE 1.0 API is still required until Igalia is ready to phase out libsoup 2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895344</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-08-31 16:53:54 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/3886</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1899687</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-09-19 17:45:23 -0700</bug_when>
    <thetext>Committed 254653@main (b2a6414f90b3): &lt;https://commits.webkit.org/254653@main&gt;

Reviewed commits have been landed. Closing PR #3886 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1900072</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2022-09-21 02:14:28 -0700</bug_when>
    <thetext>This broke WPE builds where ENABLE_COG is ON BTW. Current cog depends on the 1.1 API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1900132</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-09-21 07:34:16 -0700</bug_when>
    <thetext>I&apos;m bamboozled... how does this option work? It doesn&apos;t seem to be used anywhere:

$ git grep &apos;ENABLE(COG)&apos;
$ git grep ENABLE_COG
cmake/OptionsWPE.cmake:    WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_COG PRIVATE ON)
cmake/WebKitFeatures.cmake:    WEBKIT_OPTION_DEFINE(ENABLE_COG &quot;Toggle Cog browser compilation.&quot; PRIVATE OFF)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1901818</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-09-28 10:28:41 -0700</bug_when>
    <thetext>Problem was I was searching only under Source/, but ENABLE_COG is used under Tools/. Anyway it doesn&apos;t look hard to solve, just needs some attention from the cog developers to decide which branch to use based on the WPE API version.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>