guix-commits
[Top][All Lists]
Advanced

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

01/05: gnu: libxcb: Add "doc" output.


From: guix-commits
Subject: 01/05: gnu: libxcb: Add "doc" output.
Date: Sun, 8 Nov 2020 17:06:43 -0500 (EST)

civodul pushed a commit to branch core-updates
in repository guix.

commit 70d310d5ad276af3d4ad2d9d3a642348dc7c0981
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Nov 8 22:11:46 2020 +0100

    gnu: libxcb: Add "doc" output.
    
    * gnu/packages/xorg.scm (libxcb)[outputs]: New field.
    [arguments]: Pass "--mandir".
---
 gnu/packages/xorg.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index b1a4d4a..4921557 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5274,6 +5274,7 @@ protocol.")
           (base32
            "0d2chjgyn5lr9sfhacfvqgnj9l9faz11vn322a06jd6lk3dxcpm5"))))
     (build-system gnu-build-system)
+    (outputs '("out" "doc"))                      ;5.5 MiB of man pages
     (propagated-inputs
       `(("libpthread-stubs" ,libpthread-stubs)
         ("libxau" ,libxau)
@@ -5285,8 +5286,11 @@ protocol.")
       `(("pkg-config" ,pkg-config)
         ("python" ,python-minimal-wrapper)))
     (arguments
-     `(#:configure-flags '("--enable-xkb"
-                           "--disable-static")))
+     `(#:configure-flags (list "--enable-xkb"
+                               "--disable-static"
+                               (string-append "--mandir="
+                                              (assoc-ref %outputs "doc")
+                                              "/share/man"))))
     (home-page "https://xcb.freedesktop.org/";)
     (synopsis "The X C Binding (XCB) library")
     (description



reply via email to

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