Browse Source

updated 2 packages

libdrm-2.4.107-1

mesa-21.2.4-1
Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
0edbfeddbc
2 changed files with 18 additions and 24 deletions
  1. 5 8
      lib/libd/libdrm/libdrm-vl.spec
  2. 13 16
      m/mesa/mesa-vl.spec

+ 5 - 8
lib/libd/libdrm/libdrm-vl.spec

@@ -4,7 +4,7 @@
 Summary: Direct Rendering Manager runtime library
 Summary(ja): Direct Rendering Manager ランタイムライブラリ
 Name: libdrm
-Version: 2.4.104
+Version: 2.4.107
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
@@ -119,13 +119,6 @@ done
 rm -rf %{buildroot}
 
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-%post -n compat32-%{name} -p /sbin/ldconfig
-%postun -n compat32-%{name} -p /sbin/ldconfig
-
-
 %files
 %defattr(-,root,root,-)
 %doc README
@@ -238,6 +231,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.107-1
+- updated to 2.4.107.
+- dropped ldconfig scriptlets.
+
 * Tue Apr 06 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.104-1
 - updated to 2.4.104.
 

+ 13 - 16
m/mesa/mesa-vl.spec

@@ -25,7 +25,7 @@
 %global with_vmware 1
 %global with_xa     1
 %if %{with vulkan}
-%global vulkan_drivers intel,amd
+%global vulkan_drivers swrast,intel,amd
 %else
 %global vulkan_drivers %{nil}
 %endif
@@ -38,7 +38,7 @@
 Summary:        Mesa graphics libraries
 Summary(ja):    Mesa グラフィックスライブラリ
 Name:           mesa
-Version:        21.0.2
+Version:        21.2.4
 Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
@@ -53,10 +53,6 @@ Source0:        https://mesa.freedesktop.org/archive/%{name}-%{version}.tar.xz
 # Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
 Source4:        Mesa-MLAA-License-Clarification-Email.txt
 
-Patch3:         0003-evergreen-big-endian.patch
-# https://gitlab.freedesktop.org/mesa/mesa/-/issues/4442
-Patch0: mesa-llvm12.patch
-
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: meson
 BuildRequires: pkgconfig
@@ -430,7 +426,6 @@ Headers for development with the Vulkan API.
 
 %prep
 %setup -n %{name}-%{version}
-%patch0 -p1
 
 cp %{SOURCE4} docs/
 
@@ -447,7 +442,7 @@ export PYTHON=%{__pythpn3}
   -Ddri3=true \
   -Ddri-drivers=%{?dri_drivers} \
 %if 0%{?with_hardware}
-  -Dgallium-drivers=swrast,virgl,r300,nouveau%{?with_iris:,iris}%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_v3d:,v3d}%{?with_kmsro:,kmsro}%{?with_lima:,lima}%{?with_panfrost:,panfrost} \
+  -Dgallium-drivers=swrast,virgl,r300,nouveau%{?with_iris:,iris}%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_v3d:,v3d}%{?with_kmsro:,kmsro}%{?with_lima:,lima}%{?with_panfrost:,panfrost}%{?with_vulkan:,zink} \
 %else
   -Dgallium-drivers=swrast,virgl \
 %endif
@@ -459,7 +454,7 @@ export PYTHON=%{__pythpn3}
   -Dgallium-nine=%{?with_nine:true}%{!?with_nine:false} \
   -Dgallium-opencl=%{?with_opencl:icd}%{!?with_opencl:disabled} \
   -Dvulkan-drivers=%{?vulkan_drivers} \
-  -Dvulkan-device-select-layer=true \
+  -Dvulkan-layers=device-select \
   -Dshared-glapi=enabled \
   -Dgles1=disabled \
   -Dgles2=enabled \
@@ -612,6 +607,10 @@ mkdir -p $RPM_BUILD_ROOT/%{mesasourcedir}
 
 %if %{with vulkan}
 %files vulkan-drivers
+%{_libdir}/libvulkan_lvp.so
+%{_datadir}/vulkan/icd.d/lvp_icd.*.json
+%{_libdir}/libVkLayer_MESA_device_select.so
+%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
 %if 0%{?with_hardware}
 %ifarch %{ix86} x86_64
 %{_libdir}/libvulkan_intel.so
@@ -619,16 +618,9 @@ mkdir -p $RPM_BUILD_ROOT/%{mesasourcedir}
 %endif
 %{_libdir}/libvulkan_radeon.so
 %{_datadir}/vulkan/icd.d/radeon_icd.*.json
-%{_libdir}/libVkLayer_MESA_device_select.so
-%{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
 %endif
 
 %files vulkan-devel
-%if 0%{?with_hardware}
-%ifarch %{ix86} x86_64
-%{_includedir}/vulkan/vulkan_intel.h
-%endif
-%endif
 %endif
 
 %if %{with source}
@@ -678,6 +670,11 @@ mkdir -p $RPM_BUILD_ROOT/%{mesasourcedir}
 
 
 %changelog
+* Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 21.2.4-1
+- updated to 21.2.4.
+- built with llvm-13.
+- dropped Patch0 and 3.
+
 * Sat Apr 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 21.0.2-1
 - updated to 21.0.2.
 - built with llvm-12.