guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/10: gnu: igt-gpu-tools: Include man pages.


From: guix-commits
Subject: 09/10: gnu: igt-gpu-tools: Include man pages.
Date: Tue, 14 Dec 2021 13:35:29 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit c4b786fb339112c2e9ccb1c5ebc6fba8ec582c11
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Dec 14 00:59:06 2021 +0100

    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(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 63d0760..42f0644 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]