Hello community,

here is the log from the commit of package Mesa for openSUSE:Factory checked in 
at 2019-10-24 23:00:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/Mesa (Old)
 and      /work/SRC/openSUSE:Factory/.Mesa.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "Mesa"

Thu Oct 24 23:00:32 2019 rev:357 rq:740902 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/Mesa/Mesa-drivers.changes        2019-09-20 
14:49:08.146931109 +0200
+++ /work/SRC/openSUSE:Factory/.Mesa.new.2990/Mesa-drivers.changes      
2019-10-24 23:00:35.679924442 +0200
@@ -1,0 +2,68 @@
+Mon Oct 14 10:23:51 UTC 2019 - Stefan Dirsch <[email protected]>
+
+- let Mesa-libEGL-devel require libX11 devel via "pkgconfig(x11)"
+  since EGL/eglplatform.h includes X11/Xlib.h
+
+-------------------------------------------------------------------
+Wed Oct  9 22:16:18 UTC 2019 - Stefan Dirsch <[email protected]>
+
+- Update to version 19.2.1
+  * fixes all over the tree: intel, amd, nine, nir, egl, gallium,
+    scons, meson, glsl, haiku, android, and nouveau all got fixes.
+
+-------------------------------------------------------------------
+Mon Oct  7 21:50:32 UTC 2019 - Stefan Dirsch <[email protected]>
+
+- pickup gl, egl, glesv1_cm and glesv2 pkgconfig files from 
+  libglvnd build and add them to the appropriate devel subpackages
+
+-------------------------------------------------------------------
+Mon Oct  7 16:20:49 UTC 2019 - Stefan Dirsch <[email protected]>
+
+- reintroduce GL, EGL, GLES* devel subpackages since corresponding
+  header and pkgconfig files from libglvnd didn't work out ... 
+
+-------------------------------------------------------------------
+Mon Sep 30 11:42:12 UTC 2019 - Aaron Puchert <[email protected]>
+
+- Rebase n_opencl_dep_libclang.patch after update.
+
+-------------------------------------------------------------------
+Mon Sep 30 09:02:03 UTC 2019 - Stefan Dirsch <[email protected]>
+
+- Update to version 19.2.0 including changes to
+  * release-infastructure
+  * the build
+  * drivers: turnip, radv, android, intel and amd common code
+  * new features: check Phoronix
+    https://www.phoronix.com/scan.php?page=news_item&px=Mesa-19.2-Released
+- supersedes U_llvmpipe-Don-t-use-u_ringbuffer-for-lp_scene_queue.patch
+- adjusted n_drirc-disable-rgb10-for-chromium-on-amd.patch
+- supersedes n_glesv1_cm-glesv2.patch
+
+-------------------------------------------------------------------
+Sat Sep 28 13:42:30 UTC 2019 - Stefan Dirsch <[email protected]>
+
+- no longer build 
+  * Mesa-libGL-devel
+  * Mesa-libEGL-devel
+  * Mesa-libGLESv1_CM-devel
+  * Mesa-libGLESv2-devel
+  * Mesa-libGLESv3-devel
+  Instead of requiring these let Mesa-devel package require 
+  libglvnd-devel >= 1.2.0, which provides the contents of these
+  packages now (header files for OpenGL, GLES, EGL, and GLX). 
+  Adjusted baselibs.conf accordingly.
+- modified check for llvm version in a way so it works also with
+  older llvm packages (by making use of "llvm-config -version"), 
+  where there is %{_llvm_sonum} macro defined yet
+- moved manual pages to Mesa-devel package
+
+-------------------------------------------------------------------
+Wed Sep 25 18:34:34 UTC 2019 - Aaron Puchert <[email protected]>
+
+- n_opencl_dep_libclang.patch
+  * Link OpenCL library with libclang-cpp.so instead of the
+    component libraries for LLVM >= 9.
+
+-------------------------------------------------------------------
Mesa.changes: same change

