Hello community,

here is the log from the commit of package Mesa for openSUSE:Factory checked in 
at 2018-12-14 20:50:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/Mesa (Old)
 and      /work/SRC/openSUSE:Factory/.Mesa.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "Mesa"

Fri Dec 14 20:50:10 2018 rev:337 rq:657600 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/Mesa/Mesa-drivers.changes        2018-09-19 
14:34:17.495266025 +0200
+++ /work/SRC/openSUSE:Factory/.Mesa.new.28833/Mesa-drivers.changes     
2018-12-14 20:54:18.352956006 +0100
@@ -1,0 +2,294 @@
+Wed Dec 12 15:29:53 UTC 2018 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Only BuildRequire pkgconfig(vdpau) and pass --enable-vdpau to
+  configure when building the drivers. Helps us break a build
+  cycle.
+
+-------------------------------------------------------------------
+Wed Dec 12 11:00:56 UTC 2018 - sndir...@suse.com
+
+- Update to 18.3.1 
+  * This version disables the VK_EXT_pci_bus_info extension due to
+    last minute issues spotted in the specification.
+
+-------------------------------------------------------------------
+Tue Dec 11 10:45:49 UTC 2018 - sndir...@suse.com
+
+- n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch
+  * Xshm results in render errors and missing screen refreshes on GNOME3
+    in a qemu VM (cirrus emulation) [bsc#1118149]
+
+-------------------------------------------------------------------
+Mon Dec 10 15:38:24 UTC 2018 - Ismail Dönmez <idon...@suse.com>
+
+- Fix baselibs.conf entry for Mesa-KHR-devel (missing "-") 
+
+-------------------------------------------------------------------
+Fri Dec  7 13:57:32 UTC 2018 - sndir...@suse.com
+
+- Update to 18.3.0 final release
+  * The top highlights include:
+    + GL_AMD_depth_clamp_separate on r600, radeonsi.
+    + GL_AMD_framebuffer_multisample_advanced on radeonsi.
+    + GL_AMD_gpu_shader_int64 on i965, nvc0, radeonsi.
+    + GL_AMD_multi_draw_indirect on all GL 4.x drivers.
+    + GL_AMD_query_buffer_object on i965, nvc0, r600, radeonsi.
+    + GL_EXT_disjoint_timer_query on radeonsi and most other Gallium drivers
+      (ES extension)
+    + GL_EXT_texture_compression_s3tc on all drivers (ES extension)
+    + GL_EXT_vertex_attrib_64bit on i965, nvc0, radeonsi.
+    + GL_EXT_window_rectangles on radeonsi.
+    + GL_KHR_texture_compression_astc_sliced_3d on radeonsi.
+    + GL_NV_fragment_shader_interlock on i965.
+    + EGL_EXT_device_base for all drivers.
+    + EGL_EXT_device_drm for all drivers.
+    + EGL_MESA_device_software for all drivers.
+  * Additional features:
+    ANV
+    + VK_EXT_calibrated_timestamps
+    + VK_EXT_pci_bus_info
+    + VK_EXT_sampler_filter_minmax
+    + VK_EXT_vertex_attribute_divisor v3
+    + VK_GOOGLE_decorate_string
+    + VK_GOOGLE_hlsl_functionality1
+    + VK_KHR_driver_properties
+    RADV
+    + VK_EXT_calibrated_timestamps
+    + VK_EXT_conservative_rasterization
+    + VK_EXT_pci_bus_info
+    + VK_EXT_transform_feedback
+    + VK_EXT_vertex_attribute_divisor v3
+    + VK_GOOGLE_decorate_string
+    + VK_GOOGLE_hlsl_functionality1
+    + VK_KHR_driver_properties
+- supersedes u_constify-struct-drisw_loader_funcs.patch,
+  u_drisw-use-separate-drisw_loader_funcs-for-shm.patch
+
+-------------------------------------------------------------------
+Tue Dec  4 11:20:05 UTC 2018 - bjorn....@gmail.com
+
+- Add u_wayland_egl-Ensure-EGL-surface.patch: wayland/egl: Ensure
+  EGL surface is resized on DRI update_buffers(). Patch is sent
+  upstream already.
+
+-------------------------------------------------------------------
+Thu Nov 29 13:12:15 UTC 2018 - sndir...@suse.com
+
+- Update to 18.3.0-rc5
+  * fifth release candidate for Mesa 18.3.0
+
+-------------------------------------------------------------------
+Tue Nov 27 10:50:17 UTC 2018 - sndir...@suse.com
+
+- added libGL-Mesa-devel split-off provides to Mesa-KHR-devel
+  package, since /usr/include/KHR/khrplatform.h moved between
+  these two packages (related to bsc#1117365)
+
+-------------------------------------------------------------------
+Tue Nov 27 08:42:43 UTC 2018 - m...@suse.com
+
+- Place khrplatform.h into new package Mesa-KHR-devel. It is now
+  required by all devel packages that need it. (bsc#1117365)
+
+-------------------------------------------------------------------
+Mon Nov 26 15:06:58 UTC 2018 - m...@suse.com
+
+- Remove n_drisw-Do-not-use-drisw_put_image_shm.patch,
+  add u_constify-struct-drisw_loader_funcs.patch
+  and u_drisw-use-separate-drisw_loader_funcs-for-shm.patch.
+  * Replace workaround with proper fix for crash in VLC and
+    possibly other applications. (boo#1113533)
+
+-------------------------------------------------------------------
+Fri Nov 23 17:21:06 UTC 2018 - Tobias Klausmann 
<tobias.johannes.klausm...@mni.thm.de>
+
+- Use rpm variables for the drirc.d path
+
+-------------------------------------------------------------------
+Thu Nov 22 14:12:45 UTC 2018 - sndir...@suse.com
+
+- Update to 18.3.0-rc4
+  * fourth release candidate for Mesa 18.3.0
+
+-------------------------------------------------------------------
+Sat Nov 17 21:06:24 UTC 2018 - sndir...@suse.com
+
+- Update to 18.3.0-rc3
+  * third release candidate for Mesa 18.3.0 
+
+-------------------------------------------------------------------
+Thu Nov 15 16:50:48 UTC 2018 - sndir...@suse.com
+
+- moved /usr/include/KHR from libEGL-devel to libGL-devel since it's
+  now being referenced by glext.h
+
+-------------------------------------------------------------------
+Thu Nov 15 15:19:27 UTC 2018 - sndir...@suse.com
+
+- Update to 18.3.0-rc2
+  * second release candidate for Mesa 18.3.0
+- supersedes the following patches:
+  * U_intel-aubinator-mark-ftruncate_res-as-MAYBE_UNUSED-i.patch
+  * U_intel-decoder-mark-total_length-as-MAYBE_UNUSED-in-g.patch
+  * U_python-Fix-rich-comparisons.patch
+  * U_python-Use-key-functions-when-sorting-containers.patch
+  * mako_4_radv.patch
+- adjusted n_drirc-disable-rgb10-for-chromium-on-amd.patch
+- /etc/drirc moved to /usr/share/drirc.d/00-mesa-defaults.conf
+
+-------------------------------------------------------------------
+Tue Nov 13 08:50:56 UTC 2018 - m...@suse.com
+
+- n_drisw-Do-not-use-drisw_put_image_shm.patch
+  * Workaround for applications that create GL context twice with
+    different loaders. (boo#1113533)
+
+-------------------------------------------------------------------
+Thu Nov  1 13:15:49 UTC 2018 - sndir...@suse.com
+
+- Update to 18.2.4
+  * Different fixes for different drivers: freedreno, radeonsi,
+    swr, anv and radv. Also there are fixes for ac, gallium, 
+    spirv and blorp.
+
+-------------------------------------------------------------------
+Thu Oct 25 14:29:20 UTC 2018 - m...@suse.com
+
+- n_drirc-disable-rgb10-for-chromium-on-amd.patch
+  * Disallow rgb10 configs for chromium with radeonsi to prevent
+    broken colors in video. (boo#1113211)
+
+-------------------------------------------------------------------
+Mon Oct 22 13:24:59 UTC 2018 - sndir...@suse.com
+
+- Update to 18.2.3
+  * Different patches for the DirectX9 and DRI state trackers.
+  * Several fixes and workarounds for different games, inlcuding 
+    RAGE, Yakuza and The Evil Within, Wolfenstein The Old Blood
+    ARMA 3, or No Mans Sky.
+  * A bunch of fixes for different drivers, including r600,
+    nouveau, radeonsi, anv, radv, virgl, i965, nvc0 or nv50.
+    Worth to mention a fix for GPU hangs in Radeonsi.
+  * State Trackers also get different fixes and corrections.
+  * Finally, fixes for GLSL and NIR are also in this queue.
+
+-------------------------------------------------------------------
+Fri Oct  5 19:04:01 UTC 2018 - bjorn....@gmail.com
+
+- Update to 18.2.2
+  * Different patches for the DirectX9 and DRI state trackers.
+  * A patch to implement vkAcquireNextImage2 in the Intel and AMD
+    vulkan drivers, as well as a patch for adding support for
+    protected memory properties in GetPhysicalDeviceProperties2()
+    for the former driver.
+  * RADV also gets a patch to fix some issues with reflections in
+    GTA V, and a patch to fix a GPU hang in SteamVR with Vega.
+  * Finally, there are more fixes for Radeonsi, nvc0, vc4, and
+    vulkan code.
+- Drop usage of sha1sum, use sig and keyring verification instead.
+  Following this, add key from Juan A. Suarez to keyring.
+- Drop u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch
+  Fixed upstream.
+
+-------------------------------------------------------------------
+Fri Sep 21 20:38:47 UTC 2018 - Ondřej Súkup <mimi...@gmail.com>
+
+- update to 18.2.1
+  * Lot of fixes for Vulkan drivers.
++++ 97 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/Mesa/Mesa-drivers.changes
++++ and /work/SRC/openSUSE:Factory/.Mesa.new.28833/Mesa-drivers.changes
Mesa.changes: same change

Old:
----
  mako_4_radv.patch
  mesa-18.1.7.tar.xz
  mesa-18.1.7.tar.xz.sha1sum
  u_intel_anv-make-scripts-python-2-3-compat.patch
  u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch
  u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch

New:
----
  mesa-18.3.1.tar.xz
  mesa-18.3.1.tar.xz.sig
  n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch
  n_drirc-disable-rgb10-for-chromium-on-amd.patch
  u_wayland_egl-Ensure-EGL-surface.patch

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

Other differences:
------------------
++++++ Mesa-drivers.spec ++++++
--- /var/tmp/diff_new_pack.j4EKdp/_old  2018-12-14 20:54:29.624942018 +0100
+++ /var/tmp/diff_new_pack.j4EKdp/_new  2018-12-14 20:54:29.628942014 +0100
@@ -42,7 +42,7 @@
 
 %define glamor 1
 %define _name_archive mesa
-%define _version 18.1.7
+%define _version 18.3.1
 %define with_opencl 0
 %define with_vulkan 0
 %define with_llvm 0
@@ -112,7 +112,7 @@
 %endif
 
 Name:           Mesa-drivers
-Version:        18.1.7
+Version:        18.3.1
 Release:        0
 Summary:        System for rendering 3-D graphics
 License:        MIT
@@ -123,8 +123,8 @@
 # Source:         
ftp://ftp.freedesktop.org/pub/mesa/%%{version}/%%{_name_archive}-%%{_version}.tar.xz
 Source:         
ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz
 # Source1:        
ftp://ftp.freedesktop.org/pub/mesa/%%{version}/%%{_name_archive}-%%{_version}.tar.xz.sig
-# Source1:        
ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz.sig
-Source1:        %{_name_archive}-%{_version}.tar.xz.sha1sum
+Source1:        
ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz.sig
+# Source1:        %%{_name_archive}-%%{_version}.tar.xz.sha1sum
 Source2:        baselibs.conf
 Source3:        README.updates
 Source4:        manual-pages.tar.bz2
@@ -134,11 +134,11 @@
 Patch18:        n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch
 # currently needed for libglvnd support
 Patch31:        archlinux_0001-Fix-linkage-against-shared-glapi.patch
-# Upstream
-Patch43:        u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch
-Patch44:        u_intel_anv-make-scripts-python-2-3-compat.patch
-Patch47:        u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch
-Patch48:        mako_4_radv.patch
+
+Patch54:        n_drirc-disable-rgb10-for-chromium-on-amd.patch
+Patch57:        u_wayland_egl-Ensure-EGL-surface.patch
+
+Patch60:        n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch
 
 BuildRequires:  autoconf >= 2.60
 BuildRequires:  automake
@@ -168,7 +168,9 @@
 BuildRequires:  pkgconfig(libkms) >= 1.0.0
 BuildRequires:  pkgconfig(libva)
 BuildRequires:  pkgconfig(presentproto)
+%if %{drivers}
 BuildRequires:  pkgconfig(vdpau) >= 1.1
+%endif
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(x11-xcb)
 BuildRequires:  pkgconfig(xcb-dri2)
@@ -178,6 +180,7 @@
 BuildRequires:  pkgconfig(xdamage)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xfixes)
+BuildRequires:  pkgconfig(xrandr)
 BuildRequires:  pkgconfig(xshmfence)
 BuildRequires:  pkgconfig(xvmc)
 BuildRequires:  pkgconfig(xxf86vm)
@@ -215,7 +218,7 @@
 BuildRequires:  pkgconfig(wayland-server) >= 1.11
 %endif
 %if 0%{with_llvm}
-BuildRequires:  llvm-devel >= 3.9.0
+BuildRequires:  llvm-devel >= 6.0.0
 %endif
 
 %if 0%{with_opencl}
@@ -274,9 +277,6 @@
 Obsoletes:      s2tc-devel < %{version}
 Provides:       libtxc_dxtn-devel = %{version}
 Obsoletes:      libtxc_dxtn-devel < %{version}
-%if 0%{?suse_version} < 1550 && (0%{?suse_version} > 1320 || (0%{?sle_version} 
>= 120300 && 0%{?is_opensuse}))
-Requires:       libwayland-egl-devel
-%endif
 
 %description devel
 Mesa is a 3-D graphics library with an API which is very similar to
@@ -331,6 +331,14 @@
 This package provides the development environment for compiling
 programs against the EGL library.
 
+%package KHR-devel
+Summary:        Mesa Khronos development headers
+Group:          Development/Libraries/C and C++
+Provides:       Mesa-libGL-devel:/usr/include/KHR/khrplatform.h
+
+%description KHR-devel
+Mesa Khronos development headers.
+
 %package libGL1
 Summary:        The GL/GLX runtime of the Mesa 3D graphics library
 Group:          System/Libraries
@@ -352,6 +360,7 @@
 %package libGL-devel
 Summary:        GL/GLX development files of the OpenGL API
 Group:          Development/Libraries/C and C++
+Requires:       Mesa-KHR-devel = %{version}
 Requires:       Mesa-libGL1 = %{version}
 %if 0%{?libglvnd}
 Requires:       libglvnd-devel >= 0.1.0
@@ -383,6 +392,7 @@
 %package libGLESv1_CM-devel
 Summary:        Development files for the OpenGL ES 1.x API
 Group:          Development/Libraries/C and C++
+Requires:       Mesa-KHR-devel = %{version}
 Requires:       Mesa-libGLESv1_CM1 = %{version}
 Requires:       pkgconfig(egl)
 %if 0%{?libglvnd}
@@ -422,6 +432,7 @@
 %package libGLESv2-devel
 Summary:        Development files for the OpenGL ES 2.x API
 Group:          Development/Libraries/C and C++
+Requires:       Mesa-KHR-devel = %{version}
 Requires:       Mesa-libGLESv2-2 = %{version}
 Requires:       pkgconfig(egl)
 %if 0%{?libglvnd}
@@ -443,6 +454,7 @@
 %package libGLESv3-devel
 Summary:        Development files for the OpenGL ES 3.x API
 Group:          Development/Libraries/C and C++
+Requires:       Mesa-KHR-devel = %{version}
 Requires:       pkgconfig(egl)
 %if 0%{?libglvnd} == 0
 Requires:       Mesa-libGLESv2-2 = %{version}
@@ -574,24 +586,6 @@
 This package provides the development environment for compiling
 programs against the GBM library.
 
-%package -n libwayland-egl1
-Summary:        Additional egl functions for wayland
-Group:          System/Libraries
-
-%description -n libwayland-egl1
-This package provides additional functions for egl-using programs
-that run within the wayland framework. This allows for applications
-that need not run full-screen and cooperate with a compositor.
-
-%package -n libwayland-egl-devel
-Summary:        Development files for libwayland-egl1
-Group:          Development/Libraries/C and C++
-Requires:       libwayland-egl1 = %{version}
-
-%description -n libwayland-egl-devel
-This package is required to link wayland client applications to the EGL
-implementation of Mesa.
-
 %package -n Mesa-libd3d
 Summary:        Mesa Direct3D9 state tracker
 # Manually provide d3d library (bnc#918294)
@@ -744,10 +738,9 @@
 %patch31 -p1
 %endif
 
-%patch43 -p1
-%patch44 -p1
-%patch47 -p1
-%patch48 -p1
+%patch54 -p1
+%patch57 -p1
+%patch60 -p1
 
 # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
 # disabling libglvnd build; ugly ...
@@ -809,7 +802,9 @@
            --enable-llvm \
            --enable-llvm-shared-libs \
 %endif
+%if %{drivers}
            --enable-vdpau \
+%endif
            --enable-va \
            --enable-xvmc \
 %if 0%{with_vulkan}
@@ -846,18 +841,16 @@
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 
-%if !(0%{?suse_version} < 1550 && (0%{?suse_version} > 1320 || 
(0%{?sle_version} >= 120300 && 0%{?is_opensuse})))
 # libwayland-egl is provided by wayland itself
 rm -f %{buildroot}/%{_libdir}/libwayland-egl.so*
 rm -f %{buildroot}/%{_libdir}/pkgconfig/wayland-egl.pc
-%endif
 
 %if %{drivers}
 # Delete things that we do not package in the Mesa-drivers variant, but can
 # not disable from buildling and installing.
 
 # in Mesa
-rm %{buildroot}/%{_sysconfdir}/drirc
+rm -rf %{buildroot}/%{_datadir}/drirc.d
 
 # in Mesa-libGL-devel
 rm -rf %{buildroot}/%{_includedir}/GL
@@ -877,6 +870,9 @@
 rm %{buildroot}/%{_libdir}/libgbm.so*
 rm %{buildroot}/%{_libdir}/pkgconfig/gbm.pc
 
+# in KHR-devel
+rm -rf %{buildroot}/%{_includedir}/KHR
+
 %else
 %if 0%{?libglvnd} == 0
 # Make a symlink to libGL.so.1.2 for compatibility (bnc#809359, bnc#831306)
@@ -941,10 +937,6 @@
 
 %postun libglapi0 -p /sbin/ldconfig
 
-%post   -n libwayland-egl1 -p /sbin/ldconfig
-
-%postun -n libwayland-egl1 -p /sbin/ldconfig
-
 %post -n Mesa-libd3d -p /sbin/ldconfig
 
 %postun -n Mesa-libd3d -p /sbin/ldconfig
@@ -953,7 +945,8 @@
 %files
 %license docs/license.html
 %doc docs/README*
-%config %{_sysconfdir}/drirc
+%dir %{_datadir}/drirc.d
+%config %{_datadir}/drirc.d/*
 
 %files libEGL1
 %if 0%{?libglvnd}
@@ -967,12 +960,15 @@
 
 %files libEGL-devel
 %{_includedir}/EGL
-%{_includedir}/KHR
 %if !0%{?libglvnd}
 %{_libdir}/libEGL.so
 %endif
 %{_libdir}/pkgconfig/egl.pc
 
+%files KHR-devel
+%dir %{_includedir}/KHR
+%{_includedir}/KHR
+
 %files libGL1
 %if 0%{?libglvnd}
 %{_libdir}/libGLX_mesa.so*
@@ -1017,8 +1013,8 @@
 
 %files libGLESv3-devel
 %{_includedir}/GLES3
-#%_libdir/libGLESv3.so
-#%_libdir/pkgconfig/glesv3.pc
+#%%_libdir/libGLESv3.so
+#%%_libdir/pkgconfig/glesv3.pc
 
 %files -n libOSMesa8
 %{_libdir}/libOSMesa.so.8.0.0
@@ -1029,15 +1025,6 @@
 %{_libdir}/libOSMesa.so
 %{_libdir}/pkgconfig/osmesa.pc
 
-%if 0%{?suse_version} < 1550 && (0%{?suse_version} > 1320 || (0%{?sle_version} 
>= 120300 && 0%{?is_opensuse}))
-%files -n libwayland-egl1
-%{_libdir}/libwayland-egl.so.1*
-
-%files -n libwayland-egl-devel
-%{_libdir}/libwayland-egl.so
-%{_libdir}/pkgconfig/wayland-egl.pc
-%endif
-
 %files -n libgbm1
 %{_libdir}/libgbm.so.1*
 
@@ -1197,7 +1184,7 @@
 
 %files -n Mesa-libVulkan-devel
 %dir %{_includedir}/vulkan
-%{_includedir}/vulkan
+%{_includedir}/vulkan/*
 %endif
 
 %changelog

++++++ Mesa.spec ++++++
--- /var/tmp/diff_new_pack.j4EKdp/_old  2018-12-14 20:54:29.656941979 +0100
+++ /var/tmp/diff_new_pack.j4EKdp/_new  2018-12-14 20:54:29.656941979 +0100
@@ -41,7 +41,7 @@
 
 %define glamor 1
 %define _name_archive mesa
-%define _version 18.1.7
+%define _version 18.3.1
 %define with_opencl 0
 %define with_vulkan 0
 %define with_llvm 0
@@ -111,7 +111,7 @@
 %endif
 
 Name:           Mesa
-Version:        18.1.7
+Version:        18.3.1
 Release:        0
 Summary:        System for rendering 3-D graphics
 License:        MIT
@@ -122,8 +122,8 @@
 # Source:         
ftp://ftp.freedesktop.org/pub/mesa/%%{version}/%%{_name_archive}-%%{_version}.tar.xz
 Source:         
ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz
 # Source1:        
ftp://ftp.freedesktop.org/pub/mesa/%%{version}/%%{_name_archive}-%%{_version}.tar.xz.sig
-# Source1:        
ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz.sig
-Source1:        %{_name_archive}-%{_version}.tar.xz.sha1sum
+Source1:        
ftp://ftp.freedesktop.org/pub/mesa/%{_name_archive}-%{_version}.tar.xz.sig
+# Source1:        %%{_name_archive}-%%{_version}.tar.xz.sha1sum
 Source2:        baselibs.conf
 Source3:        README.updates
 Source4:        manual-pages.tar.bz2
@@ -133,11 +133,11 @@
 Patch18:        n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch
 # currently needed for libglvnd support
 Patch31:        archlinux_0001-Fix-linkage-against-shared-glapi.patch
-# Upstream
-Patch43:        u_r600-egd_tables.py-make-the-script-python-2-3-compat.patch
-Patch44:        u_intel_anv-make-scripts-python-2-3-compat.patch
-Patch47:        u_st-dri-don-t-set-queryDmaBufFormats-queryDmaBufModif.patch
-Patch48:        mako_4_radv.patch
+
+Patch54:        n_drirc-disable-rgb10-for-chromium-on-amd.patch
+Patch57:        u_wayland_egl-Ensure-EGL-surface.patch
+
+Patch60:        n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch
 
 BuildRequires:  autoconf >= 2.60
 BuildRequires:  automake
@@ -167,7 +167,9 @@
 BuildRequires:  pkgconfig(libkms) >= 1.0.0
 BuildRequires:  pkgconfig(libva)
 BuildRequires:  pkgconfig(presentproto)
+%if %{drivers}
 BuildRequires:  pkgconfig(vdpau) >= 1.1
+%endif
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(x11-xcb)
 BuildRequires:  pkgconfig(xcb-dri2)
@@ -177,6 +179,7 @@
 BuildRequires:  pkgconfig(xdamage)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xfixes)
+BuildRequires:  pkgconfig(xrandr)
 BuildRequires:  pkgconfig(xshmfence)
 BuildRequires:  pkgconfig(xvmc)
 BuildRequires:  pkgconfig(xxf86vm)
@@ -214,7 +217,7 @@
 BuildRequires:  pkgconfig(wayland-server) >= 1.11
 %endif
 %if 0%{with_llvm}
-BuildRequires:  llvm-devel >= 3.9.0
+BuildRequires:  llvm-devel >= 6.0.0
 %endif
 
 %if 0%{with_opencl}
@@ -273,9 +276,6 @@
 Obsoletes:      s2tc-devel < %{version}
 Provides:       libtxc_dxtn-devel = %{version}
 Obsoletes:      libtxc_dxtn-devel < %{version}
-%if 0%{?suse_version} < 1550 && (0%{?suse_version} > 1320 || (0%{?sle_version} 
>= 120300 && 0%{?is_opensuse}))
-Requires:       libwayland-egl-devel
-%endif
 
 %description devel
 Mesa is a 3-D graphics library with an API which is very similar to
@@ -330,6 +330,14 @@
 This package provides the development environment for compiling
 programs against the EGL library.
 
+%package KHR-devel
+Summary:        Mesa Khronos development headers
+Group:          Development/Libraries/C and C++
+Provides:       Mesa-libGL-devel:/usr/include/KHR/khrplatform.h
+
+%description KHR-devel
+Mesa Khronos development headers.
+
 %package libGL1
 Summary:        The GL/GLX runtime of the Mesa 3D graphics library
 Group:          System/Libraries
@@ -351,6 +359,7 @@
 %package libGL-devel
 Summary:        GL/GLX development files of the OpenGL API
 Group:          Development/Libraries/C and C++
+Requires:       Mesa-KHR-devel = %{version}
 Requires:       Mesa-libGL1 = %{version}
 %if 0%{?libglvnd}
 Requires:       libglvnd-devel >= 0.1.0
@@ -382,6 +391,7 @@
 %package libGLESv1_CM-devel
 Summary:        Development files for the OpenGL ES 1.x API
 Group:          Development/Libraries/C and C++
+Requires:       Mesa-KHR-devel = %{version}
 Requires:       Mesa-libGLESv1_CM1 = %{version}
 Requires:       pkgconfig(egl)
 %if 0%{?libglvnd}
@@ -421,6 +431,7 @@
 %package libGLESv2-devel
 Summary:        Development files for the OpenGL ES 2.x API
 Group:          Development/Libraries/C and C++
+Requires:       Mesa-KHR-devel = %{version}
 Requires:       Mesa-libGLESv2-2 = %{version}
 Requires:       pkgconfig(egl)
 %if 0%{?libglvnd}
@@ -442,6 +453,7 @@
 %package libGLESv3-devel
 Summary:        Development files for the OpenGL ES 3.x API
 Group:          Development/Libraries/C and C++
+Requires:       Mesa-KHR-devel = %{version}
 Requires:       pkgconfig(egl)
 %if 0%{?libglvnd} == 0
 Requires:       Mesa-libGLESv2-2 = %{version}
@@ -573,24 +585,6 @@
 This package provides the development environment for compiling
 programs against the GBM library.
 
-%package -n libwayland-egl1
-Summary:        Additional egl functions for wayland
-Group:          System/Libraries
-
-%description -n libwayland-egl1
-This package provides additional functions for egl-using programs
-that run within the wayland framework. This allows for applications
-that need not run full-screen and cooperate with a compositor.
-
-%package -n libwayland-egl-devel
-Summary:        Development files for libwayland-egl1
-Group:          Development/Libraries/C and C++
-Requires:       libwayland-egl1 = %{version}
-
-%description -n libwayland-egl-devel
-This package is required to link wayland client applications to the EGL
-implementation of Mesa.
-
 %package -n Mesa-libd3d
 Summary:        Mesa Direct3D9 state tracker
 # Manually provide d3d library (bnc#918294)
@@ -743,10 +737,9 @@
 %patch31 -p1
 %endif
 
-%patch43 -p1
-%patch44 -p1
-%patch47 -p1
-%patch48 -p1
+%patch54 -p1
+%patch57 -p1
+%patch60 -p1
 
 # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when
 # disabling libglvnd build; ugly ...
@@ -808,7 +801,9 @@
            --enable-llvm \
            --enable-llvm-shared-libs \
 %endif
+%if %{drivers}
            --enable-vdpau \
+%endif
            --enable-va \
            --enable-xvmc \
 %if 0%{with_vulkan}
@@ -845,18 +840,16 @@
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 
-%if !(0%{?suse_version} < 1550 && (0%{?suse_version} > 1320 || 
(0%{?sle_version} >= 120300 && 0%{?is_opensuse})))
 # libwayland-egl is provided by wayland itself
 rm -f %{buildroot}/%{_libdir}/libwayland-egl.so*
 rm -f %{buildroot}/%{_libdir}/pkgconfig/wayland-egl.pc
-%endif
 
 %if %{drivers}
 # Delete things that we do not package in the Mesa-drivers variant, but can
 # not disable from buildling and installing.
 
 # in Mesa
-rm %{buildroot}/%{_sysconfdir}/drirc
+rm -rf %{buildroot}/%{_datadir}/drirc.d
 
 # in Mesa-libGL-devel
 rm -rf %{buildroot}/%{_includedir}/GL
@@ -876,6 +869,9 @@
 rm %{buildroot}/%{_libdir}/libgbm.so*
 rm %{buildroot}/%{_libdir}/pkgconfig/gbm.pc
 
+# in KHR-devel
+rm -rf %{buildroot}/%{_includedir}/KHR
+
 %else
 %if 0%{?libglvnd} == 0
 # Make a symlink to libGL.so.1.2 for compatibility (bnc#809359, bnc#831306)
@@ -940,10 +936,6 @@
 
 %postun libglapi0 -p /sbin/ldconfig
 
-%post   -n libwayland-egl1 -p /sbin/ldconfig
-
-%postun -n libwayland-egl1 -p /sbin/ldconfig
-
 %post -n Mesa-libd3d -p /sbin/ldconfig
 
 %postun -n Mesa-libd3d -p /sbin/ldconfig
@@ -952,7 +944,8 @@
 %files
 %license docs/license.html
 %doc docs/README*
-%config %{_sysconfdir}/drirc
+%dir %{_datadir}/drirc.d
+%config %{_datadir}/drirc.d/*
 
 %files libEGL1
 %if 0%{?libglvnd}
@@ -966,12 +959,15 @@
 
 %files libEGL-devel
 %{_includedir}/EGL
-%{_includedir}/KHR
 %if !0%{?libglvnd}
 %{_libdir}/libEGL.so
 %endif
 %{_libdir}/pkgconfig/egl.pc
 
+%files KHR-devel
+%dir %{_includedir}/KHR
+%{_includedir}/KHR
+
 %files libGL1
 %if 0%{?libglvnd}
 %{_libdir}/libGLX_mesa.so*
@@ -1016,8 +1012,8 @@
 
 %files libGLESv3-devel
 %{_includedir}/GLES3
-#%_libdir/libGLESv3.so
-#%_libdir/pkgconfig/glesv3.pc
+#%%_libdir/libGLESv3.so
+#%%_libdir/pkgconfig/glesv3.pc
 
 %files -n libOSMesa8
 %{_libdir}/libOSMesa.so.8.0.0
@@ -1028,15 +1024,6 @@
 %{_libdir}/libOSMesa.so
 %{_libdir}/pkgconfig/osmesa.pc
 
-%if 0%{?suse_version} < 1550 && (0%{?suse_version} > 1320 || (0%{?sle_version} 
>= 120300 && 0%{?is_opensuse}))
-%files -n libwayland-egl1
-%{_libdir}/libwayland-egl.so.1*
-
-%files -n libwayland-egl-devel
-%{_libdir}/libwayland-egl.so
-%{_libdir}/pkgconfig/wayland-egl.pc
-%endif
-
 %files -n libgbm1
 %{_libdir}/libgbm.so.1*
 
@@ -1196,7 +1183,7 @@
 
 %files -n Mesa-libVulkan-devel
 %dir %{_includedir}/vulkan
-%{_includedir}/vulkan
+%{_includedir}/vulkan/*
 %endif
 
 %changelog

++++++ Mesa.keyring ++++++
--- /var/tmp/diff_new_pack.j4EKdp/_old  2018-12-14 20:54:29.724941894 +0100
+++ /var/tmp/diff_new_pack.j4EKdp/_new  2018-12-14 20:54:29.728941890 +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Y BLOCK-----
+

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.j4EKdp/_old  2018-12-14 20:54:29.788941815 +0100
+++ /var/tmp/diff_new_pack.j4EKdp/_new  2018-12-14 20:54:29.788941815 +0100
@@ -23,7 +23,6 @@
        requires "Mesa-libglapi-devel-<targettype> = <version>"
        requires "libOSMesa-devel-<targettype> = <version>"
        requires "libgbm-devel-<targettype> = <version>"
-       requires "libwayland-egl-devel-<targettype> = <version>"
        requires "libglvnd-devel-<targettype> >= 0.1.0"
        obsoletes "XFree86-Mesa-devel-<targettype> 
xorg-x11-Mesa-devel-<targettype>"
        provides  "XFree86-Mesa-devel-<targettype> 
xorg-x11-Mesa-devel-<targettype>"
@@ -40,21 +39,25 @@
        requires "libglvnd-<targettype> >= 0.1.0"
 Mesa-libGL-devel
        requires "Mesa-libGL1-<targettype> = <version>"
+       requires "Mesa-KHR-devel-<targettype> = <version>"
        requires "libglvnd-devel-<targettype> >= 0.1.0"
 Mesa-libGLESv1_CM1
        requires "libglvnd-<targettype> >= 0.1.0"
 Mesa-libGLESv1_CM-devel
        requires "Mesa-libEGL-devel-<targettype> = <version>"
        requires "Mesa-libGLESv1_CM1-<targettype> = <version>"
+       requires "Mesa-KHR-devel-<targettype> = <version>"
        requires "libglvnd-devel-<targettype> >= 0.1.0"
 Mesa-libGLESv2-2
        requires "libglvnd-<targettype> >= 0.1.0"
 Mesa-libGLESv2-devel
        requires "Mesa-libEGL-devel-<targettype> = <version>"
        requires "Mesa-libGLESv2-2-<targettype> = <version>"
+       requires "Mesa-KHR-devel-<targettype> = <version>"
        requires "libglvnd-devel-<targettype> >= 0.1.0"
 Mesa-libGLESv3-devel
        requires "Mesa-libEGL-devel-<targettype> = <version>"
+       requires "Mesa-KHR-devel-<targettype> = <version>"
 libOSMesa8
        obsoletes "libOSMesa9-<targettype> < <version>"
        provides "libOSMesa9-<targettype> = <version>"
@@ -63,12 +66,6 @@
 libgbm1
 libgbm-devel
        requires "libgbm1-<targettype> = <version>"
-libwayland-egl-devel
-       targetarch aarch64 requires "libwayland-egl1-<targettype> = <version>"
-       targetarch ppc64 requires "libwayland-egl1-<targettype> = <version>"
-       targetarch ppc64le requires "libwayland-egl1-<targettype> = <version>"
-       targetarch s390x requires "libwayland-egl1-<targettype> = <version>"
-       targetarch x86_64 requires "libwayland-egl1-<targettype> = <version>"
 Mesa-libglapi0
 Mesa-libglapi-devel
        requires "Mesa-libglapi0-<targettype> = <version>"
@@ -105,7 +102,6 @@
 libvdpau_r300
 libvdpau_r600
 libvdpau_radeonsi
-libwayland-egl1
 Mesa-dri-vc4
 Mesa-dri-nouveau
 Mesa-dri

++++++ mesa-18.1.7.tar.xz -> mesa-18.3.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/Mesa/mesa-18.1.7.tar.xz 
/work/SRC/openSUSE:Factory/.Mesa.new.28833/mesa-18.3.1.tar.xz differ: char 26, 
line 1

++++++ n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch ++++++
>From cd5af5c511b50890abe24d1e212ba9817f4074dd Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndir...@suse.de>
Date: Tue, 11 Dec 2018 11:36:26 +0100
Subject: [PATCH] Disable Xshm for now since it results in render errors

Xshm results in render errors and missing screen refreshes on GNOME3
in a qemu VM (cirrus emulation); see also
https://bugzilla.suse.com/show_bug.cgi?id=1118149
---
 src/glx/drisw_glx.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index 7b99e49f00..d6bebfb292 100644
--- a/src/glx/drisw_glx.c
+++ b/src/glx/drisw_glx.c
@@ -232,7 +232,11 @@ swrastXPutImage(__DRIdrawable * draw, int op,
    ximage->bytes_per_line = stride ? stride : bytes_per_line(w * 
ximage->bits_per_pixel, 32);
    ximage->data = data;
 
-   if (pdp->shminfo.shmid >= 0) {
+   /* disable Xshm for now since it results in render errors and missing 
screen refreshes
+      on GNOME3 in a qemu VM (cirrus emulation); see also 
+      https://bugzilla.suse.com/show_bug.cgi?id=1118149
+    */
+   if (0 && pdp->shminfo.shmid >= 0) {
       ximage->width = ximage->bytes_per_line / ((ximage->bits_per_pixel + 7)/ 
8);
       ximage->height = h;
       XShmPutImage(dpy, drawable, gc, ximage, 0, 0, x, y, w, h, False);
-- 
2.16.4

++++++ n_drirc-disable-rgb10-for-chromium-on-amd.patch ++++++
Index: mesa-18.3.0-rc2/src/util/00-mesa-defaults.conf
===================================================================
--- mesa-18.3.0-rc2.orig/src/util/00-mesa-defaults.conf
+++ mesa-18.3.0-rc2/src/util/00-mesa-defaults.conf
@@ -334,5 +334,10 @@ TODO: document the other workarounds.
         <application name="No Mans Sky" executable="NMS.exe">
             <option name="radeonsi_zerovram" 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 -->
+        <application name="Chromium" executable="chromium">
+            <option name="allow_rgb10_configs" value="false" />
+        </application>
     </device>
 </driconf>
++++++ u_wayland_egl-Ensure-EGL-surface.patch ++++++
>From 15ad1cb4502f00df6cec88e3cc9090449146a347 Mon Sep 17 00:00:00 2001
From: Carlos Garnacho <carl...@gnome.org>
Date: Tue, 20 Nov 2018 18:06:38 +0100
Subject: [PATCH] wayland/egl: Ensure EGL surface is resized on DRI
 update_buffers()

Fullscreening and unfullscreening a totem window while playing a video
sometimes results in the video subsurface not changing size along. This
is also reproducible with epiphany.

If a surface gets resized while we have an active back buffer for it, the
resized dimensions won't get neither immediately applied on the resize
callback, nor correctly synchronized on update_buffers(), as the
(now stale) surface size and currently attached buffer size still do match.

There's actually 2 things to synchronize here, first the surface query
size might not be updated yet to the wl_egl_window's (i.e. resize_callback
happened while there is a back buffer), and second the wayland buffers
would need dropping if new surface size differs with the currently attached
buffer. These are done in separate steps now.

https://bugzilla.redhat.com/show_bug.cgi?id=1650929

Signed-off-by: Carlos Garnacho <carl...@gnome.org>
Tested-by: Bastien Nocera <had...@hadess.net>
---
 src/egl/drivers/dri2/platform_wayland.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/egl/drivers/dri2/platform_wayland.c 
b/src/egl/drivers/dri2/platform_wayland.c
index 8122c81128..d9e484eaed 100644
--- a/src/egl/drivers/dri2/platform_wayland.c
+++ b/src/egl/drivers/dri2/platform_wayland.c
@@ -597,10 +597,8 @@ update_buffers(struct dri2_egl_surface *dri2_surf)
    struct dri2_egl_display *dri2_dpy =
       dri2_egl_display(dri2_surf->base.Resource.Display);
 
-   if (dri2_surf->base.Width != dri2_surf->wl_win->attached_width ||
-       dri2_surf->base.Height != dri2_surf->wl_win->attached_height) {
-
-      dri2_wl_release_buffers(dri2_surf);
+   if (dri2_surf->base.Width != dri2_surf->wl_win->width ||
+       dri2_surf->base.Height != dri2_surf->wl_win->height) {
 
       dri2_surf->base.Width  = dri2_surf->wl_win->width;
       dri2_surf->base.Height = dri2_surf->wl_win->height;
@@ -608,6 +606,11 @@ update_buffers(struct dri2_egl_surface *dri2_surf)
       dri2_surf->dy = dri2_surf->wl_win->dy;
    }
 
+   if (dri2_surf->base.Width != dri2_surf->wl_win->attached_width ||
+       dri2_surf->base.Height != dri2_surf->wl_win->attached_height) {
+      dri2_wl_release_buffers(dri2_surf);
+   }
+
    if (get_back_bo(dri2_surf) < 0) {
       _eglError(EGL_BAD_ALLOC, "failed to allocate color buffer");
       return -1;
-- 
2.19.1


Reply via email to