Compare commits
3 Commits
imports/c8
...
c8
Author | SHA1 | Date |
---|---|---|
eabdullin | 781108faff | |
CentOS Sources | 9740471f1d | |
CentOS Sources | 3dfdfd4504 |
|
@ -1 +1 @@
|
|||
SOURCES/libdrm-2.4.108.tar.xz
|
||||
SOURCES/libdrm-2.4.115.tar.xz
|
||||
|
|
|
@ -1 +1 @@
|
|||
effe277c1db45fdba8dbfab0762ed581b6d6d29c SOURCES/libdrm-2.4.108.tar.xz
|
||||
0842e73f1710317adb7f42c4e313eb9e727d9f15 SOURCES/libdrm-2.4.115.tar.xz
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
diff -up libdrm-2.4.103/xf86drm.c.dma libdrm-2.4.103/xf86drm.c
|
||||
--- libdrm-2.4.103/xf86drm.c.dma 2020-11-04 13:24:14.000000000 +1000
|
||||
+++ libdrm-2.4.103/xf86drm.c 2020-11-04 13:42:04.190975193 +1000
|
||||
@@ -507,11 +507,6 @@ drm_public int drmAvailable(void)
|
||||
diff -up libdrm-2.4.114/xf86drm.c.dma libdrm-2.4.114/xf86drm.c
|
||||
--- libdrm-2.4.114/xf86drm.c.dma 2022-11-03 18:33:36.000000000 +1000
|
||||
+++ libdrm-2.4.114/xf86drm.c 2022-11-10 05:39:58.652477119 +1000
|
||||
@@ -930,11 +930,6 @@ drm_public int drmAvailable(void)
|
||||
int fd;
|
||||
|
||||
if ((fd = drmOpenMinor(0, 1, DRM_NODE_PRIMARY)) < 0) {
|
||||
|
@ -13,7 +13,7 @@ diff -up libdrm-2.4.103/xf86drm.c.dma libdrm-2.4.103/xf86drm.c
|
|||
return 0;
|
||||
}
|
||||
|
||||
@@ -704,38 +699,6 @@ static int drmOpenByName(const char *nam
|
||||
@@ -1127,38 +1122,6 @@ static int drmOpenByName(const char *nam
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,7 @@ diff -up libdrm-2.4.103/xf86drm.c.dma libdrm-2.4.103/xf86drm.c
|
|||
- int retcode;
|
||||
-
|
||||
- sprintf(proc_name, "/proc/dri/%d/name", i);
|
||||
- if ((fd = open(proc_name, O_RDONLY, 0)) >= 0) {
|
||||
- if ((fd = open(proc_name, O_RDONLY)) >= 0) {
|
||||
- retcode = read(fd, buf, sizeof(buf)-1);
|
||||
- close(fd);
|
||||
- if (retcode) {
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
%define bcond_meson() %{lua: do
|
||||
local option = rpm.expand("%{1}")
|
||||
local with = rpm.expand("%{?with_" .. option .. "}")
|
||||
local value = (with ~= '') and "enabled" or "disabled"
|
||||
option = option:gsub('_', '-')
|
||||
print(string.format("-D%s=%s", option, value))
|
||||
end}
|
||||
%define bcond_meson_tf() %{lua: do
|
||||
local option = rpm.expand("%{1}")
|
||||
local with = rpm.expand("%{?with_" .. option .. "}")
|
||||
local value = (with ~= '') and "true" or "false"
|
||||
|
@ -6,7 +13,6 @@
|
|||
print(string.format("-D%s=%s", option, value))
|
||||
end}
|
||||
|
||||
%bcond_without libkms
|
||||
%ifarch %{ix86} x86_64
|
||||
%bcond_without intel
|
||||
%else
|
||||
|
@ -47,8 +53,8 @@ end}
|
|||
|
||||
Name: libdrm
|
||||
Summary: Direct Rendering Manager runtime library
|
||||
Version: 2.4.108
|
||||
Release: 1%{?dist}
|
||||
Version: 2.4.115
|
||||
Release: 2%{?dist}
|
||||
License: MIT
|
||||
|
||||
URL: https://dri.freedesktop.org
|
||||
|
@ -110,7 +116,6 @@ Utility programs for the kernel DRM interface. Will void your warranty.
|
|||
|
||||
%build
|
||||
%meson \
|
||||
%{bcond_meson libkms} \
|
||||
%{bcond_meson intel} \
|
||||
%{bcond_meson radeon} \
|
||||
%{bcond_meson amdgpu} \
|
||||
|
@ -125,9 +130,9 @@ Utility programs for the kernel DRM interface. Will void your warranty.
|
|||
%{bcond_meson cairo_tests} \
|
||||
%{bcond_meson man_pages} \
|
||||
%{bcond_meson valgrind} \
|
||||
%{bcond_meson freedreno_kgsl} \
|
||||
%{bcond_meson install_test_programs} \
|
||||
%{bcond_meson udev} \
|
||||
%{bcond_meson_tf freedreno_kgsl} \
|
||||
%{bcond_meson_tf install_test_programs} \
|
||||
%{bcond_meson_tf udev} \
|
||||
%{nil}
|
||||
%meson_build
|
||||
|
||||
|
@ -147,10 +152,6 @@ install -Dpm0644 -t %{buildroot}%{_udevrulesdir} %{S:2}
|
|||
%{_libdir}/libdrm.so.2
|
||||
%{_libdir}/libdrm.so.2.4.0
|
||||
%dir %{_datadir}/libdrm
|
||||
%if %{with libkms}
|
||||
%{_libdir}/libkms.so.1
|
||||
%{_libdir}/libkms.so.1.0.0
|
||||
%endif
|
||||
%if %{with intel}
|
||||
%{_libdir}/libdrm_intel.so.1
|
||||
%{_libdir}/libdrm_intel.so.1.0.0
|
||||
|
@ -201,11 +202,6 @@ install -Dpm0644 -t %{buildroot}%{_udevrulesdir} %{S:2}
|
|||
%{_includedir}/libdrm/*_drm.h
|
||||
%{_libdir}/libdrm.so
|
||||
%{_libdir}/pkgconfig/libdrm.pc
|
||||
%if %{with libkms}
|
||||
%{_includedir}/libkms/
|
||||
%{_libdir}/libkms.so
|
||||
%{_libdir}/pkgconfig/libkms.pc
|
||||
%endif
|
||||
%if %{with intel}
|
||||
%{_includedir}/libdrm/intel_*.h
|
||||
%{_libdir}/libdrm_intel.so
|
||||
|
@ -272,18 +268,28 @@ install -Dpm0644 -t %{buildroot}%{_udevrulesdir} %{S:2}
|
|||
%{_bindir}/drmdevice
|
||||
%exclude %{_bindir}/etnaviv_*
|
||||
%exclude %{_bindir}/exynos_*
|
||||
%{_bindir}/kms-steal-crtc
|
||||
%{_bindir}/kms-universal-planes
|
||||
%if %{with libkms}
|
||||
%{_bindir}/kmstest
|
||||
%endif
|
||||
%{_bindir}/modeprint
|
||||
%{_bindir}/modetest
|
||||
%{_bindir}/proptest
|
||||
%{_bindir}/vbltest
|
||||
%if %{with tegra}
|
||||
%{_bindir}/tegra-*
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat May 20 2023 Dave Airlie <airlied@redhat.com> - 2.4.115-2
|
||||
- Update to 2.4.115 (retry)
|
||||
|
||||
* Thu May 18 2023 Dave Airlie <airlied@redhat.com> - 2.4.115-1
|
||||
- Update to 2.4.115
|
||||
|
||||
* Thu Nov 10 2022 Dave Airlie <airlied@redhat.com> - 2.4.114-1
|
||||
- Update to 2.4.114
|
||||
|
||||
* Fri Jun 03 2022 Dave Airlie <airlied@redhat.com> - 2.4.111-1
|
||||
- Update to 2.4.111
|
||||
|
||||
* Wed Nov 17 2021 Dave Airlie <airlied@redhat.com> - 2.4.108-1
|
||||
- Update to 2.4.108
|
||||
|
||||
|
|
Loading…
Reference in New Issue