diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2018-08-30 14:27:37 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-04 11:03:56 +0100 |
commit | 3ad9909e5925b5cca6420e6716155b854fc68843 (patch) | |
tree | 67ff5b791b3ba8b284cb660ddc4ba38e703fa9a7 /meta/recipes-graphics/mesa | |
parent | 76956f0057dde44c73da7b9a7241590b47884b98 (diff) | |
download | poky-3ad9909e5925b5cca6420e6716155b854fc68843.tar.gz |
mesa: Upgrade 18.1.3 -> 18.1.7
This upgrades mesa to the 18.1.7 stable release.
The changes can be found at:
https://www.mesa3d.org/relnotes/18.1.4.html
https://www.mesa3d.org/relnotes/18.1.5.html
https://www.mesa3d.org/relnotes/18.1.6.html
https://www.mesa3d.org/relnotes/18.1.7.html
(From OE-Core rev: a77eb44bb1ff2ece9dcff1f7b5fe671ea3ae034d)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r-- | meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch (renamed from meta/recipes-graphics/mesa/files/0002-Simplify-wayland-scanner-lookup.patch) | 9 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch (renamed from meta/recipes-graphics/mesa/files/0003-winsys-svga-drm-Include-sys-types.h.patch) | 5 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/files/0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch (renamed from meta/recipes-graphics/mesa/files/0005-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch) | 10 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch (renamed from meta/recipes-graphics/mesa/files/0006-Use-Python-3-to-execute-the-scripts.patch) | 6 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch (renamed from meta/recipes-graphics/mesa/files/0007-dri-i965-Add-missing-time.h-include.patch) | 4 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/files/0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch (renamed from meta/recipes-graphics/mesa/files/cross-compile-WAYLAND_PROTOCOLS_DATADIR.patch) | 27 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/files/0008-egl-fix-build-race-in-automake.patch | 41 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-gl_18.1.7.bb (renamed from meta/recipes-graphics/mesa/mesa-gl_18.1.3.bb) | 0 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa_18.1.3.bb | 22 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa_18.1.7.bb | 21 |
10 files changed, 59 insertions, 86 deletions
diff --git a/meta/recipes-graphics/mesa/files/0002-Simplify-wayland-scanner-lookup.patch b/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch index fb3d49b9be..a50d2a2ba2 100644 --- a/meta/recipes-graphics/mesa/files/0002-Simplify-wayland-scanner-lookup.patch +++ b/meta/recipes-graphics/mesa/files/0001-Simplify-wayland-scanner-lookup.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 425c19542f9343e7b6a5b8aea26e1f2897484bc1 Mon Sep 17 00:00:00 2001 | 1 | From 7e8e0f8a8ac2425e19a2f340c9e3da9345f25940 Mon Sep 17 00:00:00 2001 |
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | 2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> |
3 | Date: Tue, 15 Nov 2016 15:20:49 +0200 | 3 | Date: Tue, 15 Nov 2016 15:20:49 +0200 |
4 | Subject: [PATCH 2/8] Simplify wayland-scanner lookup | 4 | Subject: [PATCH 1/6] Simplify wayland-scanner lookup |
5 | Organization: O.S. Systems Software LTDA. | 5 | Organization: O.S. Systems Software LTDA. |
6 | 6 | ||
7 | Don't use pkg-config to lookup the path of a binary that's in the path. | 7 | Don't use pkg-config to lookup the path of a binary that's in the path. |
@@ -11,15 +11,16 @@ PKG_CONFIG_SYSROOT_DIR. | |||
11 | 11 | ||
12 | Upstream-Status: Pending | 12 | Upstream-Status: Pending |
13 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | 13 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> |
14 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
14 | --- | 15 | --- |
15 | configure.ac | 7 +------ | 16 | configure.ac | 7 +------ |
16 | 1 file changed, 1 insertion(+), 6 deletions(-) | 17 | 1 file changed, 1 insertion(+), 6 deletions(-) |
17 | 18 | ||
18 | diff --git a/configure.ac b/configure.ac | 19 | diff --git a/configure.ac b/configure.ac |
19 | index 49fa3e8c51..3a8f04bd12 100644 | 20 | index 14f1af2b2f..916d0bd207 100644 |
20 | --- a/configure.ac | 21 | --- a/configure.ac |
21 | +++ b/configure.ac | 22 | +++ b/configure.ac |
22 | @@ -1810,12 +1810,7 @@ for plat in $platforms; do | 23 | @@ -1825,12 +1825,7 @@ for plat in $platforms; do |
23 | PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED]) | 24 | PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED]) |
24 | WAYLAND_PROTOCOLS_DATADIR=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols` | 25 | WAYLAND_PROTOCOLS_DATADIR=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols` |
25 | 26 | ||
diff --git a/meta/recipes-graphics/mesa/files/0003-winsys-svga-drm-Include-sys-types.h.patch b/meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch index 545752274e..ffb3bf7a63 100644 --- a/meta/recipes-graphics/mesa/files/0003-winsys-svga-drm-Include-sys-types.h.patch +++ b/meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 7701d24b775de9f7b74eaa1ff80c8a6d3fb09c71 Mon Sep 17 00:00:00 2001 | 1 | From 7792f228991744a0396b8bf811e281dca86165d3 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 16 Aug 2017 18:58:20 -0700 | 3 | Date: Wed, 16 Aug 2017 18:58:20 -0700 |
4 | Subject: [PATCH 3/8] winsys/svga/drm: Include sys/types.h | 4 | Subject: [PATCH 2/6] winsys/svga/drm: Include sys/types.h |
5 | Organization: O.S. Systems Software LTDA. | 5 | Organization: O.S. Systems Software LTDA. |
6 | 6 | ||
7 | vmw_screen.h uses dev_t which is defines in sys/types.h | 7 | vmw_screen.h uses dev_t which is defines in sys/types.h |
@@ -12,6 +12,7 @@ system headers | |||
12 | 12 | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
14 | Upstream-Status: Backport [7dfdfbf8c37e52e7b9b09f7d1d434edad3ebc864] | 14 | Upstream-Status: Backport [7dfdfbf8c37e52e7b9b09f7d1d434edad3ebc864] |
15 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
15 | --- | 16 | --- |
16 | src/gallium/winsys/svga/drm/vmw_screen.h | 1 + | 17 | src/gallium/winsys/svga/drm/vmw_screen.h | 1 + |
17 | 1 file changed, 1 insertion(+) | 18 | 1 file changed, 1 insertion(+) |
diff --git a/meta/recipes-graphics/mesa/files/0005-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch b/meta/recipes-graphics/mesa/files/0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch index bffe8c5b8a..5e735ca105 100644 --- a/meta/recipes-graphics/mesa/files/0005-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch +++ b/meta/recipes-graphics/mesa/files/0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From a240a803529225dda630b8f57ca7dfcad61ccd85 Mon Sep 17 00:00:00 2001 | 1 | From 8b42fb47138f91d9378439ab716bac7701e4e326 Mon Sep 17 00:00:00 2001 |
2 | From: Otavio Salvador <otavio@ossystems.com.br> | 2 | From: Otavio Salvador <otavio@ossystems.com.br> |
3 | Date: Tue, 5 Jun 2018 11:11:10 -0300 | 3 | Date: Tue, 5 Jun 2018 11:11:10 -0300 |
4 | Subject: [PATCH 5/8] Properly get LLVM version when using LLVM Git releases | 4 | Subject: [PATCH 3/6] Properly get LLVM version when using LLVM Git releases |
5 | Organization: O.S. Systems Software LTDA. | 5 | Organization: O.S. Systems Software LTDA. |
6 | 6 | ||
7 | $ llvm-config-host --version | 7 | $ llvm-config-host --version |
@@ -18,10 +18,10 @@ Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | |||
18 | 1 file changed, 2 insertions(+), 2 deletions(-) | 18 | 1 file changed, 2 insertions(+), 2 deletions(-) |
19 | 19 | ||
20 | diff --git a/configure.ac b/configure.ac | 20 | diff --git a/configure.ac b/configure.ac |
21 | index 3a8f04bd12..59226823ca 100644 | 21 | index 916d0bd207..dd172f1ebe 100644 |
22 | --- a/configure.ac | 22 | --- a/configure.ac |
23 | +++ b/configure.ac | 23 | +++ b/configure.ac |
24 | @@ -1089,7 +1089,7 @@ strip_unwanted_llvm_flags() { | 24 | @@ -1090,7 +1090,7 @@ strip_unwanted_llvm_flags() { |
25 | 25 | ||
26 | llvm_set_environment_variables() { | 26 | llvm_set_environment_variables() { |
27 | if test "x$LLVM_CONFIG" != xno; then | 27 | if test "x$LLVM_CONFIG" != xno; then |
@@ -30,7 +30,7 @@ index 3a8f04bd12..59226823ca 100644 | |||
30 | LLVM_CPPFLAGS=`strip_unwanted_llvm_flags "$LLVM_CONFIG --cppflags"` | 30 | LLVM_CPPFLAGS=`strip_unwanted_llvm_flags "$LLVM_CONFIG --cppflags"` |
31 | LLVM_INCLUDEDIR=`$LLVM_CONFIG --includedir` | 31 | LLVM_INCLUDEDIR=`$LLVM_CONFIG --includedir` |
32 | LLVM_LIBDIR=`$LLVM_CONFIG --libdir` | 32 | LLVM_LIBDIR=`$LLVM_CONFIG --libdir` |
33 | @@ -2793,7 +2793,7 @@ detect_old_buggy_llvm() { | 33 | @@ -2808,7 +2808,7 @@ detect_old_buggy_llvm() { |
34 | dnl ourselves. | 34 | dnl ourselves. |
35 | dnl (See https://llvm.org/bugs/show_bug.cgi?id=6823) | 35 | dnl (See https://llvm.org/bugs/show_bug.cgi?id=6823) |
36 | dnl We can't use $LLVM_VERSION because it has 'svn' stripped out, | 36 | dnl We can't use $LLVM_VERSION because it has 'svn' stripped out, |
diff --git a/meta/recipes-graphics/mesa/files/0006-Use-Python-3-to-execute-the-scripts.patch b/meta/recipes-graphics/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch index 3aebb1119d..8953c4a18f 100644 --- a/meta/recipes-graphics/mesa/files/0006-Use-Python-3-to-execute-the-scripts.patch +++ b/meta/recipes-graphics/mesa/files/0004-Use-Python-3-to-execute-the-scripts.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 66b512e72e164a0da13c1cfffe988188cc2b4988 Mon Sep 17 00:00:00 2001 | 1 | From ebe6077a1d74e56b28249f71e8760295fa846ed2 Mon Sep 17 00:00:00 2001 |
2 | From: Otavio Salvador <otavio@ossystems.com.br> | 2 | From: Otavio Salvador <otavio@ossystems.com.br> |
3 | Date: Fri, 29 Dec 2017 10:27:59 -0200 | 3 | Date: Fri, 29 Dec 2017 10:27:59 -0200 |
4 | Subject: [PATCH 6/8] Use Python 3 to execute the scripts | 4 | Subject: [PATCH 4/6] Use Python 3 to execute the scripts |
5 | Organization: O.S. Systems Software LTDA. | 5 | Organization: O.S. Systems Software LTDA. |
6 | 6 | ||
7 | The MESA build system uses Python 2 but as OE-Core has moved away from | 7 | The MESA build system uses Python 2 but as OE-Core has moved away from |
@@ -15,7 +15,7 @@ Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | |||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
16 | 16 | ||
17 | diff --git a/configure.ac b/configure.ac | 17 | diff --git a/configure.ac b/configure.ac |
18 | index 59226823ca..711cb8b82c 100644 | 18 | index dd172f1ebe..40cac36ac2 100644 |
19 | --- a/configure.ac | 19 | --- a/configure.ac |
20 | +++ b/configure.ac | 20 | +++ b/configure.ac |
21 | @@ -122,7 +122,7 @@ AM_PROG_CC_C_O | 21 | @@ -122,7 +122,7 @@ AM_PROG_CC_C_O |
diff --git a/meta/recipes-graphics/mesa/files/0007-dri-i965-Add-missing-time.h-include.patch b/meta/recipes-graphics/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch index 5b55b8a1fd..d40e7b5855 100644 --- a/meta/recipes-graphics/mesa/files/0007-dri-i965-Add-missing-time.h-include.patch +++ b/meta/recipes-graphics/mesa/files/0005-dri-i965-Add-missing-time.h-include.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 23305c16e4444f5aa289f126f040ed061de292c0 Mon Sep 17 00:00:00 2001 | 1 | From 9e0368af471af3a36e0eb526453f892598120065 Mon Sep 17 00:00:00 2001 |
2 | From: Otavio Salvador <otavio@ossystems.com.br> | 2 | From: Otavio Salvador <otavio@ossystems.com.br> |
3 | Date: Wed, 6 Jun 2018 09:50:35 -0300 | 3 | Date: Wed, 6 Jun 2018 09:50:35 -0300 |
4 | Subject: [PATCH 7/8] dri: i965: Add missing time.h include | 4 | Subject: [PATCH 5/6] dri: i965: Add missing time.h include |
5 | Organization: O.S. Systems Software LTDA. | 5 | Organization: O.S. Systems Software LTDA. |
6 | 6 | ||
7 | This fixes a build error when using musl: | 7 | This fixes a build error when using musl: |
diff --git a/meta/recipes-graphics/mesa/files/cross-compile-WAYLAND_PROTOCOLS_DATADIR.patch b/meta/recipes-graphics/mesa/files/0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch index b4e3c4995f..0212922c5d 100644 --- a/meta/recipes-graphics/mesa/files/cross-compile-WAYLAND_PROTOCOLS_DATADIR.patch +++ b/meta/recipes-graphics/mesa/files/0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch | |||
@@ -1,19 +1,29 @@ | |||
1 | use PKG_CHECK_VAR for defining WAYLAND_PROTOCOLS_DATADIR | 1 | From 754ccf89a732fc3da6e9bc62ebd6b28686ff3d26 Mon Sep 17 00:00:00 2001 |
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Wed, 29 Aug 2018 22:10:30 -0300 | ||
4 | Subject: [PATCH 6/6] use PKG_CHECK_VAR for defining WAYLAND_PROTOCOLS_DATADIR | ||
5 | Organization: O.S. Systems Software LTDA. | ||
2 | 6 | ||
3 | This allows to override the wayland-protocols pkgdatadir with the | 7 | This allows to override the wayland-protocols pkgdatadir with the |
4 | WAYLAND_PROTOCOLS_DATADIR from environment. | 8 | WAYLAND_PROTOCOLS_DATADIR from environment. |
5 | 9 | ||
6 | pkgconfig would return an absolute path in /usr/share/wayland-protocols | 10 | pkgconfig would return an absolute path in |
11 | /usr/share/wayland-protocols | ||
7 | for the pkgdatadir value, which is not suitable for cross-compiling. | 12 | for the pkgdatadir value, which is not suitable for cross-compiling. |
8 | 13 | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
10 | Upstream-Status: Pending | 15 | Upstream-Status: Pending |
11 | 16 | ||
12 | Index: mesa-18.1.2/configure.ac | 17 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> |
13 | =================================================================== | 18 | --- |
14 | --- mesa-18.1.2.orig/configure.ac | 19 | configure.ac | 2 +- |
15 | +++ mesa-18.1.2/configure.ac | 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
16 | @@ -1808,7 +1808,7 @@ for plat in $platforms; do | 21 | |
22 | diff --git a/configure.ac b/configure.ac | ||
23 | index 40cac36ac2..728bbdcbc4 100644 | ||
24 | --- a/configure.ac | ||
25 | +++ b/configure.ac | ||
26 | @@ -1823,7 +1823,7 @@ for plat in $platforms; do | ||
17 | PKG_CHECK_MODULES([WAYLAND_CLIENT], [wayland-client >= $WAYLAND_REQUIRED]) | 27 | PKG_CHECK_MODULES([WAYLAND_CLIENT], [wayland-client >= $WAYLAND_REQUIRED]) |
18 | PKG_CHECK_MODULES([WAYLAND_SERVER], [wayland-server >= $WAYLAND_REQUIRED]) | 28 | PKG_CHECK_MODULES([WAYLAND_SERVER], [wayland-server >= $WAYLAND_REQUIRED]) |
19 | PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED]) | 29 | PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED]) |
@@ -22,3 +32,6 @@ Index: mesa-18.1.2/configure.ac | |||
22 | 32 | ||
23 | AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:]) | 33 | AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:]) |
24 | 34 | ||
35 | -- | ||
36 | 2.18.0 | ||
37 | |||
diff --git a/meta/recipes-graphics/mesa/files/0008-egl-fix-build-race-in-automake.patch b/meta/recipes-graphics/mesa/files/0008-egl-fix-build-race-in-automake.patch deleted file mode 100644 index f594233206..0000000000 --- a/meta/recipes-graphics/mesa/files/0008-egl-fix-build-race-in-automake.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From b2aae4b8c6661424c1809d3e7b43f266e35385a6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ross Burton <ross.burton@intel.com> | ||
3 | Date: Thu, 28 Jun 2018 23:01:59 +0100 | ||
4 | Subject: [PATCH 8/8] egl: fix build race in automake | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | There is a parallel make build issue in src/egl/drivers/dri2/ | ||
8 | for wayland builds. Can be reproduced with: | ||
9 | |||
10 | $ rm src/egl/drivers/dri2/*.h src/egl/drivers/dri2/platform_wayland.lo | ||
11 | $ make -C src/egl/ drivers/dri2/platform_wayland.lo | ||
12 | ../../../mesa-18.1.2/src/egl/drivers/dri2/platform_wayland.c:50:10: fatal error: linux-dmabuf-unstable-v1-client-protocol.h: No such file or directory | ||
13 | |||
14 | This patch adds the missing dependency. | ||
15 | |||
16 | Fixes: 02cc359372773800de817 "egl/wayland: Use linux-dmabuf interface for buffers" | ||
17 | Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> | ||
18 | |||
19 | Upstream-Status: Backport [18.2.0] | ||
20 | |||
21 | [Eric: fixed up the commit title] | ||
22 | Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> | ||
23 | --- | ||
24 | src/egl/Makefile.am | 1 + | ||
25 | 1 file changed, 1 insertion(+) | ||
26 | |||
27 | diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am | ||
28 | index 086a4a1e63..116ed4ebf5 100644 | ||
29 | --- a/src/egl/Makefile.am | ||
30 | +++ b/src/egl/Makefile.am | ||
31 | @@ -80,6 +80,7 @@ drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h: $(WL_DMABUF_XML) | ||
32 | if HAVE_PLATFORM_WAYLAND | ||
33 | drivers/dri2/linux-dmabuf-unstable-v1-protocol.lo: drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h | ||
34 | drivers/dri2/egl_dri2.lo: drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h | ||
35 | +drivers/dri2/platform_wayland.lo: drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h | ||
36 | |||
37 | AM_CFLAGS += $(WAYLAND_CLIENT_CFLAGS) | ||
38 | libEGL_common_la_LIBADD += $(WAYLAND_CLIENT_LIBS) | ||
39 | -- | ||
40 | 2.18.0 | ||
41 | |||
diff --git a/meta/recipes-graphics/mesa/mesa-gl_18.1.3.bb b/meta/recipes-graphics/mesa/mesa-gl_18.1.7.bb index 73267eb4f0..73267eb4f0 100644 --- a/meta/recipes-graphics/mesa/mesa-gl_18.1.3.bb +++ b/meta/recipes-graphics/mesa/mesa-gl_18.1.7.bb | |||
diff --git a/meta/recipes-graphics/mesa/mesa_18.1.3.bb b/meta/recipes-graphics/mesa/mesa_18.1.3.bb deleted file mode 100644 index 0b49793c9d..0000000000 --- a/meta/recipes-graphics/mesa/mesa_18.1.3.bb +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ | ||
4 | file://0002-Simplify-wayland-scanner-lookup.patch \ | ||
5 | file://0003-winsys-svga-drm-Include-sys-types.h.patch \ | ||
6 | file://0005-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch \ | ||
7 | file://0006-Use-Python-3-to-execute-the-scripts.patch \ | ||
8 | file://0007-dri-i965-Add-missing-time.h-include.patch \ | ||
9 | file://0008-egl-fix-build-race-in-automake.patch \ | ||
10 | file://cross-compile-WAYLAND_PROTOCOLS_DATADIR.patch \ | ||
11 | " | ||
12 | |||
13 | SRC_URI[md5sum] = "b34273403a605f6f98ead00f0bdf8e0b" | ||
14 | SRC_URI[sha256sum] = "54f08deeda0cd2f818e8d40140040ed013de7852573002453b7f50da9ea738ce" | ||
15 | |||
16 | #because we cannot rely on the fact that all apps will use pkgconfig, | ||
17 | #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER | ||
18 | do_install_append() { | ||
19 | if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then | ||
20 | sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)$/#if defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h | ||
21 | fi | ||
22 | } | ||
diff --git a/meta/recipes-graphics/mesa/mesa_18.1.7.bb b/meta/recipes-graphics/mesa/mesa_18.1.7.bb new file mode 100644 index 0000000000..ca6e6685b5 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa_18.1.7.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | require ${BPN}.inc | ||
2 | |||
3 | SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ | ||
4 | file://0001-Simplify-wayland-scanner-lookup.patch \ | ||
5 | file://0002-winsys-svga-drm-Include-sys-types.h.patch \ | ||
6 | file://0003-Properly-get-LLVM-version-when-using-LLVM-Git-releas.patch \ | ||
7 | file://0004-Use-Python-3-to-execute-the-scripts.patch \ | ||
8 | file://0005-dri-i965-Add-missing-time.h-include.patch \ | ||
9 | file://0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[md5sum] = "17d8a7e7ecbe146a7dc439e8b6eb02e9" | ||
13 | SRC_URI[sha256sum] = "655e3b32ce3bdddd5e6e8768596e5d4bdef82d0dd37067c324cc4b2daa207306" | ||
14 | |||
15 | #because we cannot rely on the fact that all apps will use pkgconfig, | ||
16 | #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER | ||
17 | do_install_append() { | ||
18 | if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then | ||
19 | sed -i -e 's/^#if defined(MESA_EGL_NO_X11_HEADERS)$/#if defined(MESA_EGL_NO_X11_HEADERS) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h | ||
20 | fi | ||
21 | } | ||