<?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>301083</bug_id>
          
          <creation_ts>2025-10-20 05:03:59 -0700</creation_ts>
          <short_desc>☂️ [META][CMake] Finish migrating find-modules to use imported targets</short_desc>
          <delta_ts>2026-01-26 00:15:19 -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>CMake</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          <dependson>302580</dependson>
    
    <dependson>302581</dependson>
    
    <dependson>302824</dependson>
    
    <dependson>302846</dependson>
    
    <dependson>302860</dependson>
    
    <dependson>306028</dependson>
    
    <dependson>306097</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Perez">aperez</reporter>
          <assigned_to name="WebKitGTK+ bugs">bugs-noreply</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2152543</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2025-10-20 05:03:59 -0700</bug_when>
    <thetext>We have been slowly improving the find-modules (Source/cmake/Find*.cmake) to use imported targets. It should be possible to give the task a final push and have the pending modules updated as well. As of 2025/10/20 the pending ones are:

- Source/cmake/FindATK.cmake
- Source/cmake/FindATSPI.cmake
- Source/cmake/FindEGL.cmake *
- Source/cmake/FindEnchant.cmake
- Source/cmake/FindFlite.cmake ***
- Source/cmake/FindGStreamer.cmake ***
- Source/cmake/FindHyphen.cmake
- Source/cmake/FindLibsecret.cmake
- Source/cmake/FindLibtasn1.cmake
- Source/cmake/FindLibxkbcommon.cmake
- Source/cmake/FindThunder.cmake *
- Source/cmake/FindWayland.cmake **

The asterisks above mean:

  *) Might be tricky to test that it works in all possible build configurations, and/or in embedded devices.
 **) Medium complexity, the updated module would have have an imported target for each component.
***) Complex, on top of needed targets for each component, it has many components to handle.

So at least the unmarked ones should be low-hanging fruit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2175036</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2026-01-26 00:15:19 -0800</bug_when>
    <thetext>List of modules pending to migrate, as of 2026-01-26:

- Source/cmake/FindEGL.cmake *
- Source/cmake/FindFlite.cmake ***
- Source/cmake/FindGStreamer.cmake ***
- Source/cmake/FindThunder.cmake *
- Source/cmake/FindWayland.cmake **</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>