[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65479] [PATCH core-updates v3 38/63] gnu: libxkbcommon: Add doc out
From: |
Bruno Victal |
Subject: |
[bug#65479] [PATCH core-updates v3 38/63] gnu: libxkbcommon: Add doc output. |
Date: |
Mon, 9 Oct 2023 21:06:26 +0100 |
* gnu/packages/xdisorg.scm (libxkbcommon)[arguments]: Restyle.
<#:phases>: Add 'move-doc.
[outputs]: Add doc.
---
gnu/packages/xdisorg.scm | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index db948a9318..50190863dc 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -518,6 +518,7 @@ (define-public libxkbcommon
(sha256
(base32
"0fbb2dyjvf71p42y2jmwdcylsvj03w52f5rb23c2d00rwahhfg4l"))))
+ (outputs '("out" "doc"))
(build-system meson-build-system)
(inputs
(list libx11
@@ -531,13 +532,22 @@ (define-public libxkbcommon
;; wayland-scanner is required at build time.
wayland))
(arguments
- (list #:configure-flags
- #~(list (string-append "-Dxkb-config-root="
- (search-input-directory
- %build-inputs "share/X11/xkb"))
- (string-append "-Dx-locale-root="
- (search-input-directory
- %build-inputs "share/X11/locale")))))
+ (list
+ #:configure-flags
+ #~(list (string-append "-Dxkb-config-root="
+ (search-input-directory
+ %build-inputs "share/X11/xkb"))
+ (string-append "-Dx-locale-root="
+ (search-input-directory
+ %build-inputs "share/X11/locale")))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'move-doc
+ (lambda _
+ (let ((old (string-append #$output "/share/doc"))
+ (new (string-append #$output:doc "/share/doc")))
+ (mkdir-p (dirname new))
+ (rename-file old new)))))))
(home-page "https://xkbcommon.org/")
(synopsis "Library to handle keyboard descriptions")
(description "Xkbcommon is a library to handle keyboard descriptions,
--
2.41.0
- [bug#65479] [PATCH core-updates v3 14/63] gnu: docbook2x: Split documentation., (continued)
- [bug#65479] [PATCH core-updates v3 14/63] gnu: docbook2x: Split documentation., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 41/63] gnu: sssd: Drop xmllint workaround., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 35/63] gnu: gnome-session: Build documentation., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 43/63] gnu: drumstick: Drop docbook workaround., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 44/63] gnu: vmpk: Drop docbook workaround., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 37/63] gnu: metapixel: Rewrite with G-Expressions., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 20/63] gnu: Add docbook-mathml-1.0., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 24/63] gnu: xmlto: Add libxslt native-search-paths to its own., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 26/63] gnu: secilc: Drop xmlto workaround., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 25/63] gnu: gtk-doc: Add libxslt native-search-paths to its own., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 38/63] gnu: libxkbcommon: Add doc output.,
Bruno Victal <=
- [bug#65479] [PATCH core-updates v3 28/63] gnu: xdg-user-dirs: Drop docbook workaround., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 40/63] gnu: gnome-session: Remove libxml2., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 31/63] gnu: colord-gtk: Build documentation., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 27/63] gnu: xdg-utils: Drop docbook workarounds., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 08/63] gnu: docbook-xsl: Add compatibility entry., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 46/63] gnu: iputils: Restyle description and native-inputs., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 51/63] gnu: tunctl: Update comment., Bruno Victal, 2023/10/09
- [bug#65479] [PATCH core-updates v3 49/63] gnu: alsa-utils: Build manpages., Bruno Victal, 2023/10/09