SHA256
1
0
forked from pool/Mesa

Accepting request 797123 from X11:XOrg

- update to Mesa 20.0.5
  *  pretty big release with AMD and Intel drivers receiving the 
     majority of the work.
- supersedes U_EGL-Add-eglSetDamageRegionKHR-to-GLVND-dispatch-list.patch
- supersedes n_opencl_dep_libclang.patch

- Disable LTO on armv6 to fix build

OBS-URL: https://build.opensuse.org/request/show/797123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=377
This commit is contained in:
Dominique Leuenberger 2020-04-27 21:28:54 +00:00 committed by Git OBS Bridge
commit f71cb4f0cd
10 changed files with 43 additions and 106 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Apr 24 09:21:28 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- update to Mesa 20.0.5
* pretty big release with AMD and Intel drivers receiving the
majority of the work.
- supersedes U_EGL-Add-eglSetDamageRegionKHR-to-GLVND-dispatch-list.patch
- supersedes n_opencl_dep_libclang.patch
-------------------------------------------------------------------
Thu Apr 23 14:23:59 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Disable LTO on armv6 to fix build
-------------------------------------------------------------------
Sun Apr 5 12:27:35 UTC 2020 - Torsten Duwe <duwe@suse.com>

View File

@ -32,6 +32,10 @@
# Note that if you actually need to render something, you need the packages
# from Mesa-driver.
%ifarch armv6l armv6hl
%define _lto_cflags %{nil}
%endif
##### WARNING: please do not edit this auto generated spec file. Use the Mesa.spec! #####
%define drivers 1
%define libglvnd 0
@ -42,7 +46,7 @@
%define glamor 1
%define _name_archive mesa
%define _version 20.0.4
%define _version 20.0.5
%define with_opencl 0
%define with_vulkan 0
%define with_llvm 0
@ -110,7 +114,7 @@
%endif
Name: Mesa-drivers
Version: 20.0.4
Version: 20.0.5
Release: 0
Summary: System for rendering 3-D graphics
License: MIT
@ -124,9 +128,7 @@ Source3: README.updates
Source4: manual-pages.tar.bz2
Source6: %{name}-rpmlintrc
Source7: Mesa.keyring
Patch1: n_opencl_dep_libclang.patch
Patch2: n_add-Mesa-headers-again.patch
Patch3: U_EGL-Add-eglSetDamageRegionKHR-to-GLVND-dispatch-list.patch
# never to be upstreamed
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
Patch58: u_dep_xcb.patch
@ -733,19 +735,7 @@ programs against the XA state tracker.
# remove some docs
rm -rf docs/README.{VMS,WIN32,OS2}
%if 0%{with_llvm}
%if 0%{?suse_version} >= 1550
%if %{pkg_vcmp llvm-devel >= 9.0}
%patch1 -p1
%endif
%else
%if %{pkg_vcmp llvm9-devel >= 9.0}
%patch1 -p1
%endif
%endif
%endif
%patch2 -p1
%patch3 -p1
%patch54 -p1
%patch58 -p1

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Apr 24 09:21:28 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- update to Mesa 20.0.5
* pretty big release with AMD and Intel drivers receiving the
majority of the work.
- supersedes U_EGL-Add-eglSetDamageRegionKHR-to-GLVND-dispatch-list.patch
- supersedes n_opencl_dep_libclang.patch
-------------------------------------------------------------------
Thu Apr 23 14:23:59 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Disable LTO on armv6 to fix build
-------------------------------------------------------------------
Sun Apr 5 12:27:35 UTC 2020 - Torsten Duwe <duwe@suse.com>

View File

@ -32,6 +32,10 @@
# Note that if you actually need to render something, you need the packages
# from Mesa-driver.
%ifarch armv6l armv6hl
%define _lto_cflags %{nil}
%endif
%define drivers 0
%define libglvnd 0
@ -41,7 +45,7 @@
%define glamor 1
%define _name_archive mesa
%define _version 20.0.4
%define _version 20.0.5
%define with_opencl 0
%define with_vulkan 0
%define with_llvm 0
@ -109,7 +113,7 @@
%endif
Name: Mesa
Version: 20.0.4
Version: 20.0.5
Release: 0
Summary: System for rendering 3-D graphics
License: MIT
@ -123,9 +127,7 @@ Source3: README.updates
Source4: manual-pages.tar.bz2
Source6: %{name}-rpmlintrc
Source7: Mesa.keyring
Patch1: n_opencl_dep_libclang.patch
Patch2: n_add-Mesa-headers-again.patch
Patch3: U_EGL-Add-eglSetDamageRegionKHR-to-GLVND-dispatch-list.patch
# never to be upstreamed
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
Patch58: u_dep_xcb.patch
@ -732,19 +734,7 @@ programs against the XA state tracker.
# remove some docs
rm -rf docs/README.{VMS,WIN32,OS2}
%if 0%{with_llvm}
%if 0%{?suse_version} >= 1550
%if %{pkg_vcmp llvm-devel >= 9.0}
%patch1 -p1
%endif
%else
%if %{pkg_vcmp llvm9-devel >= 9.0}
%patch1 -p1
%endif
%endif
%endif
%patch2 -p1
%patch3 -p1
%patch54 -p1
%patch58 -p1