Old:
----
  U_llvmpipe-Don-t-use-u_ringbuffer-for-lp_scene_queue.patch
  mesa-19.1.7.tar.xz
  mesa-19.1.7.tar.xz.sig
  n_glesv1_cm-glesv2.patch

New:
----
  mesa-19.2.1.tar.xz
  mesa-19.2.1.tar.xz.sig
  n_opencl_dep_libclang.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ Mesa-drivers.spec ++++++
--- /var/tmp/diff_new_pack.kaPFrp/_old  2019-10-24 23:00:56.779948690 +0200
+++ /var/tmp/diff_new_pack.kaPFrp/_new  2019-10-24 23:00:56.883948810 +0200
@@ -42,7 +42,7 @@
 
 %define glamor 1
 %define _name_archive mesa
-%define _version 19.1.7
+%define _version 19.2.1
 %define with_opencl 0
 %define with_vulkan 0
 %define with_llvm 0
@@ -110,7 +110,7 @@
 %endif
 
 Name:           Mesa-drivers
-Version:        19.1.7
+Version:        19.2.1
 Release:        0
 Summary:        System for rendering 3-D graphics
 License:        MIT
@@ -124,11 +124,10 @@
 Source4:        manual-pages.tar.bz2
 Source6:        %{name}-rpmlintrc
 Source7:        Mesa.keyring
-Patch0:         U_llvmpipe-Don-t-use-u_ringbuffer-for-lp_scene_queue.patch
+Patch1:         n_opencl_dep_libclang.patch
 # never to be upstreamed
 Patch54:        n_drirc-disable-rgb10-for-chromium-on-amd.patch
 Patch58:        u_dep_xcb.patch
-Patch60:        n_glesv1_cm-glesv2.patch
 
 BuildRequires:  bison
 BuildRequires:  fdupes
@@ -261,6 +260,7 @@
 Requires:       libgbm-devel
 Provides:       Mesa-devel-static = %{version}
 Provides:       xorg-x11-Mesa-devel = %{version}
+Requires:       libglvnd-devel >= 1.2.0
 Obsoletes:      Mesa-devel-static < %{version}
 Obsoletes:      xorg-x11-Mesa-devel < %{version}
 Provides:       Mesa-libIndirectGL-devel = %{version}
@@ -309,6 +309,7 @@
 Group:          Development/Libraries/C and C++
 Requires:       Mesa-KHR-devel = %{version}
 Requires:       Mesa-libEGL1 = %{version}
+Requires:       pkgconfig(x11)
 %if 0%{?libglvnd}
 Requires:       libglvnd-devel >= 0.1.0
 %endif
@@ -726,10 +727,13 @@
 # remove some docs
 rm -rf docs/README.{VMS,WIN32,OS2}
 
-%patch0 -p1
+%if 0%{with_llvm}
+if test $(llvm-config --version | cut -d "." -f1) -ge 9; then 
+%patch1 -p1
+fi
+%endif
 %patch54 -p1
 %patch58 -p1
-%patch60 -p1
 
 # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
 # disabling libglvnd build; ugly ...
@@ -890,6 +894,11 @@
 ln -s %{_libdir}/libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0
 %endif
 
+# pickup pkgconfig files from libglvnd build
+rm -f %{buildroot}/%{_libdir}/pkgconfig/{gl,egl,glesv1_cm,glesv2}.pc
+install -m 0644 
/usr/share/doc/packages/libglvnd/pkgconfig/{gl,egl,glesv1_cm,glesv2}.pc \
+   %{buildroot}/%{_libdir}/pkgconfig/
+
 for dir in ../xc/doc/man/{GL/gl,GL/glx}; do
  pushd $dir
    xmkmf -a
