<?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>286061</bug_id>
          
          <creation_ts>2025-01-16 06:02:20 -0800</creation_ts>
          <short_desc>[GLib] Remove all GLIB_CHECK_VERSION conditionals</short_desc>
          <delta_ts>2025-01-23 15:34:15 -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>Platform</component>
          <version>Other</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Perez">aperez</reporter>
          <assigned_to name="Adrian Perez">aperez</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>magomez</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2087740</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2025-01-16 06:02:20 -0800</bug_when>
    <thetext>The oldest Linux distribution we need to support in 2025 is Ubuntu 22.04,
which ships GLib 2.72.x - and all the GLIB_CHECK_VERSION condiotionals are
for previos versions:


  % rg -tcpp -F &apos;#if GLIB_CHECK_VERSION(&apos; --no-filename Source/{WTF,JavaScriptCore/,Web{Core,Kit}} | sort -u
  #if GLIB_CHECK_VERSION(2, 59, 0)
  #if GLIB_CHECK_VERSION(2, 60, 0)
  #if GLIB_CHECK_VERSION(2, 69, 0)
  #if GLIB_CHECK_VERSION(2, 69, 1)
  % rg -tcpp -F &apos;#if GLIB_CHECK_VERSION(&apos; Source/{WTF,JavaScriptCore/,Web{Core,Kit}} | wl -l
  24
  %

This means that we could change Source/cmake/Options{GTK,WPE}.cmake to check
for GLib 2.69.1+, and drop all the GLib-version conditional blocks.

Dependencies policy: https://docs.webkit.org/Ports/WebKitGTK%20and%20WPE%20WebKit/DependenciesPolicy.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2087744</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2025-01-16 06:22:13 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/39129</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2089370</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-01-23 15:33:47 -0800</bug_when>
    <thetext>Committed 289318@main (85b637b69f1c): &lt;https://commits.webkit.org/289318@main&gt;

Reviewed commits have been landed. Closing PR #39129 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2089371</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-01-23 15:34:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/143526406&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>