From 71e8258c284d05fb20d3da95b545cc684a29cf4e Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:55:47 +0100 Subject: [PATCH] automatic version update by autodist [release 1.8-1mamba;Thu Sep 18 2014] --- intel-gpu-tools-1.3-libcairo.patch | 11 +++++++++++ intel-gpu-tools-1.7-unicode.patch | 14 ++++++++++++++ intel-gpu-tools.spec | 29 +++++++++++++++++++++++++---- 3 files changed, 50 insertions(+), 4 deletions(-) create mode 100644 intel-gpu-tools-1.3-libcairo.patch create mode 100644 intel-gpu-tools-1.7-unicode.patch diff --git a/intel-gpu-tools-1.3-libcairo.patch b/intel-gpu-tools-1.3-libcairo.patch new file mode 100644 index 0000000..f3ed024 --- /dev/null +++ b/intel-gpu-tools-1.3-libcairo.patch @@ -0,0 +1,11 @@ +--- intel-gpu-tools-1.3/lib/drmtest.h.orig 2013-04-11 14:26:55.685097783 +0200 ++++ intel-gpu-tools-1.3/lib/drmtest.h 2013-04-11 14:27:03.004028824 +0200 +@@ -31,7 +31,7 @@ + #include + #include + #include +-#include ++#include + + #include "xf86drm.h" + #include "xf86drmMode.h" diff --git a/intel-gpu-tools-1.7-unicode.patch b/intel-gpu-tools-1.7-unicode.patch new file mode 100644 index 0000000..3d0c67b --- /dev/null +++ b/intel-gpu-tools-1.7-unicode.patch @@ -0,0 +1,14 @@ +Specify the encoding, in case it's not the same as the locale. + +diff -x config.log -x config.status -ru tmp/intel-gpu-tools-1.7/debugger/system_routine/pre_cpp.py work/intel-gpu-tools-1.7/debugger/system_routine/pre_cpp.py +--- tmp/intel-gpu-tools-1.7/debugger/system_routine/pre_cpp.py 2014-05-13 13:31:22.000000000 +0100 ++++ work/intel-gpu-tools-1.7/debugger/system_routine/pre_cpp.py 2014-06-30 23:16:12.743000000 +0100 +@@ -33,7 +33,7 @@ + + import sys,re + +-file = open(sys.argv[1], "r") ++file = open(sys.argv[1], "r", encoding="UTF-8") + + lines = file.readlines() + len(lines) diff --git a/intel-gpu-tools.spec b/intel-gpu-tools.spec index 5771a89..5a68001 100644 --- a/intel-gpu-tools.spec +++ b/intel-gpu-tools.spec @@ -1,5 +1,5 @@ Name: intel-gpu-tools -Version: 1.1 +Version: 1.8 Release: 1mamba Summary: A collection of tools for development and testing of the Intel DRM driver Group: System/X11 @@ -8,6 +8,8 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://x.org Source: ftp://x.org/pub/individual/app/intel-gpu-tools-%{version}.tar.bz2 +Patch0: intel-gpu-tools-1.3-libcairo.patch +Patch1: intel-gpu-tools-1.7-unicode.patch License: MIT BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN @@ -18,6 +20,7 @@ BuildRequires: libpciaccess-devel BuildRequires: xorg-server-devel >= 1.1.0 BuildRequires: xorg-proto-devel >= %{xorg_ver} BuildRequires: xbitmaps-devel >= 1.0.1 +BuildRequires: python3-devel %description This is a collection of tools for development and testing of the Intel DRM driver. @@ -25,10 +28,15 @@ There are many macro-level test suites that get used against our driver, includi %prep %setup -q +#%patch0 -p1 +#%patch1 -p2 %build %configure -%make + +# PYTHON_CPPFLAGS="`pkg-config --cflags python3`" + +%make -j1 %install %makeinstall @@ -38,11 +46,24 @@ There are many macro-level test suites that get used against our driver, includi %files %defattr(-,root,root) -%{_bindir}/forcewaked +%{_bindir}/chipset.py +%{_bindir}/eudb +%{_bindir}/gem_userptr_benchmark %{_bindir}/intel_* -%{_mandir}/man1/intel_*.1.gz +%{_bindir}/intel-gen4asm +%{_bindir}/intel-gen4disasm +%{_bindir}/intel-gpu-overlay +%{_bindir}/quick_dump.py +%{_bindir}/reg_access.py +%{_libdir}/I915ChipsetPython.la +%{_libdir}/I915ChipsetPython.so +%{_libdir}/pkgconfig/intel-gen4asm.pc +%{_mandir}/man1/intel_*.1* %changelog +* Thu Sep 18 2014 Automatic Build System 1.8-1mamba +- automatic version update by autodist + * Mon Jan 09 2012 Automatic Build System 1.1-1mamba - automatic version update by autodist