@@ -1135,6 +1144,9 @@
 
 %files devel
 %doc docs/*.html
+%if 0%{?libglvnd} >= 120
+/usr/share/man/man3/*
+%endif
 
 # !drivers
 %endif

++++++ Mesa.spec ++++++
--- /var/tmp/diff_new_pack.kaPFrp/_old  2019-10-24 23:00:57.123949085 +0200
+++ /var/tmp/diff_new_pack.kaPFrp/_new  2019-10-24 23:00:57.131949095 +0200
@@ -41,7 +41,7 @@
 
 %define glamor 1
 %define _name_archive mesa
-%define _version 19.1.7
+%define _version 19.2.1
 %define with_opencl 0
 %define with_vulkan 0
 %define with_llvm 0
@@ -109,7 +109,7 @@
 %endif
 
 Name:           Mesa
-Version:        19.1.7
+Version:        19.2.1
 Release:        0
 Summary:        System for rendering 3-D graphics
 License:        MIT
@@ -123,11 +123,10 @@
 Source4:        manual-pages.tar.bz2
 Source6:        %{name}-rpmlintrc
 Source7:        Mesa.keyring
-Patch0:         U_llvmpipe-Don-t-use-u_ringbuffer-for-lp_scene_queue.patch
+Patch1:         n_opencl_dep_libclang.patch
 # never to be upstreamed
 Patch54:        n_drirc-disable-rgb10-for-chromium-on-amd.patch
 Patch58:        u_dep_xcb.patch
-Patch60:        n_glesv1_cm-glesv2.patch
 
 BuildRequires:  bison
 BuildRequires:  fdupes
@@ -260,6 +259,7 @@
 Requires:       libgbm-devel
 Provides:       Mesa-devel-static = %{version}
 Provides:       xorg-x11-Mesa-devel = %{version}
+Requires:       libglvnd-devel >= 1.2.0
 Obsoletes:      Mesa-devel-static < %{version}
 Obsoletes:      xorg-x11-Mesa-devel < %{version}
 Provides:       Mesa-libIndirectGL-devel = %{version}
@@ -308,6 +308,7 @@
 Group:          Development/Libraries/C and C++
 Requires:       Mesa-KHR-devel = %{version}
 Requires:       Mesa-libEGL1 = %{version}
+Requires:       pkgconfig(x11)
 %if 0%{?libglvnd}
 Requires:       libglvnd-devel >= 0.1.0
 %endif
@@ -725,10 +726,13 @@
 # remove some docs
 rm -rf docs/README.{VMS,WIN32,OS2}
 
-%patch0 -p1
+%if 0%{with_llvm}
+if test $(llvm-config --version | cut -d "." -f1) -ge 9; then 
+%patch1 -p1
+fi
+%endif
 %patch54 -p1
 %patch58 -p1
-%patch60 -p1
 
 # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
 # disabling libglvnd build; ugly ...
@@ -889,6 +893,11 @@
 ln -s %{_libdir}/libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0
 %endif
 
+# pickup pkgconfig files from libglvnd build
+rm -f %{buildroot}/%{_libdir}/pkgconfig/{gl,egl,glesv1_cm,glesv2}.pc
+install -m 0644 
/usr/share/doc/packages/libglvnd/pkgconfig/{gl,egl,glesv1_cm,glesv2}.pc \
+   %{buildroot}/%{_libdir}/pkgconfig/
+
 for dir in ../xc/doc/man/{GL/gl,GL/glx}; do
  pushd $dir
    xmkmf -a
@@ -1134,6 +1143,9 @@
 
 %files devel
 %doc docs/*.html
+%if 0%{?libglvnd} >= 120
+/usr/share/man/man3/*
+%endif
 
 # !drivers
 %endif


++++++ mesa-19.1.7.tar.xz -> mesa-19.2.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/Mesa/mesa-19.1.7.tar.xz 
/work/SRC/openSUSE:Factory/.Mesa.new.2990/mesa-19.2.1.tar.xz differ: char 25, 
line 1

++++++ n_drirc-disable-rgb10-for-chromium-on-amd.patch ++++++
--- /var/tmp/diff_new_pack.kaPFrp/_old  2019-10-24 23:00:58.207950331 +0200
+++ /var/tmp/diff_new_pack.kaPFrp/_new  2019-10-24 23:00:58.207950331 +0200
@@ -1,10 +1,10 @@
-Index: mesa-19.1.2/src/util/00-mesa-defaults.conf
+Index: mesa-19.2.0/src/util/00-mesa-defaults.conf
 ===================================================================
---- mesa-19.1.2.orig/src/util/00-mesa-defaults.conf
-+++ mesa-19.1.2/src/util/00-mesa-defaults.conf
-@@ -451,6 +451,17 @@ TODO: document the other workarounds.
-         <application name="Rayman Legends" executable="Rayman Legends.exe">
-             <option name="dynamic_texture_workaround" value="true" />
+--- mesa-19.2.0.orig/src/util/00-mesa-defaults.conf
++++ mesa-19.2.0/src/util/00-mesa-defaults.conf
+@@ -490,6 +490,17 @@ TODO: document the other workarounds.
+             <option name="glx_disable_ext_buffer_age" value="true" />
+             <option name="glx_disable_oml_sync_control" value="true" />
          </application>
 +
 +        <!-- This is workaround to prevent distorted colors on hardware 
accelerated video in Chromium. 
https://bugzilla.opensuse.org/show_bug.cgi?id=1113211 -->
@@ -18,5 +18,5 @@
 +        </application>
 +
      </device>
-     <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical 
retraces.-->
-     <device driver="vmwgfx">
+     <device driver="radeonsi">
+         <application name="ARK: Survival Evolved (and unintentionally the UE4 
demo template)" executable="ShooterGame">

++++++ n_opencl_dep_libclang.patch ++++++
>From d63e1627c0ead6165f382765ea3b9a4eba6aa8d7 Mon Sep 17 00:00:00 2001
From: Aaron Puchert <[email protected]>
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 : '@[email protected]'.format(opencl_version),
   install : true,
-- 
2.23.0

++++++ u_dep_xcb.patch ++++++
--- /var/tmp/diff_new_pack.kaPFrp/_old  2019-10-24 23:00:58.223950349 +0200
+++ /var/tmp/diff_new_pack.kaPFrp/_new  2019-10-24 23:00:58.227950354 +0200
@@ -1,9 +1,9 @@
-Index: mesa-19.1.0/meson.build
+Index: mesa-19.2.1/meson.build
 ===================================================================
---- mesa-19.1.0.orig/meson.build       2019-06-11 17:12:50.000000000 +0200
-+++ mesa-19.1.0/meson.build    2019-06-11 22:28:12.967838857 +0200
-@@ -1414,10 +1414,12 @@ if with_platform_x11
-     dep_x11_xcb = dependency('x11-xcb')
+--- mesa-19.2.1.orig/meson.build
++++ mesa-19.2.1/meson.build
+@@ -1422,10 +1422,12 @@ if with_platform_x11
+     endif
    endif
    if with_any_vk or with_egl or (with_glx == 'dri' and with_dri_platform == 
'drm')
 +    dep_x11_xcb = dependency('x11-xcb')
@@ -15,10 +15,10 @@
        dep_xcb_dri3 = dependency('xcb-dri3')
        dep_xcb_present = dependency('xcb-present')
        # until xcb-dri3 has been around long enough to make a hard-dependency:
-Index: mesa-19.1.0/src/loader/meson.build
+Index: mesa-19.2.1/src/loader/meson.build
 ===================================================================
---- mesa-19.1.0.orig/src/loader/meson.build    2019-06-11 17:12:51.000000000 
+0200
-+++ mesa-19.1.0/src/loader/meson.build 2019-06-11 22:28:12.967838857 +0200
+--- mesa-19.2.1.orig/src/loader/meson.build
++++ mesa-19.2.1/src/loader/meson.build
 @@ -28,6 +28,7 @@ if with_platform_x11 and with_dri3
      include_directories : [inc_include, inc_src],
      dependencies : [


Reply via email to