<?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>102687</bug_id>
          
          <creation_ts>2012-11-19 06:55:25 -0800</creation_ts>
          <short_desc>[EFL] GLX detection is broken.</short_desc>
          <delta_ts>2012-11-21 22:26:36 -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>WebKit EFL</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>
          
          <blocked>101291</blocked>
    
    <blocked>102991</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Kalyan">kalyan.kondapally</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>d-r</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>ostap73</cc>
    
    <cc>rakuco</cc>
    
    <cc>ryuan.choi</cc>
    
    <cc>tmpsantos</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>yael</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>770701</commentid>
    <comment_count>0</comment_count>
    <who name="Kalyan">kalyan.kondapally</who>
    <bug_when>2012-11-19 06:55:25 -0800</bug_when>
    <thetext>It seems HAVE_GLX is enabled automatically if WebGL is enabled (in OptionEfl.cmake which is wrong). If WebGL is not enabled than we never enable it.

We need to add configure test for GLX and set HAVE_GLX flag appropriately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>771202</commentid>
    <comment_count>1</comment_count>
      <attachid>175076</attachid>
    <who name="Kalyan">kalyan.kondapally</who>
    <bug_when>2012-11-19 16:46:32 -0800</bug_when>
    <thetext>Created attachment 175076
WIP

Patch does the following:

Tries to compile some basic GLX code.
If the compilation succeeds enables HAVE_GLX flag</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>771221</commentid>
    <comment_count>2</comment_count>
      <attachid>175076</attachid>
    <who name="Kalyan">kalyan.kondapally</who>
    <bug_when>2012-11-19 16:56:03 -0800</bug_when>
    <thetext>Comment on attachment 175076
WIP

No review flag set yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>771683</commentid>
    <comment_count>3</comment_count>
      <attachid>175076</attachid>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-11-20 02:14:31 -0800</bug_when>
    <thetext>Comment on attachment 175076
WIP

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

&gt; Source/cmake/OptionsEfl.cmake:190
&gt; +include(CheckCSourceCompiles)
&gt; +include(CheckCXXSourceCompiles)

Coding style: our CMake calls are all uppercased.

&gt; Source/cmake/OptionsEfl.cmake:200
&gt; +CHECK_C_SOURCE_COMPILES(
&gt; +&quot;
&gt; +#include &lt;GL/glx.h&gt;
&gt; +int main()
&gt; +{
&gt; +    GLXFBConfig c;
&gt; +    return 0;
&gt; +}
&gt; +&quot;
&gt; +GLXCOMPILATIONPASSED)

Doesn&apos;t this boil down to just detecting whether mesa is present? I thought we already did that with FIND_PACKAGE(OpenGL).

&gt; Source/cmake/OptionsEfl.cmake:203
&gt; +    SET(HAVE_GLX 1)

This does not seem to be used anywhere.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>771767</commentid>
    <comment_count>4</comment_count>
      <attachid>175076</attachid>
    <who name="Thiago Marcos P. Santos">tmpsantos</who>
    <bug_when>2012-11-20 05:10:14 -0800</bug_when>
    <thetext>Comment on attachment 175076
WIP

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

&gt;&gt; Source/cmake/OptionsEfl.cmake:200
&gt;&gt; +GLXCOMPILATIONPASSED)
&gt; 
&gt; Doesn&apos;t this boil down to just detecting whether mesa is present? I thought we already did that with FIND_PACKAGE(OpenGL).

