<?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>113645</bug_id>
          
          <creation_ts>2013-03-30 16:34:41 -0700</creation_ts>
          <short_desc>[GTK] Configure should verify ICU is installed on mingw</short_desc>
          <delta_ts>2013-04-08 14:06:20 -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>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>0</everconfirmed>
          <reporter name="Eric Gregory">eric</reporter>
          <assigned_to name="Martin Robinson">mrobinson</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>gustavo</cc>
    
    <cc>mrobinson</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>866701</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Gregory">eric</who>
    <bug_when>2013-03-30 16:34:41 -0700</bug_when>
    <thetext>I was able to pass ./configure on my system without having ICU installed.  This lead to a few minutes of head scratching when make failed.

AFAIK you can use pkg-config with ICU, just like many of WebKitGTK&apos;s other dependencies.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866744</commentid>
    <comment_count>1</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-03-30 22:02:49 -0700</bug_when>
    <thetext>Currently ICU is checked for using the icu-config, though there&apos;s a TODO mentioning switching to using pkg-config for the task.
http://trac.webkit.org/browser/trunk/Source/autotools/FindDependencies.m4#L109

Can you give a bit more description of what the failure was? I guess it should be fixed one way or the other even if not using pkg-config.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866747</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2013-03-30 22:55:10 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Currently ICU is checked for using the icu-config, though there&apos;s a TODO mentioning switching to using pkg-config for the task.
&gt; http://trac.webkit.org/browser/trunk/Source/autotools/FindDependencies.m4#L109
&gt; 
&gt; Can you give a bit more description of what the failure was? I guess it should be fixed one way or the other even if not using pkg-config.

The debian package for ICU and indeed earlier versions of ICU itself did not install .pc files. The correct thing to do is to check pkg-config for ICU and then fall back to icu-config. I&apos;m not sure what&apos;s up with the original bug report. I&apos;m not sure why invoking icu-config doesn&apos;t fail when the development packages aren&apos;t installed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866796</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Gregory">eric</who>
    <bug_when>2013-03-31 12:07:21 -0700</bug_when>
    <thetext>I&apos;m building on mingw.  The ./configure script didn&apos;t warn me at all about ICU.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866798</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2013-03-31 12:22:42 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; I&apos;m building on mingw.  The ./configure script didn&apos;t warn me at all about ICU.

It seems that for mingw and OS X the headers and link arguments are just hard-coded. It should instead call AC_CHECK_HEADERS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866808</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Gregory">eric</who>
    <bug_when>2013-03-31 13:03:09 -0700</bug_when>
    <thetext>Thanks for looking into this!

There&apos;s a few other hurdles building on mingw, but it looks like many of them are already ticketed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866864</commentid>
    <comment_count>6</comment_count>
      <attachid>195915</attachid>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2013-03-31 19:18:52 -0700</bug_when>
    <thetext>Created attachment 195915
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>866865</commentid>
    <comment_count>7</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2013-03-31 19:19:09 -0700</bug_when>
    <thetext>Eric, do you mind verifying that the patch I posted for this issue works? Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>871158</commentid>
    <comment_count>8</comment_count>
      <attachid>195915</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-04-08 14:06:16 -0700</bug_when>
    <thetext>Comment on attachment 195915
Patch

Clearing flags on attachment: 195915

Committed r147951: &lt;http://trac.webkit.org/changeset/147951&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>871159</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-04-08 14:06:20 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>195915</attachid>
            <date>2013-03-31 19:18:52 -0700</date>
            <delta_ts>2013-04-08 14:06:16 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-113645-20130331191846.patch</filename>
            <type>text/plain</type>
            <size>1308</size>
            <attacher name="Martin Robinson">mrobinson</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTQ3MjkzCmRpZmYgLS1naXQgYS9Tb3VyY2UvYXV0b3Rvb2xz
L0ZpbmREZXBlbmRlbmNpZXMubTQgYi9Tb3VyY2UvYXV0b3Rvb2xzL0ZpbmREZXBlbmRlbmNpZXMu
bTQKaW5kZXggNTUzNjcxNGJjNDk3MDk4Y2I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