<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 10 July 2017 at 17:47, Andrea Galbusera <span dir="ltr"><<a href="mailto:gizero@gmail.com" target="_blank">gizero@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div class="gmail-h5"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 27, 2017 at 3:16 PM, Jussi Kukkonen <span dir="ltr"><<a href="mailto:jussi.kukkonen@intel.com" target="_blank">jussi.kukkonen@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Imports the current EGL API registry from Khronos.<br>
<br>
Makes EGL support optional: this is reflected in the recipe but<br>
egl is enabled by default as before.<br>
<br>
Signed-off-by: Jussi Kukkonen <<a href="mailto:jussi.kukkonen@intel.com" target="_blank">jussi.kukkonen@intel.com</a>><br>
---<br>
.../libepoxy/{<a href="http://libepoxy_1.4.2.bb" rel="noreferrer" target="_blank">libepoxy_1.4.2.<wbr>bb</a> => <a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a>} | 9 +++++----<br>
1 file changed, 5 insertions(+), 4 deletions(-)<br>
rename meta/recipes-graphics/libepoxy<wbr>/{<a href="http://libepoxy_1.4.2.bb" rel="noreferrer" target="_blank">libepoxy_1.4.2.bb</a> => <a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a>} (70%)<br>
<br>
diff --git a/meta/recipes-graphics/libepo<wbr>xy/<a href="http://libepoxy_1.4.2.bb" rel="noreferrer" target="_blank">libepoxy_1.4.2.bb</a> b/meta/recipes-graphics/libepo<wbr>xy/<a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a><br>
similarity index 70%<br>
rename from meta/recipes-graphics/libepoxy<wbr>/<a href="http://libepoxy_1.4.2.bb" rel="noreferrer" target="_blank">libepoxy_1.4.2.bb</a><br>
rename to meta/recipes-graphics/libepoxy<wbr>/<a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a><br>
index e69e828..c8b398f 100644<br>
--- a/meta/recipes-graphics/libepo<wbr>xy/<a href="http://libepoxy_1.4.2.bb" rel="noreferrer" target="_blank">libepoxy_1.4.2.bb</a><br>
+++ b/meta/recipes-graphics/libepo<wbr>xy/<a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a><br>
@@ -6,15 +6,16 @@ LICENSE = "MIT"<br>
LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d4<wbr>01e07bd9ee8b6b58cf464b"<br>
<br>
SRC_URI = "<a href="https://github.com/anholt/$%7BBPN%7D/releases/download/$%7BPV%7D/$%7BBP%7D.tar.xz" rel="noreferrer" target="_blank">https://github.com/anholt/${B<wbr>PN}/releases/download/${PV}/${<wbr>BP}.tar.xz</a>"<br>
-SRC_URI[md5sum] = "632fcfd7ae9d21f5a634326d753a8<wbr>9c4"<br>
-SRC_URI[sha256sum] = "bea6fdec3d10939954495da898d87<wbr>2ee836b75c35699074cbf02a64fcb8<wbr>0d5b3"<br>
+SRC_URI[md5sum] = "af4c3ce0fb1143bdc4e43f85695a9<wbr>bed"<br>
+SRC_URI[sha256sum] = "0b808a06c9685a62fca34b680abb8<wbr>bc7fb2fda074478e329b063c1f872b<wbr>826f6"<br>
UPSTREAM_CHECK_URI = "<a href="https://github.com/anholt/libepoxy/releases" rel="noreferrer" target="_blank">https://github.com/anholt/lib<wbr>epoxy/releases</a>"<br>
<br>
inherit autotools pkgconfig distro_features_check<br>
<br>
REQUIRED_DISTRO_FEATURES = "opengl"<br>
<br>
-DEPENDS = "util-macros virtual/egl"<br>
+DEPENDS = "util-macros"<br>
<br>
+PACKAGECONFIG[egl] = "--enable-egl, --disable-egl, virtual/egl"<br>
PACKAGECONFIG[x11] = "--enable-glx, --disable-glx, virtual/libx11"<br>
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FE<wbr>ATURES', 'x11', d)}"<br>
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FE<wbr>ATURES', 'x11', d)} egl"<br>
<span class="gmail-m_702832814543370566m_827202577286063731gmail-HOEnZb"><font color="#888888">--<br>
2.1.4</font></span><br></blockquote></div><br></div></div></div><div class="gmail_extra">Beside the issue with recent patch to mesa, also this one seems to have caused nasty effects on raspberrypi builds... I got to it after bisecting poky from 854c8c2 that failed with:<br><br>ERROR: gtk+3-3.22.16-r0 do_prepare_recipe_sysroot: Error executing a python function in exec_python_func() autogenerated:<br><br>The stack trace of python calls that resulted in this exception/failure was:<br>File: 'exec_python_func() autogenerated', lineno: 2, function: <module><br> 0001:<br> *** 0002:extend_recipe_sysroot(d)<br> 0003:<br>File: '/home/gizero/work/smartliving<wbr>/distro/repo-master/build-<wbr>poky/conf/../../layers/poky/<wbr>meta/classes/staging.bbclass', lineno: 510, function: extend_recipe_sysroot<br> 0506: dest = newmanifest[l]<br> 0507: if l.endswith("/"):<br> 0508: staging_copydir(l, targetdir, dest, seendirs)<br> 0509: continue<br> *** 0510: staging_copyfile(l, targetdir, dest, postinsts, seendirs)<br> 0511:<br> 0512: for f in fixme:<br> 0513: if f == '':<br> 0514: staging_processfixme(fixme[f], recipesysroot, recipesysroot, recipesysrootnative, d)<br>File: '/home/gizero/work/smartliving<wbr>/distro/repo-master/build-<wbr>poky/conf/../../layers/poky/<wbr>meta/classes/staging.bbclass', lineno: 151, function: staging_copyfile<br> 0147: os.symlink(linkto, dest)<br> 0148: #bb.warn(c)<br> 0149: else:<br> 0150: try:<br> *** 0151: os.link(c, dest)<br> 0152: except OSError as err:<br> 0153: if err.errno == errno.EXDEV:<br> 0154: bb.utils.copyfile(c, dest)<br> 0155: else:<br>Exception: FileExistsError: [Errno 17] File exists: '/home/gizero/work/smartliving<wbr>/distro/repo-master/build-<wbr>poky/tmp/sysroots-components/r<wbr>aspberrypi3/userland/usr/inclu<wbr>de/KHR/khrplatform.h' -> '/home/gizero/work/smartliving<wbr>/distro/repo-master/build-<wbr>poky/tmp/work/cortexa7hf-neon-<wbr>vfpv4-poky-linux-gnueabi/gtk+<wbr>3/3.22.16-r0/recipe-sysroot/<wbr>usr/include/KHR/khrplatform.h'<br></div></div></blockquote><div><br></div><div>/usr/include/KHR/khrplatform.h is the egl platform header file, provided by both mesa and RPI userland. Does mesa end up in your gtk+3 recipe-sysroot somehow?<br></div><div><br></div><div>For clarity: this could be a bug but it is unlikely to be related to the libepoxy change (it does not use or ship the actual header file).</div><div> </div><div> - Jussi</div><div><br></div></div></div></div>