<?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>149063</bug_id>
          
          <creation_ts>2015-09-11 05:55:36 -0700</creation_ts>
          <short_desc>[GTK] [Stable] Build failure at GLContextEGL.cpp on 2.8.5</short_desc>
          <delta_ts>2019-07-11 06:11:05 -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>Other</version>
          <rep_platform>Other</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>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Carlos Alberto Lopez Perez">clopez</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>mario</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1125170</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2015-09-11 05:55:36 -0700</bug_when>
    <thetext>While trying to build WebKitGTK+ 2.8.5 with Yocto/OpenEmbedded (With GLESv2) I get this error:

/home/clopez/cea/yocto/buildporter/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/webkit2-gtk/2.8.5-r0/webkitgtk-2.8.5/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:194:91: error: &apos;DefaultRootWindow&apos; was not declared in this scope
/home/clopez/cea/yocto/buildporter/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/webkit2-gtk/2.8.5-r0/webkitgtk-2.8.5/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:194:105: error: &apos;XCreatePixmap&apos; was not declared in this scope
/home/clopez/cea/yocto/buildporter/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/webkit2-gtk/2.8.5-r0/webkitgtk-2.8.5/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:202:47: error: &apos;XFreePixmap&apos; was not declared in this scope
/home/clopez/cea/yocto/buildporter/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/webkit2-gtk/2.8.5-r0/webkitgtk-2.8.5/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:276:49: error: &apos;XFreePixmap&apos; was not declared in this scope
make[2]: *** [Source/WebCore/CMakeFiles/WebCorePlatformGTK.dir/platform/graphics/egl/GLContextEGL.cpp.o] Error 1
make[1]: *** [Source/WebCore/CMakeFiles/WebCorePlatformGTK.dir/all] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125171</commentid>
    <comment_count>1</comment_count>
      <attachid>261004</attachid>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2015-09-11 06:02:31 -0700</bug_when>
    <thetext>Created attachment 261004
Patch

Patch for stable (2.8.5).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125172</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-09-11 06:04:55 -0700</bug_when>
    <thetext>Attachment 261004 did not pass style-queue:


ERROR: Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:44:  &quot;X11/Xlib.h&quot; already included at Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:40  [build/include] [4]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125173</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2015-09-11 06:09:03 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Attachment 261004 [details] did not pass style-queue:
&gt; 
&gt; 
&gt; ERROR: Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:44: 
&gt; &quot;X11/Xlib.h&quot; already included at
&gt; Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:40  [build/include] [4]
&gt; Total errors found: 1 in 2 files
&gt; 
&gt; 
&gt; If any of these errors are false positives, please file a bug against
&gt; check-webkit-style.

This is checking against trunk, which already includes this change.
The patch is for the stable branch.
Ignore this warning.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>261004</attachid>
            <date>2015-09-11 06:02:31 -0700</date>
            <delta_ts>2015-09-11 07:54:39 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-149063-20150911150222.patch</filename>
            <type>text/plain</type>
            <size>1387</size>
            <attacher name="Carlos Alberto Lopez Perez">clopez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTg4MDM2CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggOWNmMGIyNjYzZWJlMzAx
N2RmN2FjNWQxMDJhNmYxZGY3Mzg2ZGFmZS4uYzRlMTY2MWQ4Y2JmMzZjMGY0MTE0ZmQwOWExYTZm
NjkxNTNkNzA2MiAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDE1LTA5LTExICBDYXJs
b3MgQWxiZXJ0byBMb3BleiBQZXJleiAgPGNsb3BlekBpZ2FsaWEu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zL2VnbC9HTENvbnRleHRFR0wuY3BwCkBAIC00Miw2ICs0Miwx
MCBAQAogI2VuZGlmCiAjZW5kaWYKIAorI2lmIFBMQVRGT1JNKFgxMSkKKyNpbmNsdWRlIDxYMTEv
WGxpYi5oPgorI2VuZGlmCisKICNpZiBFTkFCTEUoQUNDRUxFUkFURURfMkRfQ0FOVkFTKQogLy8g
Y2Fpcm8tZ2wuaCBpbmNsdWRlcyBzb21lIGRlZmluaXRpb25zIGZyb20gR0xYIHRoYXQgY29uZmxp
Y3Qgd2l0aAogLy8gdGhlIG9uZXMgcHJvdmlkZWQgYnkgdXMuIFNpbmNlIEdMQ29udGV4dEVHTCBk
b2Vzbid0IHVzZSBhbnkgR0xYCg==
</data>
<flag name="review"
          id="286195"
          type_id="1"
          status="+"
          setter="mario"
    />
          </attachment>
      

    </bug>

</bugzilla>