That&apos;s true, you could use FIND_PACKAGE(OpenGL) + check if OPENGL_XMESA_FOUND is set.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>771938</commentid>
    <comment_count>5</comment_count>
    <who name="Kalyan">kalyan.kondapally</who>
    <bug_when>2012-11-20 09:43:25 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; (From update of attachment 175076 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=175076&amp;action=review
&gt; 
&gt; &gt; Source/cmake/OptionsEfl.cmake:190
&gt; &gt; +include(CheckCSourceCompiles)
&gt; &gt; +include(CheckCXXSourceCompiles)
&gt; 
&gt; Coding style: our CMake calls are all uppercased.
&gt; 
&gt; &gt; Source/cmake/OptionsEfl.cmake:200
&gt; &gt; +CHECK_C_SOURCE_COMPILES(
&gt; &gt; +&quot;
&gt; &gt; +#include &lt;GL/glx.h&gt;
&gt; &gt; +int main()
&gt; &gt; +{
&gt; &gt; +    GLXFBConfig c;
&gt; &gt; +    return 0;
&gt; &gt; +}
&gt; &gt; +&quot;
&gt; &gt; +GLXCOMPILATIONPASSED)
&gt; 
&gt; Doesn&apos;t this boil down to just detecting whether mesa is present? I thought we already did that with FIND_PACKAGE(OpenGL).

This assumption would be wrong on some platforms i.e wayland.

&gt; &gt; Source/cmake/OptionsEfl.cmake:203
&gt; &gt; +    SET(HAVE_GLX 1)
&gt; 
&gt; This does not seem to be used anywhere.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>771949</commentid>
    <comment_count>6</comment_count>
    <who name="Kalyan">kalyan.kondapally</who>
    <bug_when>2012-11-20 09:51:52 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (From update of attachment 175076 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=175076&amp;action=review
&gt; 
&gt; &gt;&gt; Source/cmake/OptionsEfl.cmake:200
&gt; &gt;&gt; +GLXCOMPILATIONPASSED)
&gt; &gt; 
&gt; &gt; Doesn&apos;t this boil down to just detecting whether mesa is present? I thought we already did that with FIND_PACKAGE(OpenGL).
&gt; 
&gt; That&apos;s true, you could use FIND_PACKAGE(OpenGL) + check if OPENGL_XMESA_FOUND is set.

I was hoping we could do this. But the problem seems to be as follows:

1)In FindOpenGL.cmake OPENGL_XMESA_FOUND is set to True if OPENGL_xmesa_INCLUDE_DIR is True

    FIND_PATH(OPENGL_xmesa_INCLUDE_DIR GL/xmesa.h
      /usr/share/doc/NVIDIA_GLX-1.0/include
      /usr/openwin/share/include
      /opt/graphics/OpenGL/include /usr/X11R6/include
    )

Here GL/xmesa.h  seems to be the problem. The &quot;XMesa&quot; interface is deprecated and GL/xmesa*.h files are  no longer considered public.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>771964</commentid>
    <comment_count>7</comment_count>
      <attachid>175240</attachid>
    <who name="Kalyan">kalyan.kondapally</who>
    <bug_when>2012-11-20 10:11:24 -0800</bug_when>
    <thetext>Created attachment 175240
WIP</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>772108</commentid>
    <comment_count>8</comment_count>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-11-20 13:13:23 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; &gt; Doesn&apos;t this boil down to just detecting whether mesa is present? I thought we already did that with FIND_PACKAGE(OpenGL).
&gt;
&gt; This assumption would be wrong on some platforms i.e wayland.

(In reply to comment #6)
&gt; &gt; That&apos;s true, you could use FIND_PACKAGE(OpenGL) + check if OPENGL_XMESA_FOUND is set.
&gt;
&gt; I was hoping we could do this. But the problem seems to be as follows:
&gt;
&gt; 1)In FindOpenGL.cmake OPENGL_XMESA_FOUND is set to True if OPENGL_xmesa_INCLUDE_DIR is True
&gt;
&gt;     FIND_PATH(OPENGL_xmesa_INCLUDE_DIR GL/xmesa.h
&gt;       /usr/share/doc/NVIDIA_GLX-1.0/include
&gt;       /usr/openwin/share/include
&gt;       /opt/graphics/OpenGL/include /usr/X11R6/include
&gt;     )
&gt;
&gt; Here GL/xmesa.h  seems to be the problem. The &quot;XMesa&quot; interface is deprecated and GL/xmesa*.h files are  no longer considered public.

Could you elaborate on what the right solution that contemplated Wayland and didn&apos;t look for xmesa would be (ie. what libraries and headers would it look for)? As good citizens, it&apos;d be nice to fix this upstream in CMake if possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>772112</commentid>
    <comment_count>9</comment_count>
      <attachid>175240</attachid>
    <who name="Raphael Kubo da Costa (:rakuco)">rakuco</who>
    <bug_when>2012-11-20 13:18:27 -0800</bug_when>
    <thetext>Comment on attachment 175240
