mesa: update to 17.1.6
PATCH 1/1 mesa: update to 17.1.6
Optional installation of khrplatform.h was implemented upstream by a slightly different approach -> 0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch can be removed.
---
...ly-install-khrplatform.h-with-EGL-or-GLES.patch | 52 ----------------------
.../mesa/{mesa-gl_17.1.5.bb => mesa-gl_17.1.6.bb} | 0
.../mesa/{mesa_17.1.5.bb => mesa_17.1.6.bb} | 5 +--
3 files changed, 2 insertions(+), 55 deletions(-)
delete mode 100644 meta/recipes-graphics/mesa/files/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch
rename meta/recipes-graphics/mesa/{mesa-gl_17.1.5.bb => mesa-gl_17.1.6.bb} (100%)
rename meta/recipes-graphics/mesa/{mesa_17.1.5.bb => mesa_17.1.6.bb} (81%)meta/recipes-graphics/mesa/files/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch deleted +0 -52
@@ -1,52 +0,0 @@ -From 922cb47a5b950ee5545a7a3cb4cd9a88a8b15054 Mon Sep 17 00:00:00 2001 -From: Jussi Kukkonen <[email protected]> -Date: Wed, 12 Jul 2017 12:21:29 +0300 -Subject: [PATCH] mapi: Only install khrplatform.h with EGL or GLES - -When mesa is built with "--disable-egl --disable-gles1 ---disable-gles2" the KHR platform headers are not needed. - -Not installing the header when not needed allows using mesa for GL -and another implementation for GLES+EGL (as is done in practice with -userland on raspberrypi). - -Upstream-Status: Pending [waiting for test results before sending] -Signed-off-by: Jussi Kukkonen <[email protected]> ---- - src/mapi/Makefile.am | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am -index 9ff70a14fd..94c77fb82c 100644 ---- a/src/mapi/Makefile.am -+++ b/src/mapi/Makefile.am -@@ -188,6 +188,8 @@ es1api_libGLESv1_CM_la_LDFLAGS = \ - $(LD_NO_UNDEFINED) - - es1api_libGLESv1_CM_la_LIBADD += shared-glapi/libglapi.la -+ -+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h - endif - - es1api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps) -@@ -233,6 +235,12 @@ es2api_libGLESv2_la_LDFLAGS = \ - $(LD_NO_UNDEFINED) - - es2api_libGLESv2_la_LIBADD += shared-glapi/libglapi.la -+ -+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h -+endif -+ -+if HAVE_EGL -+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h - endif - - es2api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps) -@@ -243,4 +251,3 @@ es2api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps) - include $(top_srcdir)/install-lib-links.mk - - khrdir = $(includedir)/KHR --khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h --- -2.13.2 -
meta/recipes-graphics/mesa/mesa-gl_17.1.6.bb renamed from meta/recipes-graphics/mesa/mesa-gl_17.1.5.bb +0 -0
meta/recipes-graphics/mesa/mesa_17.1.6.bb renamed from meta/recipes-graphics/mesa/mesa_17.1.5.bb +2 -3
@@ -5,14 +5,13 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ file://disable-asm-on-non-gcc.patch \ file://0001-Use-wayland-scanner-in-the-path.patch \ file://0002-hardware-gloat.patch \ - file://0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch \ file://vulkan-mkdir.patch \ file://llvm-config-version.patch \ file://0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch \ file://0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch \ " -SRC_URI[md5sum] = "6cf936fbcaadd98924298a7009e8265d" -SRC_URI[sha256sum] = "378516b171712687aace4c7ea8b37c85895231d7a6d61e1e27362cf6034fded9" +SRC_URI[md5sum] = "54758bf842f9ea53c8b57cce4311b87e" +SRC_URI[sha256sum] = "0686deadde1f126b20aa67e47e8c50502043eee4ecdf60d5009ffda3cebfee50" #because we cannot rely on the fact that all apps will use pkgconfig, #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
Signature · 1 line
2.9.4
Quoted 5 lines · Andreas Müller
Optional installation of
khrplatform.hwas implemented upstream by a slightly different approach -> 0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch can be removed.Signed-off-by Andreas Müller <[email protected]>
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 9 lines · Andreas Müller
Optional installation of
khrplatform.hwas implemented upstream by a slightly
different approach -> 0001-mapi-Only-install-khrplat form.h-with-EGL-or-GLES.patch
can be removed.Signed-off-by Andreas Müller <[email protected]>
LGTM. Being reporting the issue that originated the here removed patch by Jussi, I build tested this commit on the original setup with meta-raspberrypi and everything still looks good.
---
Quoted 119 lines
...ly-install-khrplatform.h-with-EGL-or-GLES.patch | 52 ---------------------- .../mesa/{mesa-gl_17.1.5.bb => mesa-gl_17.1.6.bb} | 0 .../mesa/{mesa_17.1.5.bb => mesa_17.1.6.bb} | 5 +-- 3 files changed, 2 insertions(+), 55 deletions(-) delete mode 100644 meta/recipes-graphics/mesa/fil es/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch rename meta/recipes-graphics/mesa/{mesa-gl_17.1.5.bb => mesa-gl_17.1.6.bb} (100%) rename meta/recipes-graphics/mesa/{mesa_17.1.5.bb => mesa_17.1.6.bb}(81%)
(quoted diff) +0
-0rplatform.h-with-EGL-or-GLES.patch b/meta/recipes-graphics/mesa/f
iles/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patchdeleted file mode 100644
index be61e2e..0000000
--- a/meta/recipes-graphics/mesa/files/0001-mapi-Only-install-kh rplatform.h-with-EGL-or-GLES.patch
+++/dev/nullmeta/recipes-graphics/mesa/files/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch deleted +0
-31@@ -1,52 +0,0 @@ -From 922cb47a5b950ee5545a7a3cb4cd9a88a8b15054 Mon Sep 17 00:00:00 2001 -From: Jussi Kukkonen <[email protected]> -Date: Wed, 12 Jul 2017 12:21:29 +0300 -Subject: [PATCH] mapi: Only install khrplatform.h with EGL or GLES - -When mesa is built with "--disable-egl --disable-gles1 ---disable-gles2" the KHR platform headers are not needed. - -Not installing the header when not needed allows using mesa for GL -and another implementation for GLES+EGL (as is done in practice with -userland on raspberrypi). - -Upstream-Status: Pending [waiting for test results before sending] -Signed-off-by: Jussi Kukkonen <[email protected]> ---- - src/mapi/Makefile.am | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am -index 9ff70a14fd..94c77fb82c 100644 ---- a/src/mapi/Makefile.am -+++ b/src/mapi/Makefile.am -@@ -188,6 +188,8 @@ es1api_libGLESv1_CM_la_LDFLAGS = \ - $(LD_NO_UNDEFINED) - - es1api_libGLESv1_CM_la_LIBADD += shared-glapi/libglapi.la -+ -+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h - endif - - es1api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml$(glapi_gen_mapi_deps)
-@@ -233,6 +235,12 @@es2api_libGLESv2_la_LDFLAGS= \meta/recipes-graphics/mesa/files/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch deleted +0
-12- $(LD_NO_UNDEFINED) - - es2api_libGLESv2_la_LIBADD += shared-glapi/libglapi.la -+ -+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h -+endif -+ -+if HAVE_EGL -+khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h - endif - - es2api/glapi_mapi_tmp.h: glapi/gen/gl_and_es_API.xml$(glapi_gen_mapi_deps)
-@@ -243,4 +251,3 @@es2api/glapi_mapi_tmp.h:glapi/gen/gl_and_es_API.xml$(glapi_gen_mapi_deps)
- include $(top_srcdir)/install-lib-links.mkmeta/recipes-graphics/mesa/files/0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch deleted +0
-6- - khrdir = $(includedir)/KHR --khr_HEADERS = $(top_srcdir)/include/KHR/khrplatform.h --- -2.13.2 -meta/recipes-graphics/mesa/mesa-gl_17.1.6.bb renamed from meta/recipes-graphics/mesa/mesa-gl_17.1.5.bb +0
-0meta/recipes-graphics/mesa/mesa_17.1.6.bb renamed from meta/recipes-graphics/mesa/mesa_17.1.5.bb +0
-3@@ -5,14 +5,13 @@ SRC_URI = "https://mesa.freedesktop.org/ archive/mesa-${PV}.tar.xz \ file://disable-asm-on-non-gcc.patch \ file://0001-Use-wayland-scanner-in-the-path.patch \ file://0002-hardware-gloat.patch \ - file://0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch \ file://vulkan-mkdir.patch \ file://llvm-config-version.patch \ file://0001-ac-fix-build-after-LLVM-5.0-SVN-r300718.patch \ file://0002-gallivm-Fix-build-against-LLVM-SVN-r302589.patch \ " -SRC_URI[md5sum] = "6cf936fbcaadd98924298a7009e8265d" -SRC_URI[sha256sum] = "378516b171712687aace4c7ea8b37
c85895231d7a6d61e1e27362cf6034fded9"meta/recipes-graphics/mesa/mesa_17.1.6.bb renamed from meta/recipes-graphics/mesa/mesa_17.1.5.bb +2
-0+SRC_URI[md5sum] = "54758bf842f9ea53c8b57cce4311b87e" +SRC_URI[sha256sum] = "0686deadde1f126b20aa67e47e8c5
0502043eee4ecdf60d5009ffda3cebfee50"#because we cannot rely on the fact that all apps will use pkgconfig, #make
eglplatform.hindependent ofMESA_EGL_NO_X11_HEADER
--
2.9.4--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 10 lines · Andrea Galbusera
Quoted 8 lines · Andreas Müller
Optional installation of
khrplatform.hwas implemented upstream by a slightly
different approach -> 0001-mapi-Only-install-khrplatform.h-with-EGL-or-GLES.patch can be removed.
Quoted 7 lines
Quoted 1 line
Signed-off-by Andreas Müller <[email protected]>LGTM. Being reporting the issue that originated the here removed patch by Jussi, I build tested this commit on the original setup with meta-raspberrypi and everything still looks good.
ping