View File

@ -1,30 +0,0 @@
From: Daniel Stone <daniels@collabora.com>
Git-commit: bfb9c08e5c5474688611c339135b8feeedc9bdd3
EGL: Add eglSetDamageRegionKHR to GLVND dispatch list
This was missed in the original conversion, which added support for
eglSetDamageRegionKHR to local EGL exports, but forgot to generate
updated dispatch for GLVND.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Fixes: 9827547313c7 ("egl/android: support for EGL_KHR_partial_update")
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4403>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4403>
Acked-By: Torsten Duwe <duwe@suse.de>
diff --git a/src/egl/generate/eglFunctionList.py b/src/egl/generate/eglFunctionList.py
index 192280f58f0..171e3ddc821 100644
--- a/src/egl/generate/eglFunctionList.py
+++ b/src/egl/generate/eglFunctionList.py
@@ -213,5 +213,8 @@ EGL_FUNCTIONS = (
_eglFunc("eglGetDisplayDriverName", "display"),
_eglFunc("eglGetDisplayDriverConfig", "display"),
+ # EGL_KHR_partial_update
+ _eglFunc("eglSetDamageRegionKHR", "display"),
+
)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4ed491517a94118a7a611810eeb92645d42ffd82280dcd51be8cc2ba1aabba5
size 12292888

Binary file not shown.

3
mesa-20.0.5.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c56a82a28cc924e40ea49752abdf1d701c9952481f53cbc7a080271597f572e
size 12257484

BIN
mesa-20.0.5.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,41 +0,0 @@
From d63e1627c0ead6165f382765ea3b9a4eba6aa8d7 Mon Sep 17 00:00:00 2001
From: Aaron Puchert <aaronpuchert@alice-dsl.net>
Date: Wed, 25 Sep 2019 18:34:34 +0000
Subject: [PATCH] Link with clang-cpp instead of Clang component libraries
Since LLVM 9, the Clang C++ API is exposed via the new clang-cpp target,
and the component libraries need no longer be packaged [1].
[1] https://releases.llvm.org/9.0.0/tools/clang/docs/ReleaseNotes.html#build-system-changes
---
src/gallium/targets/opencl/meson.build | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/src/gallium/targets/opencl/meson.build b/src/gallium/targets/opencl/meson.build
index 907cc74337d..031d35b9716 100644
--- a/src/gallium/targets/opencl/meson.build
+++ b/src/gallium/targets/opencl/meson.build
@@ -43,19 +43,7 @@ libopencl = shared_library(
dependencies : [
idep_mesautil,
dep_clock, dep_dl, dep_unwind, dep_elf,
- cpp.find_library('clangCodeGen', dirs : llvm_libdir),
- cpp.find_library('clangFrontendTool', dirs : llvm_libdir),
- cpp.find_library('clangFrontend', dirs : llvm_libdir),
- cpp.find_library('clangDriver', dirs : llvm_libdir),
- cpp.find_library('clangSerialization', dirs : llvm_libdir),
- cpp.find_library('clangParse', dirs : llvm_libdir),
- cpp.find_library('clangSema', dirs : llvm_libdir),
- cpp.find_library('clangAnalysis', dirs : llvm_libdir),
- cpp.find_library('clangAST', dirs : llvm_libdir),
- cpp.find_library('clangASTMatchers', dirs : llvm_libdir),
- cpp.find_library('clangEdit', dirs : llvm_libdir),
- cpp.find_library('clangLex', dirs : llvm_libdir),
- cpp.find_library('clangBasic', dirs : llvm_libdir),
+ cpp.find_library('clang-cpp', dirs : llvm_libdir),
],
version : '@0@.0.0'.format(opencl_version),
install : true,
--
2.23.0