WIP

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

I need your input to my comment #8 to properly comment on your new Find-file, but a few things should be improved regardless of that:
 o It needs some documentation at the top like the other Find-files.
 o We use a 4-space indentation style instead of a 2-space one.
 o The `X11_FOUND&apos; check implicitly assumes FindX11.cmake was already called before, which is not always the case. Since you do not include X11 headers or link against any X11 library in your CHECK_C_SOURCE_COMPILES_CALL(), it might be worth simply not checking for `X11_FOUND&apos; at all.
 o &quot;YES&quot; (a string) is different from YES (a boolean). Either way, we normally use FindPackageHandleStandardArguments() to set that, since it also handles other Find-module arguments such as QUIET and the like.

&gt; Source/cmake/OptionsEfl.cmake:161
&gt; +  FIND_PACKAGE(OpenGLX)
&gt; +
&gt; +  IF (OPENGLX_FOUND)
&gt; +    ADD_DEFINITIONS(-DHAVE_GLX)
&gt; +  ENDIF()

Do the tiled backing store and WebGL still work if the GLX is not found?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>772347</commentid>
    <comment_count>10</comment_count>
    <who name="Kalyan">kalyan.kondapally</who>
    <bug_when>2012-11-20 18:04:28 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; (In reply to comment #5)
&gt; &gt; &gt; Doesn&apos;t this boil down to just detecting whether mesa is present? I thought we already did that with FIND_PACKAGE(OpenGL).
&gt; &gt;
&gt; &gt; This assumption would be wrong on some platforms i.e wayland.
&gt; 
&gt; (In reply to comment #6)
&gt; &gt; &gt; That&apos;s true, you could use FIND_PACKAGE(OpenGL) + check if OPENGL_XMESA_FOUND is set.
&gt; &gt;
&gt; &gt; I was hoping we could do this. But the problem seems to be as follows:
&gt; &gt;
&gt; &gt; 1)In FindOpenGL.cmake OPENGL_XMESA_FOUND is set to True if OPENGL_xmesa_INCLUDE_DIR is True
&gt; &gt;
&gt; &gt;     FIND_PATH(OPENGL_xmesa_INCLUDE_DIR GL/xmesa.h
&gt; &gt;       /usr/share/doc/NVIDIA_GLX-1.0/include
&gt; &gt;       /usr/openwin/share/include
&gt; &gt;       /opt/graphics/OpenGL/include /usr/X11R6/include
&gt; &gt;     )
&gt; &gt;
&gt; &gt; Here GL/xmesa.h  seems to be the problem. The &quot;XMesa&quot; interface is deprecated and GL/xmesa*.h files are  no longer considered public.
&gt; 
&gt; Could you elaborate on what the right solution that contemplated Wayland and didn&apos;t look for xmesa would be (ie. what libraries and headers would it look for)? As good citizens, it&apos;d be nice to fix this upstream in CMake if possible.

Wayland Example: https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/097771054ec91728efb08b883ae88e697df3a5c0/entry/cmake/modules/FindWayland.cmake

We should look for GL/glx.h instead of GL/xmesa.h. I was bit pessimistic here thinking about the cases where we could have bogus Glx.h file. i.e. Header present without any proper support for the interface, or completely wrong contents with the name etc. So I ended up with this sol, trying to compile some basic code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>772353</commentid>
    <comment_count>11</comment_count>
    <who name="Kalyan">kalyan.kondapally</who>
    <bug_when>2012-11-20 18:14:06 -0800</bug_when>
    <thetext>(In reply to comment #9)
&gt; (From update of attachment 175240 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=175240&amp;action=review
&gt; 
&gt; I need your input to my comment #8 to properly comment on your new Find-file, but a few things should be improved regardless of that:
&gt;  o It needs some documentation at the top like the other Find-files.
&gt;  o We use a 4-space indentation style instead of a 2-space one.
&gt;  o The `X11_FOUND&apos; check implicitly assumes FindX11.cmake was already called before, which is not always the case. Since you do not include X11 headers or link against any X11 library in your CHECK_C_SOURCE_COMPILES_CALL(), it might be worth simply not checking for `X11_FOUND&apos; at all.
&gt;  o &quot;YES&quot; (a string) is different from YES (a boolean). Either way, we normally use FindPackageHandleStandardArguments() to set that, since it also handles other Find-module arguments such as QUIET and the like.
&gt; 
&gt; &gt; Source/cmake/OptionsEfl.cmake:161
&gt; &gt; +  FIND_PACKAGE(OpenGLX)
&gt; &gt; +
&gt; &gt; +  IF (OPENGLX_FOUND)
&gt; &gt; +    ADD_DEFINITIONS(-DHAVE_GLX)
&gt; &gt; +  ENDIF()
&gt; 
&gt; Do the tiled backing store and WebGL still work if the GLX is not found?
:
Current Situation: No. 

Once these things are fixed for GLX we need to add support for EGL. Than we need some kind of mechanism to configure what back end we would like to use(GLX or EGL or something else ?). I see we already have support for configuration flags like --enable-egl , --enable--glx and so on. Probably we can investigate more on this front when we start adding support for EGL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>772366</commentid>
    <comment_count>12</comment_count>
    <who name="Kalyan">kalyan.kondapally</who>
    <bug_when>2012-11-20 18:30:04 -0800</bug_when>
    <thetext>(In reply to comment #10)
&gt; (In reply to comment #8)
&gt; &gt; (In reply to comment #5)
&gt; &gt; &gt; &gt; Doesn&apos;t this boil down to just detecting whether mesa is present? I thought we already did that with FIND_PACKAGE(OpenGL).
&gt; &gt; &gt;
&gt; &gt; &gt; This assumption would be wrong on some platforms i.e wayland.
&gt; &gt; 
&gt; &gt; (In reply to comment #6)
&gt; &gt; &gt; &gt; That&apos;s true, you could use FIND_PACKAGE(OpenGL) + check if OPENGL_XMESA_FOUND is set.
&gt; &gt; &gt;
&gt; &gt; &gt; I was hoping we could do this. But the problem seems to be as follows:
&gt; &gt; &gt;
&gt; &gt; &gt; 1)In FindOpenGL.cmake OPENGL_XMESA_FOUND is set to True if OPENGL_xmesa_INCLUDE_DIR is True
&gt; &gt; &gt;
&gt; &gt; &gt;     FIND_PATH(OPENGL_xmesa_INCLUDE_DIR GL/xmesa.h
&gt; &gt; &gt;       /usr/share/doc/NVIDIA_GLX-1.0/include
&gt; &gt; &gt;       /usr/openwin/share/include
&gt; &gt; &gt;       /opt/graphics/OpenGL/include /usr/X11R6/include
&gt; &gt; &gt;     )
&gt; &gt; &gt;
&gt; &gt; &gt; Here GL/xmesa.h  seems to be the problem. The &quot;XMesa&quot; interface is deprecated and GL/xmesa*.h files are  no longer considered public.
&gt; &gt; 
&gt; &gt; Could you elaborate on what the right solution that contemplated Wayland and didn&apos;t look for xmesa would be (ie. what libraries and headers would it look for)? As good citizens, it&apos;d be nice to fix this upstream in CMake if possible.
&gt; 
&gt; Wayland Example: https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/097771054ec91728efb08b883ae88e697df3a5c0/entry/cmake/modules/FindWayland.cmake
&gt; 
&gt; We should look for GL/glx.h instead of GL/xmesa.h. I was bit pessimistic here thinking about the cases where we could have bogus Glx.h file. i.e. Header present without any proper support for the interface, or completely wrong contents with the name etc. So I ended up with this sol, trying to compile some basic code.

Something to add: Wayland, doesn&apos;t support GLX interface. It rather uses Mesa EGL/EGL-X11 interface.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>772972</commentid>
    <comment_count>13</comment_count>
      <attachid>175446</attachid>
    <who name="Kalyan">kalyan.kondapally</who>
    <bug_when>2012-11-21 07:54:11 -0800</bug_when>
    <thetext>Created attachment 175446
proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>773046</commentid>
    <comment_count>14</comment_count>
      <attachid>175446</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2012-11-21 09:52:13 -0800</bug_when>
    <thetext>Comment on attachment 175446
proposed patch

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

Overall looks good to me.

&gt; Source/cmake/OptionsEfl.cmake:161
&gt; +    IF (OPENGLX_FOUND)
&gt; +        ADD_DEFINITIONS(-DHAVE_GLX)
&gt; +    ENDIF()

The rule of finding and defining GLX does not seems to be EFL specific, this could be shared (perhaps at later stage) with other CMake based ports.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>773069</commentid>
    <comment_count>15</comment_count>
      <attachid>175446</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2012-11-21 10:09:15 -0800</bug_when>
    <thetext>Comment on attachment 175446
proposed patch

r=me. A step in the right direction.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>773491</commentid>
    <comment_count>16</comment_count>
      <attachid>175446</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-11-21 19:09:28 -0800</bug_when>
    <thetext>Comment on attachment 175446
proposed patch

Clearing flags on attachment: 175446

Committed r135463: &lt;http://trac.webkit.org/changeset/135463&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>773492</commentid>
    <comment_count>17</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-11-21 19:09:33 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>773576</commentid>
    <comment_count>18</comment_count>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2012-11-21 22:26:36 -0800</bug_when>
    <thetext>*** Bug 102990 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>175076</attachid>
            <date>2012-11-19 16:46:32 -0800</date>
            <delta_ts>2012-11-20 10:11:24 -0800</delta_ts>
            <desc>WIP</desc>
            <filename>WIP.patch</filename>
            <type>text/plain</type>
            <size>645</size>
            <attacher name="Kalyan">kalyan.kondapally</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBTb3VyY2UvY21ha2UvT3B0aW9uc0VmbC5jbWFrZSBTb3VyY2UvY21ha2UvT3B0
aW9uc0VmbC5jbWFrZQppbmRleCBjMmZkNDNjLi5mODM0NTliIDEwMDY0NAotLS0gU291cmNlL2Nt
YWtlL09wdGlvbnNFZmwuY21ha2UKKysrIFNvdXJjZS9jbWFrZS9PcHRpb25zRWZsLmNtYWtlCkBA
IC0xODQsNyArMTg0LDI0IEBAIEVORElGKCkKIElGIChFTkFCTEVfV0VCR0wpCiAgIFNFVCAoRU5B
QkxFX1dFQkdMIDEpCiAgIEFERF9ERUZJTklUSU9OUygtRFdURl9VU0VfR1JBUEhJQ1NfU1VSRkFD
RT0xKQotICBBRERfREVGSU5JVElPTlMoLURIQVZFX0dMWCkKK0VORElGKCkKKworaW5jbHVkZShD
aGVja0NTb3VyY2VDb21waWxlcykKK2luY2x1ZGUoQ2hlY2tDWFhTb3VyY2VDb21waWxlcykKK0NI
RUNLX0NfU09VUkNFX0NPTVBJTEVTKAorIgorI2luY2x1ZGUgPEdML2dseC5oPgoraW50IG1haW4o
KQoreworICAgIEdMWEZCQ29uZmlnIGM7CisgICAgcmV0dXJuIDA7Cit9CisiCitHTFhDT01QSUxB
VElPTlBBU1NFRCkKKworSUYgKEdMWENPTVBJTEFUSU9OUEFTU0VEKQorICAgIFNFVChIQVZFX0dM
WCAxKQorICAgIEFERF9ERUZJTklUSU9OUygtREhBVkVfR0xYPTEpCiBFTkRJRigpCiAKIElGIChF
TkFCTEVfU1BFTExDSEVDSykK
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>175240</attachid>
            <date>2012-11-20 10:11:24 -0800</date>
            <delta_ts>2012-11-21 07:54:11 -0800</delta_ts>
            <desc>WIP</desc>
            <filename>WIP.patch</filename>
            <type>text/plain</type>
            <size>2615</size>
            <attacher name="Kalyan">kalyan.kondapally</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBTb3VyY2UvY21ha2UvRmluZE9wZW5HTFguY21ha2UgU291cmNlL2NtYWtlL0Zp
bmRPcGVuR0xYLmNtYWtlCm5ldyBmaWxlIG1vZGUgMTAwNjQ0CmluZGV4IDAwMDAwMDAuLmJlY2Zk
MjYKLS0tIC9kZXYvbnVsbAorKysgU291cmNlL2NtYWtlL0ZpbmRPcGVuR0xYLmNtYWtlCkBAIC0w
LDAgKzEsNDEgQEAKKyMgQ29weXJpZ2h0IChDKSAyMDEyIEludGVsIENvcnBvcmF0aW9uLiBBbGwg
cmlnaHRzIHJlc2VydmVkLgorIworIyBSZWRpc3RyaWJ1dGlvbiBhbmQgdXNlIGluIHNvdXJjZSBh
bmQgYmluYXJ5IGZvcm1zLCB3aXRoIG9yIHdpdGhvdXQKKyMgbW9kaWZpY2F0aW9uLCBhcmUgcGVy
bWl0dGVkIHByb3ZpZGVkIHRoYXQgdGhlIGZvbGxvd2luZyBjb25kaXRpb25zCisjIGFyZSBtZXQ6
CisjIDEuICBSZWRpc3RyaWJ1dGlvbnMgb2Ygc291cmNlIGNvZGUgbXVzdCByZXRhaW4gdGhlIGFi
b3ZlIGNvcHlyaWdodAorIyAgICAgbm90aWNlLCB0aGlzIGxpc3Qgb2YgY29uZGl0aW9ucyBhbmQg
dGhlIGZvbGxvd2luZyBkaXNjbGFpbWVyLgorIyAyLiAgUmVkaXN0cmlidXRpb25zIGluIGJpbmFy
eSBmb3JtIG11c3QgcmVwcm9kdWNlIHRoZSBhYm92ZSBjb3B5cmlnaHQKKyMgICAgIG5vdGljZSwg
dGhpcyBsaXN0IG9mIGNvbmRpdGlvbnMgYW5kIHRoZSBmb2xsb3dpbmcgZGlzY2xhaW1lciBpbiB0
aGUKKyMgICAgIGRvY3VtZW50YXRpb24gYW5kL29yIG90aGVyIG1hdGVyaWFscyBwcm92aWRlZCB3
aXRoIHRoZSBkaX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OSVRJT05TKC1ESEFWRV9HTFgpCisgIEVORElGKCkKIEVORElG
ICgpCiAKIElGIChFTkFCTEVfSU5TUEVDVE9SKQpAQCAtMTc4LDcgKzE4Myw2IEBAIElGIChXVEZf
VVNFX1RJTEVEX0JBQ0tJTkdfU1RPUkUpCiAgIFNFVChFTkFCTEVfM0RfUkVOREVSSU5HIDEpCiAg
IEFERF9ERUZJTklUSU9OUygtREVOQUJMRV8zRF9SRU5ERVJJTkc9MSkKIAotICBGSU5EX1BBQ0tB
R0UoT3BlbkdMIFJFUVVJUkVEKQogRU5ESUYoKQogCiBJRiAoRU5BQkxFX1dFQkdMKQo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>175446</attachid>
            <date>2012-11-21 07:54:11 -0800</date>
            <delta_ts>2012-11-21 19:09:28 -0800</delta_ts>
            <desc>proposed patch</desc>
            <filename>cmakechanges.patch</filename>
            <type>text/plain</type>
            <size>1646</size>
            <attacher name="Kalyan">kalyan.kondapally</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBDaGFuZ2VMb2cgQ2hhbmdlTG9nCmluZGV4IDIzNGM3YjMuLjZkOGU3YmYgMTAw
NjQ0Ci0tLSBDaGFuZ2VMb2cKKysrIENoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDEyLTEx
LTIxICBLb25kYXBhbGx5IEthbHlhbiAgPGthbHlhbi5rb25kYXBhbGx5QGludGVsLmNvbT4KKwor
ICAgICAgICBbRUZMXSBHTFggZGV0ZWN0aW9uIGlzIGJyb2tlbi4KKyAgICAgICAgaHR0cHM6Ly9i
dWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEwMjY4Ny4KKworICAgICAgICBSZXZpZXdl
ZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBIQVZFX0dMWCBpcyBlbmFibGVkIG9ubHkg
aWYgV2ViR0wgaXMgZW5hYmxlZC4gVGhpcyBpcyB3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