Accepting request 1003036 from home:dirkmueller:Factory

- update to 2.4.113:
  * amdgpu: update marketing names
  * sync i915_pciids with kernel
  * atomic: fix atomic_add_unless() fallback's return value 
  * intel: Avoid aliasing violation
  * intel: Hook up new platforms IDs
  * meson: auto-enable etnaviv on arm, arc, mips and loongarch architectures 
  * modetest: use drmGetFormatName() 
  * lots of testsuite and CI improvements
- enable intel support everywhere as there are now discrete intel GPUs
- enable vc4 support on armv7/aarch64
- simplify valgrind support ifdefery

OBS-URL: https://build.opensuse.org/request/show/1003036
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=314
This commit is contained in:
2022-09-13 09:52:01 +00:00
committed by Git OBS Bridge
parent e9f1df8171
commit 36f278705b
4 changed files with 41 additions and 26 deletions

View File

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

3
libdrm-2.4.113.tar.xz Normal file
View File

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

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Sep 12 19:11:13 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.4.113:
* amdgpu: update marketing names
* sync i915_pciids with kernel
* atomic: fix atomic_add_unless() fallback's return value
* intel: Avoid aliasing violation
* intel: Hook up new platforms IDs
* meson: auto-enable etnaviv on arm, arc, mips and loongarch architectures
* modetest: use drmGetFormatName()
* lots of testsuite and CI improvements
- enable intel support everywhere as there are now discrete intel GPUs
- enable vc4 support on armv7/aarch64
- simplify valgrind support ifdefery
-------------------------------------------------------------------
Fri Jul 22 21:42:48 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,8 +16,14 @@
#
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm}
%bcond_without valgrind_support
%else
%bcond_with valgrind_support
%endif
Name: libdrm
Version: 2.4.112
Version: 2.4.113
Release: 0
Summary: Userspace Interface for Kernel DRM Services
License: MIT
@@ -36,16 +42,9 @@ BuildRequires: python3-docutils
BuildRequires: pkgconfig(pciaccess) >= 0.10
Provides: libdrm23 = %{version}
Obsoletes: libdrm23 < %{version}
%if 0%{?with_valgrind_support:1}
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm}
%if %{with valgrind_support}
BuildRequires: pkgconfig(valgrind)
%endif
%endif
# bug437293
%ifarch ppc64
Obsoletes: libdrm-64bit < %{version}
Provides: libdrm-64bit = %{version}
%endif
%description
The package contains the userspace interface to the kernel DRM
@@ -83,9 +82,7 @@ Requires: libdrm_tegra0 = %{version}
%ifarch %{arm}
Requires: libdrm_omap1 = %{version}
%endif
%ifarch %{ix86} x86_64
Requires: libdrm_intel1 = %{version}
%endif
# bug437293
%ifarch ppc64
Obsoletes: libdrm-devel-64bit < %{version}
@@ -223,21 +220,25 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
--default-library=shared \
-Dinstall-test-programs=true \
-Dudev=true \
-Dcairo-tests=disabled \
%ifarch %{arm}
-Domap=true \
-Domap=enabled \
%endif
%ifarch %{arm} aarch64
-Detnaviv=true \
-Dexynos=true \
-Dfreedreno=true \
-Dtegra=true \
%endif
%ifnarch %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm}
-Dvalgrind=false \
-Detnaviv=enabled \
-Dexynos=enabled \
-Dfreedreno=enabled \
-Dvc4=enabled \
-Dtegra=enabled \
%else
%if 0%{!?with_valgrind_support:1}
-Dvalgrind=false \
-Detnaviv=disabled \
-Dfreedreno=disabled \
-Dvc4=disabled \
%endif
%if %{with valgrind_support}
-Dvalgrind=enabled \
%else
-Dvalgrind=disabled \
%endif
%{nil}
%meson_build
@@ -316,10 +317,8 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%{_libdir}/libdrm.so.2*
%dir %{_datarootdir}/libdrm
%ifarch %{ix86} x86_64
%files -n libdrm_intel1
%{_libdir}/libdrm_intel.so.1*
%endif
%files -n libdrm_nouveau2
%{_libdir}/libdrm_nouveau.so.2*