<div dir="ltr">Hi,<div><br></div><div>This email just to point that a revised patch has been submitted.</div><div><br></div><div>Please find attached at <a href="https://patchwork.openembedded.org/patch/148586/">https://patchwork.openembedded.org/patch/148586/</a></div><div><br></div><div>Thanks,</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div><div dir="ltr">Francesco Giancane</div></div><div><dd style="margin:0px;padding:0px;border:0px;font-style:inherit;font-family:inherit;vertical-align:top;line-height:inherit;display:inline-block"><span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-family:inherit;vertical-align:baseline;line-height:inherit;direction:ltr"><br></span></dd></div></div></div></div></div>
<br><div class="gmail_quote">2018-03-01 17:20 GMT+01:00 Francesco Giancane <span dir="ltr">&lt;<a href="mailto:francescogiancane8@gmail.com" target="_blank">francescogiancane8@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">v4 is being sent with updated commit description and Upstream-Status included.<div>Thanks!</div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_-1158130350777873683gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Francesco Giancane</div></div></div></div></div></div></div></font></span><div><div class="h5">
<br><div class="gmail_quote">2018-02-28 23:57 GMT+01:00 Peter Kjellerstedt <span dir="ltr">&lt;<a href="mailto:peter.kjellerstedt@axis.com" target="_blank">peter.kjellerstedt@axis.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:openembedded-core-bounces@lists.openembedded.org" target="_blank">openembedded-core-bounces@list<wbr>s.openembedded.org</a><br>
&gt; [mailto:<a href="mailto:openembedded-core-bounces@lists.openembedded.org" target="_blank">openembedded-core-boun<wbr>ces@lists.openembedded.org</a>] On Behalf Of<br>
&gt; Francesco Giancane<br>
&gt; Sent: den 28 februari 2018 23:09<br>
&gt; To: <a href="mailto:openembedded-core@lists.openembedded.org" target="_blank">openembedded-core@lists.openem<wbr>bedded.org</a><br>
&gt; Subject: [OE-core] [meta-oe][PATCH v3] libepoxy: New recipe updated to latest release<br>
<br>
This isn&#39;t in meta-oe, it&#39;s in meta. ;)<br>
<br>
I suggest changing the subject to:<br>
<br>
libepoxy: Update to 1.5.0<br>
<br>
since it&#39;s not a new recipe, and &quot;latest release&quot; carries a lot<br>
less information than the actual version.<br>
<span><br>
&gt; libepoxy 1.4.3 did not compile successfully because of<br>
&gt; implicit symbol definitions and link-time errors.<br>
&gt; A new recipe with latest libepoxy release (1.5.0) which<br>
&gt; successfully compiles is provided.<br>
<br>
</span>I&#39;d remove the second sentence. All that information is<br>
conveyed by the updated subject anyway.<br>
<div><div class="m_-1158130350777873683h5"><br>
&gt; Patch to disable &#39;dlvsym&#39; has also been forward-ported<br>
&gt; to be applicable to version 1.5.0.<br>
&gt; The patch &#39;Add-fallback-definition-for-E<wbr>GL-CAST.patch&#39; is<br>
&gt; mainline now; thus it can be safely removed.<br>
&gt; Also, the patch<br>
&gt; 0001-Define-MESA_EGL_NO_X11_HE<wbr>ADERS-before-including-eglp.pa<wbr>tch<br>
&gt; is no longer required since mainline fixed this too.<br>
&gt;<br>
&gt; Signed-off-by: Francesco Giancane &lt;<a href="mailto:francescogiancane8@gmail.com" target="_blank">francescogiancane8@gmail.com</a>&gt;<br>
&gt; ---<br>
&gt;  ..._EGL_NO_X11_HEADERS-before-<wbr>including-eglp.patch | 30 --------------------<br>
&gt;  ...sible-to-disable-the-use-of<wbr>-dlvsym-needed.patch | 26 +++++++++--------<br>
&gt;  .../Add-fallback-definition-fo<wbr>r-EGL-CAST.patch     | 33 ----------------------<br>
&gt;  .../{<a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a> =&gt; <a href="http://libepoxy_1.5.0.bb" rel="noreferrer" target="_blank">libepoxy_1.5.0.bb</a>}       | 10 +++----<br>
&gt;  4 files changed, 18 insertions(+), 81 deletions(-)<br>
&gt;  delete mode 100644 meta/recipes-graphics/libepoxy<wbr>/libepoxy/0001-Define-MESA_<wbr>EGL_NO_X11_HEADERS-before-<wbr>including-eglp.patch<br>
&gt;  delete mode 100644 meta/recipes-graphics/libepoxy<wbr>/libepoxy/Add-fallback-<wbr>definition-for-EGL-CAST.patch<br>
&gt;  rename meta/recipes-graphics/libepoxy<wbr>/{<a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a> =&gt; <a href="http://libepoxy_1.5.0.bb" rel="noreferrer" target="_blank">libepoxy_1.5.0.bb</a>} (61%)<br>
&gt;<br>
&gt; diff --git a/meta/recipes-graphics/libepo<wbr>xy/libepoxy/0001-Define-MESA_<wbr>EGL_NO_X11_HEADERS-before-<wbr>including-eglp.patch b/meta/recipes-graphics/libepo<wbr>xy/libepoxy/0001-Define-MESA_<wbr>EGL_NO_X11_HEADERS-before-<wbr>including-eglp.patch<br>
&gt; deleted file mode 100644<br>
&gt; index ebe5754a7a..0000000000<br>
&gt; --- a/meta/recipes-graphics/libepo<wbr>xy/libepoxy/0001-Define-MESA_<wbr>EGL_NO_X11_HEADERS-before-<wbr>including-eglp.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,30 +0,0 @@<br>
&gt; -From 62e178ddae24c7633d2a03b129dc52<wbr>261e0a15bf Mon Sep 17 00:00:00 2001<br>
&gt; -From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt; -Date: Wed, 7 Feb 2018 00:48:<a href="tel:03%20-0800" value="+39030800" target="_blank">03 -0800</a><br>
&gt; -Subject: [PATCH] Define MESA_EGL_NO_X11_HEADERS before including eglplatform.h<br>
&gt; - when X11 is disabled<br>
&gt; -<br>
&gt; -This helps in compiling when GL implementations e.g. mesa use<br>
&gt; -this define to exclude X11 headers<br>
&gt; -<br>
&gt; -Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt; ----<br>
&gt; -Upstream-Status: Submitted<br>
&gt; [<a href="https://github.com/anholt/libepoxy/pull/153" rel="noreferrer" target="_blank">https://github.com/anholt/lib<wbr>epoxy/pull/153</a>]<br>
&gt; -<br>
&gt; - src/dispatch_common.h | 3 +++<br>
&gt; - 1 file changed, 3 insertions(+)<br>
&gt; -<br>
&gt; -Index: libepoxy-1.4.3/src/dispatch_co<wbr>mmon.h<br>
&gt; -=============================<wbr>==============================<wbr>========<br>
&gt; ---- libepoxy-1.4.3.orig/src/dispat<wbr>ch_common.h<br>
&gt; -+++ libepoxy-1.4.3/src/dispatch_co<wbr>mmon.h<br>
&gt; -@@ -46,6 +46,9 @@<br>
&gt; - #include &quot;epoxy/glx.h&quot;<br>
&gt; - #endif<br>
&gt; - #if PLATFORM_HAS_EGL<br>
&gt; -+#if !PLATFORM_HAS_GLX<br>
&gt; -+#define MESA_EGL_NO_X11_HEADERS 1<br>
&gt; -+#endif<br>
&gt; - #include &quot;epoxy/egl.h&quot;<br>
&gt; - #endif<br>
&gt; - #if PLATFORM_HAS_WGL<br>
&gt; diff --git a/meta/recipes-graphics/libepo<wbr>xy/libepoxy/0001-Make-it-<wbr>possible-to-disable-the-use-<wbr>of-dlvsym-needed.patch b/meta/recipes-graphics/libepo<wbr>xy/libepoxy/0001-Make-it-<wbr>possible-to-disable-the-use-<wbr>of-dlvsym-needed.patch<br>
&gt; index c2a2fa3453..5bddc12033 100644<br>
&gt; --- a/meta/recipes-graphics/libepo<wbr>xy/libepoxy/0001-Make-it-<wbr>possible-to-disable-the-use-<wbr>of-dlvsym-needed.patch<br>
&gt; +++ b/meta/recipes-graphics/libepo<wbr>xy/libepoxy/0001-Make-it-<wbr>possible-to-disable-the-use-<wbr>of-dlvsym-needed.patch<br>
&gt; @@ -1,36 +1,38 @@<br>
&gt; -From 7bcefd311cd696955376fe2c5298ec<wbr>85e8f954ce Mon Sep 17 00:00:00 2001<br>
&gt; -From: Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;<br>
&gt; -Date: Wed, 15 Nov 2017 12:48:27 +0200<br>
&gt; +From 9c964427656ef71210e2c5b48b2798<wbr>57806574e9 Mon Sep 17 00:00:00 2001<br>
&gt; +From: Francesco Giancane &lt;<a href="mailto:francescogiancane8@gmail.com" target="_blank">francescogiancane8@gmail.com</a>&gt;<br>
&gt; +Date: Wed, 28 Feb 2018 21:32:24 +0100<br>
&gt;  Subject: [PATCH] Make it possible to disable the use of dlvsym() (needed for<br>
&gt;   musl)<br>
&gt;<br>
&gt; -Upstream-Status: Pending<br>
<br>
</div></div>Don&#39;t remove the Upstream-Status.<br>
<div class="m_-1158130350777873683HOEnZb"><div class="m_-1158130350777873683h5"><br>
&gt; -Signed-off-by: Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;<br>
&gt; +Add a patch to work around absence of dlvsym() on musl<br>
&gt; +(wasn&#39;t previously a problem as autotools weren&#39;t building tests by default)<br>
&gt;<br>
&gt; +Signed-off-by: Alexander Kanavin &lt;<a href="mailto:alexander.kanavin@linux.intel.com" target="_blank">alexander.kanavin@linux.intel<wbr>.com</a>&gt;<br>
&gt; +Signed-off-by: Francesco Giancane &lt;<a href="mailto:francescogiancane8@gmail.com" target="_blank">francescogiancane8@gmail.com</a>&gt;<br>
&gt;  ---<br>
&gt;   meson_options.txt | 3 +++<br>
&gt;   test/meson.build  | 6 +++---<br>
&gt;   2 files changed, 6 insertions(+), 3 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/meson_options.txt b/meson_options.txt<br>
&gt; -index 244476a..071f0b6 100644<br>
&gt; +index b5d7c98..aa849c2 100644<br>
&gt;  --- a/meson_options.txt<br>
&gt;  +++ b/meson_options.txt<br>
&gt;  @@ -1,6 +1,9 @@<br>
&gt; - option(&#39;enable-docs&#39;,<br>
&gt; + option(&#39;docs&#39;,<br>
&gt;          type: &#39;boolean&#39;, value: false,<br>
&gt;          description: &#39;Enable generating the Epoxy API reference (depends on Doxygen)&#39;)<br>
&gt;  +option(&#39;has-dlvsym&#39;,<br>
&gt;  +       type: &#39;boolean&#39;, value: true,<br>
&gt;  +       description: &#39;Whether dlvsym() is available (it is not when using musl C library)&#39;)<br>
&gt; - option(&#39;enable-glx&#39;,<br>
&gt; + option(&#39;glx&#39;,<br>
&gt;          type: &#39;combo&#39;,<br>
&gt;          choices: [ &#39;auto&#39;, &#39;yes&#39;, &#39;no&#39; ],<br>
&gt;  diff --git a/test/meson.build b/test/meson.build<br>
&gt; -index 2340fc6..bc4330b 100644<br>
&gt; +index c5788b4..4c46ae6 100644<br>
&gt;  --- a/test/meson.build<br>
&gt;  +++ b/test/meson.build<br>
&gt; -@@ -86,8 +86,8 @@ if build_glx<br>
&gt; +@@ -92,8 +92,8 @@ if build_glx<br>
&gt;       [ &#39;glx_has_extension_nocontext&#39;, [ &#39;glx_has_extension_nocontext.c<wbr>&#39; ], [], [], true ],<br>
&gt;       [ &#39;glx_static&#39;, [ &#39;glx_static.c&#39; ], [ &#39;-DNEEDS_TO_BE_STATIC&#39;], [ &#39;-static&#39; ], libtype == &#39;static&#39; ],<br>
&gt;       [ &#39;glx_shared_znow&#39;, [ &#39;glx_static.c&#39;, ], [], [ &#39;-Wl,-z,now&#39; ], has_znow ],<br>
&gt; @@ -41,7 +43,7 @@ index 2340fc6..bc4330b 100644<br>
&gt;     ]<br>
&gt;<br>
&gt;     foreach test: glx_tests<br>
&gt; -@@ -108,7 +108,7 @@ if build_glx<br>
&gt; +@@ -114,7 +114,7 @@ if build_glx<br>
&gt;       endif<br>
&gt;     endforeach<br>
&gt;<br>
&gt; @@ -51,5 +53,5 @@ index 2340fc6..bc4330b 100644<br>
&gt;       if build_egl<br>
&gt;         glx_egl_sources = [<br>
&gt;  --<br>
&gt; -2.15.0<br>
&gt; +2.14.3<br>
&gt;<br>
&gt; diff --git a/meta/recipes-graphics/libepo<wbr>xy/libepoxy/Add-fallback-<wbr>definition-for-EGL-CAST.patch b/meta/recipes-graphics/libepo<wbr>xy/libepoxy/Add-fallback-<wbr>definition-for-EGL-CAST.patch<br>
&gt; deleted file mode 100644<br>
&gt; index b9297257dc..0000000000<br>
&gt; --- a/meta/recipes-graphics/libepo<wbr>xy/libepoxy/Add-fallback-<wbr>definition-for-EGL-CAST.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,33 +0,0 @@<br>
&gt; -Add fallback definition for EGL_CAST<br>
&gt; -<br>
&gt; -The EGL API update from d11104f introduced a dependency on the<br>
&gt; -EGL_CAST() macro, provided by an updated eglplatform.h. Given that we<br>
&gt; -don&#39;t provide eglplatform.h, add a fallback definition for if we&#39;re<br>
&gt; -building against Mesa 17.0.x or similar.<br>
&gt; -<br>
&gt; -<a href="https://bugs.gentoo.org/show_bug.cgi?id=623926" rel="noreferrer" target="_blank">https://bugs.gentoo.org/show_<wbr>bug.cgi?id=623926</a><br>
&gt; -<br>
&gt; -Upstream-Status: Backport [<a href="https://github.com/anholt/libepoxy/commit/ebe3a53db1c0bb34e1ca963b95d1f222115f93f8" rel="noreferrer" target="_blank">https://github.com/anholt/lib<wbr>epoxy/commit/ebe3a53db1c0bb34e<wbr>1ca963b95d1f222115f93f8</a>]<br>
&gt; -<br>
&gt; -Signed-off-by: Tom Hochstein &lt;<a href="mailto:tom.hochstein@nxp.com" target="_blank">tom.hochstein@nxp.com</a>&gt;<br>
&gt; -<br>
&gt; -Index: libepoxy-1.4.3/src/gen_dispatc<wbr>h.py<br>
&gt; -=============================<wbr>==============================<wbr>========<br>
&gt; ---- libepoxy-1.4.3.orig/src/gen_di<wbr>spatch.py  2017-06-06<br>
&gt; 04:24:13.000000000 -0500<br>
&gt; -+++ libepoxy-1.4.3/src/gen_dispatc<wbr>h.py       2017-11-06<br>
&gt; 12:45:43.594966473 -0600<br>
&gt; -@@ -491,6 +491,15 @@<br>
&gt; -             self.outln(&#39;#include &quot;epoxy/gl.h&quot;&#39;)<br>
&gt; -             if self.target == &quot;egl&quot;:<br>
&gt; -                 self.outln(&#39;#include &quot;EGL/eglplatform.h&quot;&#39;)<br>
&gt; -+                # Account for older eglplatform.h, which doesn&#39;t define<br>
&gt; -+                # the EGL_CAST macro.<br>
&gt; -+                self.outln(&#39;#ifndef EGL_CAST&#39;)<br>
&gt; -+                self.outln(&#39;#if defined(__cplusplus)&#39;)<br>
&gt; -+                self.outln(&#39;#define EGL_CAST(type, value) (static_cast&lt;type&gt;(value))&#39;)<br>
&gt; -+                self.outln(&#39;#else&#39;)<br>
&gt; -+                self.outln(&#39;#define EGL_CAST(type, value) ((type) (value))&#39;)<br>
&gt; -+                self.outln(&#39;#endif&#39;)<br>
&gt; -+                self.outln(&#39;#endif&#39;)<br>
&gt; -         else:<br>
&gt; -             # Add some ridiculous inttypes.h redefinitions that are<br>
&gt; -             # from khrplatform.h and not included in the XML.  We<br>
&gt; diff --git a/meta/recipes-graphics/libepo<wbr>xy/<a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a> b/meta/recipes-graphics/libepo<wbr>xy/<a href="http://libepoxy_1.5.0.bb" rel="noreferrer" target="_blank">libepoxy_1.5.0.bb</a><br>
&gt; similarity index 61%<br>
&gt; rename from meta/recipes-graphics/libepoxy<wbr>/<a href="http://libepoxy_1.4.3.bb" rel="noreferrer" target="_blank">libepoxy_1.4.3.bb</a><br>
&gt; rename to meta/recipes-graphics/libepoxy<wbr>/<a href="http://libepoxy_1.5.0.bb" rel="noreferrer" target="_blank">libepoxy_1.5.0.bb</a><br>
&gt; index 8a5cb8f49f..dfdd19248d 100644<br>
&gt; --- a/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>
&gt; +++ b/meta/recipes-graphics/libepo<wbr>xy/<a href="http://libepoxy_1.5.0.bb" rel="noreferrer" target="_blank">libepoxy_1.5.0.bb</a><br>
&gt; @@ -6,12 +6,10 @@ LICENSE = &quot;MIT&quot;<br>
&gt;  LIC_FILES_CHKSUM = &quot;file://COPYING;md5=58ef4c80d4<wbr>01e07bd9ee8b6b58cf464b&quot;<br>
&gt;<br>
&gt;  SRC_URI = &quot;<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>
&gt; -           file://Add-fallback-definitio<wbr>n-for-EGL-CAST.patch \<br>
&gt;             file://0001-Make-it-possible-<wbr>to-disable-the-use-of-dlvsym-n<wbr>eeded.patch \<br>
&gt; -           file://0001-Define-MESA_EGL_N<wbr>O_X11_HEADERS-before-including<wbr>-eglp.patch \<br>
&gt;             &quot;<br>
&gt; -SRC_URI[md5sum] = &quot;af4c3ce0fb1143bdc4e43f85695a9<wbr>bed&quot;<br>
&gt; -SRC_URI[sha256sum] = &quot;0b808a06c9685a62fca34b680abb8<wbr>bc7fb2fda074478e329b063c1f872b<wbr>826f6&quot;<br>
&gt; +SRC_URI[md5sum] = &quot;63fe3847789258254dcd7e3fdb9e7<wbr>f5e&quot;<br>
&gt; +SRC_URI[sha256sum] = &quot;4c94995398a6ebf691600dda2e968<wbr>5a0cac261414175c2adf4645cdfab4<wbr>2a5d5&quot;<br>
&gt;  UPSTREAM_CHECK_URI = &quot;<a href="https://github.com/anholt/libepoxy/releases" rel="noreferrer" target="_blank">https://github.com/anholt/lib<wbr>epoxy/releases</a>&quot;<br>
&gt;<br>
&gt;  inherit meson pkgconfig distro_features_check<br>
&gt; @@ -20,8 +18,8 @@ REQUIRED_DISTRO_FEATURES = &quot;opengl&quot;<br>
&gt;<br>
&gt;  DEPENDS = &quot;util-macros&quot;<br>
&gt;<br>
&gt; -PACKAGECONFIG[egl] = &quot;-Denable-egl=yes, -Denable-egl=no, virtual/egl&quot;<br>
&gt; -PACKAGECONFIG[x11] = &quot;-Denable-glx=yes, -Denable-glx=no, virtual/libx11&quot;<br>
&gt; +PACKAGECONFIG[egl] = &quot;-Degl=yes, -Degl=no, virtual/egl&quot;<br>
&gt; +PACKAGECONFIG[x11] = &quot;-Dglx=yes, -Dglx=no, virtual/libx11 virtual/libgl&quot;<br>
&gt;  PACKAGECONFIG ??= &quot;${@bb.utils.filter(&#39;DISTRO_FE<wbr>ATURES&#39;, &#39;x11&#39;, d)} egl&quot;<br>
&gt;<br>
&gt;  EXTRA_OEMESON_append_libc-musl = &quot; -Dhas-dlvsym=false &quot;<br>
&gt; --<br>
&gt; 2.14.3<br>
<br>
</div></div><span class="m_-1158130350777873683HOEnZb"><font color="#888888">//Peter<br>
<br>
</font></span></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>