<div dir="ltr">Almost all of them :)<div><br></div><div>PACKAGECONFIG = &quot;egl gles dri wayland gallium gallium-llvmpipe openvg&quot;<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 27, 2013 at 11:00 PM, Burton, Ross <span dir="ltr">&lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m actively fixing this upstream now, so I will make sure this is sorted.  What PACKAGECONFIG are you using?<div><br>
</div><div>Ross<div><div class="h5"><span></span><br><br>On Thursday, 27 June 2013, Martin Jansa  wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
On Tue, Jun 25, 2013 at 05:38:43PM +0200, Nicolas Dechesne wrote:<br>
&gt; Extracted from &quot;d7033f4 mesa: upgrade to 9.1.3&quot;, already merged in master:<br>
&gt;<br>
&gt; --<br>
&gt; Add EGL-Mutate-NativeDisplayType-depending-on-config.patch to build correctly in<br>
&gt; a non-X11 environment.<br>
&gt;<br>
&gt; Drop fix-egl-compilation-without-x11-headers.patch as they were backports.<br>
&gt; --<br>
&gt;<br>
&gt; The new patch was also backported (trivial) to mesa 9.0.2 which is in<br>
&gt; dylan.<br>
&gt;<br>
&gt; Signed-off-by: Nicolas Dechesne &lt;<a>nicolas.dechesne@linaro.org</a>&gt;<br>
&gt; ---<br>
&gt;  meta/recipes-graphics/mesa/mesa-9.0.2.inc          |   2 +-<br>
&gt;  ...ate-NativeDisplayType-depending-on-config.patch | 361 +++++++++++++++++++++<br>
&gt;  2 files changed, 362 insertions(+), 1 deletion(-)<br>
&gt;  create mode 100644 meta/recipes-graphics/mesa/mesa/EGL-Mutate-NativeDisplayType-depending-on-config.patch<br>
&gt;<br>
&gt; diff --git a/meta/recipes-graphics/mesa/mesa-9.0.2.inc b/meta/recipes-graphics/mesa/mesa-9.0.2.inc<br>
&gt; index b88bc42..e2dcfdb 100644<br>
&gt; --- a/meta/recipes-graphics/mesa/mesa-9.0.2.inc<br>
&gt; +++ b/meta/recipes-graphics/mesa/mesa-9.0.2.inc<br>
&gt; @@ -2,7 +2,7 @@ SRC_URI = &quot;<a href="ftp://ftp.freedesktop.org/pub/mesa/$%7BPV%7D/MesaLib-$%7BPV%7D.tar.bz2" target="_blank">ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2</a> \<br>
&gt;             file://0002-cross-compile.patch \<br>
&gt;             file://cross-glsl.patch \<br>
&gt;             file://dont-fail-if-libX11-isnt-installed.patch \<br>
&gt; -           file://fix-egl-compilation-without-x11-headers.patch \<br>
&gt; +           file://EGL-Mutate-NativeDisplayType-depending-on-config.patch \<br>
&gt;             &quot;<br>
<br>
EGL-Mutate-NativeDisplayType-depending-on-config.patch does not cover<br>
<br>
#include &quot;state_tracker/xlib_sw_winsys.h&quot;<br>
in<br>
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c<br>
<br>
so builds with pipe-loader enabled and without x11 headers are still<br>
failing, the same issue is in master.<br>
<br>
&gt;  SRC_URI[md5sum] = &quot;dc45d1192203e418163e0017640e1cfc&quot;<br>
&gt; diff --git a/meta/recipes-graphics/mesa/mesa/EGL-Mutate-NativeDisplayType-depending-on-config.patch b/meta/recipes-graphics/mesa/mesa/EGL-Mutate-NativeDisplayType-depending-on-config.patch<br>
&gt; new file mode 100644<br>
&gt; index 0000000..98c4095<br>
&gt; --- /dev/null<br>
&gt; +++ b/meta/recipes-graphics/mesa/mesa/EGL-Mutate-NativeDisplayType-depending-on-config.patch<br>
&gt; @@ -0,0 +1,361 @@<br>
&gt; +From 7e5846aa52c7cb00b0db9fa393975880371d2620 Mon Sep 17 00:00:00 2001<br>
&gt; +From: Daniel Stone &lt;<a>daniel@fooishbar.org</a>&gt;<br>
&gt; +Date: Fri, 24 May 2013 17:20:27 +0100<br>
&gt; +Subject: [PATCH] EGL: Mutate NativeDisplayType depending on config<br>
&gt; +<br>
&gt; +If we go through ./configure without enabling X11 anywhere, then set the<br>
&gt; +fallback types for EGL NativeDisplay and friends, rather than assuming<br>
&gt; +X11/Xlib.<br>
&gt; +<br>
&gt; +Signed-off-by: Daniel Stone &lt;<a>daniel@fooishbar.org</a>&gt;<br>
&gt; +<br>
&gt; +Conflicts:<br>
&gt; +     <a href="http://configure.ac" target="_blank">configure.ac</a><br>
&gt; +---<br>
&gt; + <a href="http://configure.ac" target="_blank">configure.ac</a>                 |   9 +++<br>
&gt; + include/EGL/eglplatform.h    | 146 -------------------------------------------<br>
&gt; + include/EGL/<a href="http://eglplatform.h.in" target="_blank">eglplatform.h.in</a> | 146 +++++++++++++++++++++++++++++++++++++++++++<br>
&gt; + 3 files changed, 155 insertions(+), 146 deletions(-)<br>
&gt; + delete mode 100644 include/EGL/eglplatform.h<br>
&gt; + create mode 100644 include/EGL/<a href="http://eglplatform.h.in" target="_blank">eglplatform.h.in</a><br>
&gt; +<br>
&gt; +diff --git a/<a href="http://configure.ac" target="_blank">configure.ac</a> b/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
&gt; +index 682e0a5..a8a485d 100644<br>
&gt; +--- a/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
&gt; ++++ b/<a href="http://configure.ac" target="_blank">configure.ac</a><br>
&gt; +@@ -1577,12 +1577,20 @@ fi<br>
&gt; +<br>
&gt; + EGL_PLATFORMS=&quot;$egl_platforms&quot;<br>
&gt; +<br>
&gt; ++if echo &quot;$egl_platforms&quot; | grep &#39;x11&#39; &gt;/dev/null 2&gt;&amp;1; then<br>
&gt; ++    MESA_EGL_NO_X11_HEADERS=0<br>
&gt; ++else<br>
&gt; ++    MESA_EGL_NO_X11_HEADERS=1<br>
&gt; ++fi<br>
&gt; ++<br>
&gt; + AM_CONDITIONAL(HAVE_EGL_PLATFORM_X11, echo &quot;$egl_platforms&quot; | grep &#39;x11&#39; &gt;/dev/null 2&gt;&amp;1)<br>
&gt; + AM_CONDITIONAL(HAVE_EGL_PLATFORM_WAYLAND, echo &quot;$egl_platforms&quot; | grep &#39;wayland&#39; &gt;/dev/null 2&gt;&amp;1)<br>
&gt; + AM_CONDITIONAL(HAVE_EGL_PLATFORM_DRM, echo &quot;$egl_platforms&quot; | grep &#39;drm&#39; &gt;/dev/null 2&gt;&amp;1)<br>
&gt; + AM_CONDITIONAL(HAVE_EGL_PLATFORM_FBDEV, echo &quot;$egl_platforms&quot; | grep &#39;fbdev&#39; &gt;/dev/null 2&gt;&amp;1)<br>
&gt; + AM_CONDITIONAL(HAVE_EGL_PLATFORM_NULL, echo &quot;$egl_platforms&quot; | grep &#39;null&#39; &gt;/dev/null 2&gt;&amp;1)<br>
&gt; +<br>
&gt; ++AC_SUBST([MESA_EGL_NO_X11_HEADERS])<br>
&gt; ++<br>
&gt; + AM_CONDITIONAL(HAVE_EGL_DRIVER_DRI2, test &quot;x$HAVE_EGL_DRIVER_DRI2&quot; != &quot;x&quot;)<br>
&gt; + AM_CONDITIONAL(HAVE_EGL_DRIVER_GLX, test &quot;x$HAVE_EGL_DRIVER_GLX&quot; != &quot;x&quot;)<br>
&gt; +<br>
&gt; +@@ -1953,6 +1961,7 @@ CXXFLAGS=&quot;$CXXFLAGS $USER_CXXFLAGS&quot;<br>
&gt; + dnl Substitute the config<br>
&gt; + AC_CONFIG_FILES([configs/current<br>
&gt; +             Makefile<br>
&gt; ++            include/EGL/eglplatform.h<br>
&gt; +             src/egl/Makefile<br>
&gt; +             src/egl/drivers/Makefile<br>
&gt; +             src/egl/drivers/dri2/Makefile<br>
&gt; +diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h<br>
&gt; +deleted file mode 100644<br>
&gt; +index 17fdc61..0000000<br>
&gt; +--- a/include/EGL/eglplatform.h<br>
&gt; ++++ /dev/null<br>
&gt; +@@ -1,146 +0,0 @@<br>
&gt; +-#ifndef __eglplatform_h_<br>
&gt; +-#define __eglplatform_h_<br>
&gt; +-<br>
&gt; +-/*<br>
&gt; +-** Copyright (c) 2007-2009 The Khronos Group Inc.<br>
&gt; +-**<br>
&gt; +-** Permission is hereby granted, free of charge, to any person obtaining a<br>
&gt; +-** copy of this software and/or associated documentation files (the<br>
&gt; +-** &quot;Materials&quot;), to deal in the Materials without restriction, including<br></div></div>
&gt; +-** without limitation the rights t--<div class="im"><br>
Martin &#39;JaMa&#39; Jansa     jabber: <a>Martin.Jansa@gmail.com</a><br>
</div></blockquote></div>
</blockquote></div><br></div>