<?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>18905</bug_id>
          
          <creation_ts>2008-05-06 03:58:18 -0700</creation_ts>
          <short_desc>[GTK] Fix build with older pango (1.14.8)</short_desc>
          <delta_ts>2008-09-26 23:48:44 -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>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Gwenole Beauchesne">gb.devel</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>79729</commentid>
    <comment_count>0</comment_count>
    <who name="Gwenole Beauchesne">gb.devel</who>
    <bug_when>2008-05-06 03:58:18 -0700</bug_when>
    <thetext>WebKit doesn&apos;t build with older pango, e.g. 1.14.8 from Debian/etch.

Please either require pango &gt;= 1.15.2 or apply a patch similar to the attachment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79730</commentid>
    <comment_count>1</comment_count>
      <attachid>20981</attachid>
    <who name="Gwenole Beauchesne">gb.devel</who>
    <bug_when>2008-05-06 04:04:18 -0700</bug_when>
    <thetext>Created attachment 20981
Fix build with older pango

This is a literal copy for pango sources.

Note that the PANGO_VERSION_CHECK() macro appeared along with the missing functions pango_layout_get_line_readonly() and pango_language_get_default(). i.e. I am not testing for !PANGO_VERSION_CHECK(1,15,2).

An alternative could be to AC_CHECK_FUNCS(pango_layout_get_line_readonly) and dependent on the generated HAVE_FUNCTION thing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86990</commentid>
    <comment_count>2</comment_count>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2008-07-25 20:24:55 -0700</bug_when>
    <thetext>Hi Gwenole. Is your patch for review? If so, please set the review flag to &apos;+&apos; so reviewers will notice your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87156</commentid>
    <comment_count>3</comment_count>
    <who name="Pierre-Luc Beaudoin">pierre-luc.beaudoin</who>
    <bug_when>2008-07-28 07:56:52 -0700</bug_when>
    <thetext>Actually, if the patch is ready to be reviewed, you should set the review flag to &quot;?&quot;.  Then, once it has been reviewed, the reviewer will set the flag to &apos;+&apos; or &apos;-&apos; depending on the outcome.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92416</commentid>
    <comment_count>4</comment_count>
      <attachid>20981</attachid>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2008-09-23 15:48:47 -0700</bug_when>
    <thetext>Comment on attachment 20981
Fix build with older pango

setting the patch for review...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92487</commentid>
    <comment_count>5</comment_count>
      <attachid>20981</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-09-24 01:28:46 -0700</bug_when>
    <thetext>Comment on attachment 20981
Fix build with older pango

I think it&apos;s cleaner to pull in code from other libraries in separate headers/cpp files.  That makes it much easier (in my mind) to justify the WebKit style violation, if the whole file is of that separate style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92611</commentid>
    <comment_count>6</comment_count>
      <attachid>20981</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-09-24 15:38:46 -0700</bug_when>
    <thetext>Comment on attachment 20981
Fix build with older pango

Tis fine though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93035</commentid>
    <comment_count>7</comment_count>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2008-09-26 23:48:44 -0700</bug_when>
    <thetext>Landed in r36990. Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>20981</attachid>
            <date>2008-05-06 04:04:18 -0700</date>
            <delta_ts>2008-09-24 15:38:46 -0700</delta_ts>
            <desc>Fix build with older pango</desc>
            <filename>webkit.pango.old-api.patch</filename>
            <type>text/plain</type>
            <size>1709</size>
            <attacher name="Gwenole Beauchesne">gb.devel</attacher>
            
              <data encoding="base64">MjAwOC0wNS0wNiAgR3dlbm9sZSBCZWF1Y2hlc25lICA8Z2JlYXVjaGVzbmVAc3BsaXR0ZWQtZGVz
a3RvcC5vcmc+CgoJUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCgoJKiBwbGF0Zm9ybS9ncmFw
aGljcy9ndGsvRm9udEd0ay5jcHA6CgkqIHBsYXRmb3JtL2d0ay9MYW5ndWFnZS5jcHA6CgkoX3Bh
bmdvX2dldF9sY19jdHlwZSk6CgkocGFuZ29fbGFuZ3VhZ2VfZ2V0X2RlZmF1bHQpOgoKSW5kZXg6
IFdlYkNvcmUvcGxhdGZvcm0vZ3JhcGhpY3MvZ3RrL0ZvbnRHdGsuY3BwCj09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0t
IFdlYkNvcmUvcGxhdGZvcm0vZ3JhcGhpY3MvZ3RrL0ZvbnRHdGsuY3BwCShyZXZpc2lvbiAzMjkw
MSkKKysrIFdlYkNvcmUvcGxhdGZvcm0vZ3JhcGhpY3MvZ3RrL0ZvbnRHdGsuY3BwCSh3b3JraW5n
IGNvcHkpCkBAIC00MCw2ICs0MCwxMSBAQAogI2luY2x1ZGUgPHB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fY3R5cGUgKHZvaWQpCit7
CisgIHJldHVybiBnX3N0cmR1cCAoc2V0bG9jYWxlIChMQ19DVFlQRSwgTlVMTCkpOworfQorCitz
dGF0aWMgUGFuZ29MYW5ndWFnZSAqCitwYW5nb19sYW5ndWFnZV9nZXRfZGVmYXVsdCAodm9pZCkK
K3sKKyAgc3RhdGljIFBhbmdvTGFuZ3VhZ2UgKnJlc3VsdCA9IE5VTEw7CisgIGlmIChHX1VOTElL
RUxZICghcmVzdWx0KSkKKyAgICB7CisgICAgICBnY2hhciAqbGFuZyA9IF9wYW5nb19nZXRfbGNf
Y3R5cGUgKCk7CisgICAgICByZXN1bHQgPSBwYW5nb19sYW5ndWFnZV9mcm9tX3N0cmluZyAobGFu
Zyk7CisgICAgICBnX2ZyZWUgKGxhbmcpOworICAgIH0KKyAgcmV0dXJuIHJlc3VsdDsKK30KKyNl
bmRpZgorCiBuYW1lc3BhY2UgV2ViQ29yZSB7CiAKIFN0cmluZyBkZWZhdWx0TGFuZ3VhZ2UoKQo=
</data>
<flag name="review"
          id="10664"
          type_id="1"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>