<?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>137739</bug_id>
          
          <creation_ts>2014-10-15 06:12:01 -0700</creation_ts>
          <short_desc>[GTK]FindHarfBuzz.cmake dose not handle harfbuzz-icu correctly</short_desc>
          <delta_ts>2023-03-25 10:39:56 -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>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="宋文武">iyzsong</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alex_y_xu</cc>
    
    <cc>berto</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1041847</commentid>
    <comment_count>0</comment_count>
    <who name="宋文武">iyzsong</who>
    <bug_when>2014-10-15 06:12:01 -0700</bug_when>
    <thetext>Suppose I have harfbuzz and harfbuzz-icu install to two different directories,
then paths to hb.h and hb-icu.h should both included in HARFBUZZ_INCLUDE_DIRS.
And the ``list APPEND`` method does not really work.

Here is a patch I used to package it for NixOS.

Version: webkitgtk-2.6.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1041848</commentid>
    <comment_count>1</comment_count>
      <attachid>239870</attachid>
    <who name="宋文武">iyzsong</who>
    <bug_when>2014-10-15 06:14:11 -0700</bug_when>
    <thetext>Created attachment 239870
cmake: finding harfbuzz-icu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1053190</commentid>
    <comment_count>2</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2014-12-07 10:46:06 -0800</bug_when>
    <thetext>Why don&apos;t you (In reply to comment #0)
&gt; Suppose I have harfbuzz and harfbuzz-icu install to two different
&gt; directories,

&gt; then paths to hb.h and hb-icu.h should both included in
&gt; HARFBUZZ_INCLUDE_DIRS.

I&apos;m not a cmake expert, but why don&apos;t you look for hb.h in the new patch then?

In the HarfBuff &gt;= 0.9.18 branch of the if I only see hb-icu.h.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1053613</commentid>
    <comment_count>3</comment_count>
    <who name="宋文武">iyzsong</who>
    <bug_when>2014-12-08 18:20:13 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Why don&apos;t you (In reply to comment #0)
&gt; &gt; Suppose I have harfbuzz and harfbuzz-icu install to two different
&gt; &gt; directories,
&gt; 
&gt; &gt; then paths to hb.h and hb-icu.h should both included in
&gt; &gt; HARFBUZZ_INCLUDE_DIRS.
&gt; 
&gt; I&apos;m not a cmake expert, but why don&apos;t you look for hb.h in the new patch
&gt; then?
Obvious, I&apos;m not a cmake expert too :)
Ah yes, It&apos;s good to add a find_path for hb.h too.
Even pkg_check_modules(PC_HARFBUZZ harfbuzz&gt;=0.9.7) should given a corret PC_HARFBUZZ_INCLUDE_DIRS (having hb.h).

&gt; In the HarfBuff &gt;= 0.9.18 branch of the if I only see hb-icu.h.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1943956</commentid>
    <comment_count>4</comment_count>
    <who name="">alex_y_xu</who>
    <bug_when>2023-03-25 08:56:03 -0700</bug_when>
    <thetext>fixed by https://bugs.webkit.org/show_bug.cgi?id=220082</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>239870</attachid>
            <date>2014-10-15 06:14:11 -0700</date>
            <delta_ts>2014-10-15 06:14:11 -0700</delta_ts>
            <desc>cmake: finding harfbuzz-icu</desc>
            <filename>url.txt</filename>
            <type>text/plain</type>
            <size>112</size>
            <attacher name="宋文武">iyzsong</attacher>
            
              <data encoding="base64">aHR0cHM6Ly9naXRodWIuY29tL2l5enNvbmcvbml4cGtncy9yYXcvd2Via2l0Z3RrL3BrZ3MvZGV2
ZWxvcG1lbnQvbGlicmFyaWVzL3dlYmtpdGd0ay9maW5kaW5nLWhhcmZidXp6LWljdS5wYXRjaA==
</data>

          </attachment>
      

    </bug>

</bugzilla>