lol

intel-gpu-tools: 1.17 -> 1.18 (#24920)

Version 1.17 fails to build with the current libdrm
because of a changed struct (`drm_event_vblank`).

I had to patch `tools/Makefile.am` to use `GLIB_CFLAGS`;
otherwise, the build failed to find `glib.h`.

authored by

Mikael Brockman and committed by
Jörg Thalheim
4f3caee6 b454dcd0

+5 -4
+5 -4
pkgs/development/tools/misc/intel-gpu-tools/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, libdrm, libpciaccess, cairo, dri2proto, udev 2 2 , libX11, libXext, libXv, libXrandr, glib, bison, libunwind, python3, kmod 3 - , procps }: 3 + , procps, autoconf, automake }: 4 4 5 5 stdenv.mkDerivation rec { 6 - name = "intel-gpu-tools-1.17"; 6 + name = "intel-gpu-tools-1.18"; 7 7 8 8 src = fetchurl { 9 9 url = "http://xorg.freedesktop.org/archive/individual/app/${name}.tar.bz2"; 10 - sha256 = "06pvmbsbff4bsi67n6x3jjngzy2llf8bplc75447ra1fwphc9jx6"; 10 + sha256 = "1vp4czxp8xa6qk4pg3mrxhc2yadw2rv6p8r8247mkpcbb8dzjxyz"; 11 11 }; 12 12 13 - nativeBuildInputs = [ pkgconfig ]; 13 + nativeBuildInputs = [ pkgconfig autoconf automake ]; 14 14 buildInputs = [ libdrm libpciaccess cairo dri2proto udev libX11 kmod 15 15 libXext libXv libXrandr glib bison libunwind python3 procps ]; 16 16 17 17 preBuild = '' 18 18 patchShebangs debugger/system_routine/pre_cpp.py 19 + substituteInPlace tools/Makefile.am --replace '$(CAIRO_CFLAGS)' '$(CAIRO_CFLAGS) $(GLIB_CFLAGS)' 19 20 ''; 20 21 21 22 meta = with stdenv.lib; {