<?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>84095</bug_id>
          
          <creation_ts>2012-04-16 16:22:36 -0700</creation_ts>
          <short_desc>Only depend on xrender if x11 is being used</short_desc>
          <delta_ts>2013-02-19 09:03:28 -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>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>https://trac.macports.org/ticket/34086</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>EasyFix</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jeremy Huddleston Sequoia">jeremyhu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>chkang514</cc>
    
    <cc>jeremyhu</cc>
    
    <cc>michael.duwei</cc>
    
    <cc>mrobinson</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>603540</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2012-04-16 16:22:36 -0700</bug_when>
    <thetext>http://trac.macports.org/ticket/34086

configure.ac contains:
# check for XRender under Linux/Unix. Some linkers require explicit
# linkage (like GNU Gold), so we cannot rely on GTK+ pulling XRender
if test &quot;$os_win32&quot; = &quot;no&quot;; then
   PKG_CHECK_MODULES([XRENDER], [xrender])
   AC_SUBST([XRENDER_CFLAGS])
   AC_SUBST([XRENDER_LIBS])
fi

But that logic is incorrect.  You should be checking for xrender based on target (x11), not OS.  This incorrectly results in xrender being pulled in for the quartz target, and it incorrectly prevents xrender from being pulled in on the win/x11 target.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>605632</commentid>
    <comment_count>1</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2012-04-19 09:39:25 -0700</bug_when>
    <thetext>Here is a patch:
https://trac.macports.org/raw-attachment/ticket/34086/xrender-check.patch


--- configure.orig	2012-04-18 17:55:13.000000000 -0500
+++ configure	2012-04-18 17:56:11.000000000 -0500
@@ -22086,7 +22086,7 @@
 
 # check for XRender under Linux/Unix. Some linkers require explicit
 # linkage (like GNU Gold), so we cannot rely on GTK+ pulling XRender
