<?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>93030</bug_id>
          
          <creation_ts>2012-08-02 14:32:15 -0700</creation_ts>
          <short_desc>[EFL] Build failures with harfbuzz outside standard locations</short_desc>
          <delta_ts>2012-08-22 08:45:53 -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>WebKit EFL</component>
          <version>528+ (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="Raphael Kubo da Costa (:rakuco)">rakuco</reporter>
          <assigned_to name="Raphael Kubo da Costa (:rakuco)">rakuco</assigned_to>
          <cc>d-r</cc>
    
    <cc>glima</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>685830</commentid>
    <comment_count>0</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-08-02 14:32:15 -0700</bug_when>
    <thetext>glima has been having some trouble building WebKit-EFL without building the dependencies with jhbuild. One of the problems is:

  In file included from /home/glima/devel/webkit/Source/WebCore/platform/graphics/freetype/FontPlatformData.h:33:0,
                   from /home/glima/devel/webkit/Source/WebCore/platform/graphics/FontPlatformData.h:35,
                   from /home/glima/devel/webkit/Source/WebCore/platform/graphics/SimpleFontData.h:30,
                   from /home/glima/devel/webkit/Source/WebCore/platform/graphics/FontFallbackList.h:25,
                   from /home/glima/devel/webkit/Source/WebCore/platform/graphics/Font.h:29,
                   from /home/glima/devel/webkit/Source/WebCore/platform/PopupMenuStyle.h:30,
                   from /home/glima/devel/webkit/Source/WebCore/platform/PopupMenuClient.h:26,
                   from /home/glima/devel/webkit/Source/WebCore/page/ChromeClient.h:33,
                   from /home/glima/devel/webkit/Source/WebCore/Modules/webdatabase/DatabaseContext.cpp:34:
  /home/glima/devel/webkit/Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzNGFace.h:34:16: fatal error: hb.h: No such file or directory
  compilation terminated.

I think there are problems when building Source/WebKit as well.

This can be solved by including ${HARFBUZZ_INCLUDE_DIRS} in the include path.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>696717</commentid>
    <comment_count>1</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-08-15 21:33:28 -0700</bug_when>
    <thetext>I&apos;ve finished building here and couldn&apos;t reproduce the issue (I was able to do so on another system).

The harfbuzz include path seems to be added via EVAS_INCLUDE_DIRS, as `pkg-config --cflags-only-I evas&apos; returns, among others, -I${WEBKITOUTPUUTDIR}/Dependencies/Root/include/harfbuzz.

Are you building the port with build-webkit or using CMake on your own? In case it&apos;s the latter, I suspect evas may have been built without harfbuzz support and the flag is thus absent from your evas.pc. In case it&apos;s the former, I&apos;d like to see the output of `./Tools/efl/run-with-jhbuild pkg-config --cflags-only-I evas&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>696718</commentid>
    <comment_count>2</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-08-15 21:34:11 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; The harfbuzz include path seems to be added via EVAS_INCLUDE_DIRS, as `pkg-config --cflags-only-I evas&apos; returns, among others, -I${WEBKITOUTPUUTDIR}/Dependencies/Root/include/harfbuzz.

(Relying on this is wrong, by the way, but I&apos;d like to pinpoint where the problem is before trying to fix it).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>696719</commentid>
    <comment_count>3</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-08-15 21:37:53 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; I&apos;ve finished building here and couldn&apos;t reproduce the issue (I was able to do so on another system).

... Thinking of it again, I was able to reproduce this when I was testing my FindEFL.cmake rewrite, which gets rid of those implicit dependencies I mentioned in the previous comments, so it makes sense to have experienced the same build problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>697164</commentid>
    <comment_count>4</comment_count>
    <who name="Gustavo Lima Chaves">glima</who>
    <bug_when>2012-08-16 08:22:01 -0700</bug_when>
    <thetext>The problem occurs with a build without build-webkit usage, but pristine cmake. Evas without harfbuzz linkage too. I&apos;ve just found out that a harfbuzzy Evas will let the build go, but apparently this should not be a requirement. My 2 cents.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>701530</commentid>
    <comment_count>5</comment_count>
      <attachid>159850</attachid>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-08-21 20:15:44 -0700</bug_when>
    <thetext>Created attachment 159850
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>701842</commentid>
    <comment_count>6</comment_count>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2012-08-22 06:29:59 -0700</bug_when>
    <thetext>Makes sense to me, thanks for catching this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>701945</commentid>
    <comment_count>7</comment_count>
      <attachid>159850</attachid>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2012-08-22 08:32:46 -0700</bug_when>
    <thetext>Comment on attachment 159850
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=159850&amp;action=review

LGTM.

&gt; Source/WebCore/PlatformEfl.cmake:158
&gt; +      ${HARFBUZZ_INCLUDE_DIRS}

Is the indenting correct here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>701951</commentid>
    <comment_count>8</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-08-22 08:36:44 -0700</bug_when>
    <thetext>Yep, we&apos;re just not using quotes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>701967</commentid>
    <comment_count>9</comment_count>
      <attachid>159850</attachid>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-08-22 08:45:46 -0700</bug_when>
    <thetext>Comment on attachment 159850
Patch

Clearing flags on attachment: 159850

Committed r126305: &lt;http://trac.webkit.org/changeset/126305&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>701968</commentid>
    <comment_count>10</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-08-22 08:45:53 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>159850</attachid>
            <date>2012-08-21 20:15:44 -0700</date>
            <delta_ts>2012-08-22 08:45:46 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-93030-20120822001541.patch</filename>
            <type>text/plain</type>
            <size>1783</size>
            <attacher name="Raphael Kubo da Costa (:rakuco)">rakuco</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTI2MjUzCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggZDI1YzBlMDNlYzgwMzY4
MjY1ZTk1NDcyNjY4ZGUyYTVlOGQ2Zjc2YS4uMzZmOGEyOTYzYzRjZTJmYWUyYzIzZDZhNGE3ZGU2
YmNlN2FhMGZl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