From c4b786fb339112c2e9ccb1c5ebc6fba8ec582c11 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 14 Dec 2021 00:59:06 +0100 Subject: gnu: igt-gpu-tools: Include man pages. * gnu/packages/admin.scm (igt-gpu-tools)[arguments]: Add a new 'find-rst2man.py phase. (native-inputs): Add python-docutils. --- gnu/packages/admin.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 63d0760a2d..42f06447cc 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -3550,6 +3550,10 @@ buffers.") `(#:tests? #f ; many of the tests try to load kernel modules #:phases (modify-phases %standard-phases + (add-after 'unpack 'find-rst2man.py + (lambda _ + (substitute* "man/meson.build" + (("'rst2man'") "'rst2man.py'")))) (add-after 'unpack 'fix-meson.build ;; Fix ‘ERROR: Function does not take positional arguments.’ (lambda _ @@ -3566,7 +3570,7 @@ buffers.") libunwind procps)) (native-inputs - (list bison flex pkg-config)) + (list bison flex pkg-config python-docutils)) (home-page "https://gitlab.freedesktop.org/drm/igt-gpu-tools") (synopsis "Tools for development and testing of the Intel DRM driver") (description "IGT GPU Tools is a collection of tools for development and -- cgit 1.4.1