-if test &quot;$os_win32&quot; = &quot;no&quot;; then
+if test &quot;$with_target&quot; = &quot;x11&quot;; then
 
 pkg_failed=no
 { $as_echo &quot;$as_me:${as_lineno-$LINENO}: checking for XRENDER&quot; &gt;&amp;5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>748440</commentid>
    <comment_count>2</comment_count>
      <attachid>170103</attachid>
    <who name="Changhun Kang">chkang514</who>
    <bug_when>2012-10-23 03:03:13 -0700</bug_when>
    <thetext>Created attachment 170103
I made a simple patch for this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>748689</commentid>
    <comment_count>3</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2012-10-23 08:57:55 -0700</bug_when>
    <thetext>That&apos;s exactly the same patch that I provided in the link in the previous comment...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>749137</commentid>
    <comment_count>4</comment_count>
    <who name="Changhun Kang">chkang514</who>
    <bug_when>2012-10-23 17:12:41 -0700</bug_when>
    <thetext>I appreciate for your guide.
Is there anything i missed?
&gt; That&apos;s exactly the same patch that I provided in the link in the previous comment...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752981</commentid>
    <comment_count>5</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2012-10-28 13:37:57 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; I appreciate for your guide.
&gt; Is there anything i missed?
&gt; &gt; That&apos;s exactly the same patch that I provided in the link in the previous comment...

No, I&apos;m saying that&apos;s exactly what I had already, so:

Reviewed-by: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;
Tested-by: Jeremy Huddleston Sequoia &lt;jeremyhu@apple.com&gt;

Sorry, I&apos;m not familiar with the commit process within webkit and have just been filing bugs.  If it should&apos;ve been sent to a list or made an attachment, please let me know for next time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>835885</commentid>
    <comment_count>6</comment_count>
      <attachid>170103</attachid>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2013-02-18 18:36:59 -0800</bug_when>
    <thetext>Comment on attachment 170103
I made a simple patch for this bug.

This looks out of date, the patch does not apply.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>835914</commentid>
    <comment_count>7</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2013-02-18 20:19:18 -0800</bug_when>
    <thetext>It&apos;s a trivial 1-line patch.  Surely you can rebase it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>836018</commentid>
    <comment_count>8</comment_count>
    <who name="Jeremy Huddleston Sequoia">jeremyhu</who>
    <bug_when>2013-02-18 23:27:16 -0800</bug_when>
    <thetext>And it applies fine to 1.11.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>836085</commentid>
    <comment_count>9</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-02-19 00:34:45 -0800</bug_when>
    <thetext>The configuration system used by the Autotools build was reworked recently. The change should now fit in here:
http://trac.webkit.org/browser/trunk/Source/autotools/FindDependencies.m4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>836091</commentid>
    <comment_count>10</comment_count>
      <attachid>189013</attachid>
    <who name="Changhun Kang">chkang514</who>
    <bug_when>2013-02-19 00:48:06 -0800</bug_when>
    <thetext>Created attachment 189013
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>836459</commentid>
    <comment_count>11</comment_count>
      <attachid>189013</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-02-19 09:03:24 -0800</bug_when>
    <thetext>Comment on attachment 189013
Patch

Clearing flags on attachment: 189013

Committed r143344: &lt;http://trac.webkit.org/changeset/143344&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>836460</commentid>
    <comment_count>12</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-02-19 09:03:28 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>170103</attachid>
            <date>2012-10-23 03:03:13 -0700</date>
            <delta_ts>2013-02-19 00:48:01 -0800</delta_ts>
            <desc>I made a simple patch for this bug.</desc>
            <filename>0001-Only-depend-on-xrender-if-x11-is-being-used.patch</filename>
            <type>text/plain</type>
            <size>1803</size>
            <attacher name="Changhun Kang">chkang514</attacher>
            
              <data encoding="base64">RnJvbSBhMTNjMjQxZWYxZTk1ZWZmODhlZmIwNzNkZDQ3N2MwMTc4ODU0ZWJhIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBDaGFuZ2h1biBLYW5nIDx0ZW1vb2NoaW5AY29tcGFueTEwMC5u
ZXQ+CkRhdGU6IEZyaSwgMTkgT2N0IDIwMTIgMjE6NTQ6MzQgKzA5MDAKU3ViamVjdDogW1BBVENI
XSBPbmx5IGRlcGVuZCBvbiB4cmVuZGVyIGlmIHgxMSBpcyBiZWluZyB1c2VkCiBodHRwczovL2J1
Z3Mud2Via2l0Lm9yZy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NvcnJlY3RseSByZXN1bHRzIGluIHhyZW5kZXIgYmVpbmcgcHVsbGVkIGlu
IGZvciB0aGUgcXVhcnR6IHRhcmdldCwKKyAgICAgICAgYW5kIGl0IGluY29ycmVjdGx5IHByZXZl
bnRzIHhyZW5kZXIgZnJvbSBiZWluZyBwdWxsZWQgaW4gb24gdGhlIHdpbi94MTEgdGFyZ2V0Lgor
CisgICAgICAgICogY29uZmlndXJlLmFjOgorCiAyMDEyLTEwLTE4ICBMYXN6bG8gR29tYm9zICA8
bC5nb21ib3NAc2Ftc3VuZy5jb20+CiAKICAgICAgICAgW0VGTF0gQnVpbGRmaXggaWYgTmV0c2Nh
cGUgcGx1Z2luIHN1cHBvcnQgaXMgZGlzYWJsZWQKZGlmZiAtLWdpdCBhL2NvbmZpZ3VyZS5hYyBi
L2NvbmZpZ3VyZS5hYwppbmRleCAzNzY2M2UyLi42Zjg5MTI1IDEwMDY0NAotLS0gYS9jb25maWd1
cmUuYWMKKysrIGIvY29uZmlndXJlLmFjCkBAIC05ODgsNyArOTg4LDcgQEAgZmkKIAogIyBjaGVj
ayBmb3IgWFJlbmRlciB1bmRlciBMaW51eC9Vbml4LiBTb21lIGxpbmtlcnMgcmVxdWlyZSBleHBs
aWNpdAogIyBsaW5rYWdlIChsaWtlIEdOVSBHb2xkKSwgc28gd2UgY2Fubm90IHJlbHkgb24gR1RL
KyBwdWxsaW5nIFhSZW5kZXIKLWlmIHRlc3QgIiRvc193aW4zMiIgPSAibm8iOyB0aGVuCitpZiB0
ZXN0ICIkd2l0aF90YXJnZXQiID0gIngxMSI7IHRoZW4KICAgIFBLR19DSEVDS19NT0RVTEVTKFtY
UkVOREVSXSwgW3hyZW5kZXJdKQogICAgQUNfU1VCU1QoW1hSRU5ERVJfQ0ZMQUdTXSkKICAgIEFD
X1NVQlNUKFtYUkVOREVSX0xJQlNdKQotLSAKMS43LjkuNQoK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>189013</attachid>
            <date>2013-02-19 00:48:06 -0800</date>
            <delta_ts>2013-02-19 09:03:24 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-84095-20130219004428.patch</filename>
            <type>text/plain</type>
            <size>1174</size>
            <attacher name="Changhun Kang">chkang514</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTQzMzAyCmRpZmYgLS1naXQgYS9Tb3VyY2UvYXV0b3Rvb2xz
L0ZpbmREZXBlbmRlbmNpZXMubTQgYi9Tb3VyY2UvYXV0b3Rvb2xzL0ZpbmREZXBlbmRlbmNpZXMu
bTQKaW5kZXggMGRjYjQ2MjYzMzdiMDNhN2Q3OTdmNzE5MzNiZTM4ODIzMDA3MGQ1MC4uZDZkZGRm
MWNjNjYzMzdlZjA3MmU2YzBjOTBhZDdlMDliN2FlNDNhNSAxMDA2NDQKLS0tIGEvU291cmNlL2F1
dG90b29scy9GaW5kRGVwZW5kZW5jaWVzLm00CisrKyBiL1NvdXJjZS9hdXRvdG9vbHMvRmluZERl
cGVuZGVuY2llcy5tNApAQCAtNDA0LDcgKzQwNCw3IEBAIGZpCiAKICMgQ2hlY2sgZm9yIFhSZW5k
ZXIgdW5kZXIgTGludXgvVW5peC4gU29tZSBsaW5rZXJzIHJlcXVpcmUgZXhwbGljaXQgbGlua2Fn
ZSAobGlrZSBHTlUgR29sZCksCiAjIHNvIHdlIGNhbm5vdCByZWx5IG9uIEdUSysgcHVsbGluZyBY
UmVuZGVyLgotaWYgdGVzdCAiJG9zX3dpbjMyIiA9ICJubyI7IHRoZW4KK2lmIHRlc3QgIiR3aXRo
X3RhcmdldCIgPSAieDExIjsgdGhlbgogICAgIFBLR19DSEVDS19NT0RVTEVTKFtYUkVOREVSXSwg
W3hyZW5kZXJdKQogICAgIEFDX1NVQlNUKFtYUkVOREVSX0NGTEFHU10pCiAgICAgQUNfU1VCU1Qo
W1hSRU5ERVJfTElCU10pCmRpZmYgLS1naXQgYS9DaGFuZ2VMb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