[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
59/122: gnu: atkmm: Enable documentation.
From: |
guix-commits |
Subject: |
59/122: gnu: atkmm: Enable documentation. |
Date: |
Fri, 11 Jun 2021 12:12:07 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 9df6a433df87408449cd4afa0cfd1a5db10b0108
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Wed Mar 24 22:46:44 2021 -0400
gnu: atkmm: Enable documentation.
* gnu/packages/gtk.scm (atkmm) [outputs]: Add new output "doc".
[arguments]<#:configure-flags>[-Denable-documentation]: New flag.
[arguments]<#:phases>['move-doc]: New phase.
[native-inputs]: Add graphviz, doxygen.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
---
gnu/packages/gtk.scm | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 8eb4220..c34e706 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -76,6 +76,7 @@
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages graphviz)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
#:use-module (gnu packages libffi)
@@ -1441,10 +1442,27 @@ library.")
(base32
"0wwr0663jrqx2klsasffd9wpk3kqnwisj1y3ahdkjdk5hzrsjgy9"))))
(build-system meson-build-system)
+ (outputs '("out" "doc"))
(arguments
- `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ (list
+ "-Dbuild-documentation=true")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc")))
+ (mkdir-p (string-append doc "/share"))
+ (rename-file
+ (string-append out "/share/doc")
+ (string-append doc "/share/doc"))
+ #t))))))
(native-inputs
- `(("m4" ,m4)
+ `(("dot" ,graphviz)
+ ("doxygen" ,doxygen)
+ ("m4" ,m4)
("mm-common" ,mm-common)
("perl" ,perl)
("pkg-config" ,pkg-config)
- 117/122: gnu: tracker: Enable some features., (continued)
- 117/122: gnu: tracker: Enable some features., guix-commits, 2021/06/11
- 50/122: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/06/11
- 54/122: gnu: libgsf: Update synopsis, description, home-page and license., guix-commits, 2021/06/11
- 62/122: gnu: at-spi2-core: Update to 2.40.0., guix-commits, 2021/06/11
- 67/122: gnu: json-glib: Update to 1.6.2., guix-commits, 2021/06/11
- 69/122: gnu: json-glib: Update synopsis and description., guix-commits, 2021/06/11
- 71/122: gnu: wayland: Fix and move documentation., guix-commits, 2021/06/11
- 78/122: gnu: gtk+: Enable tests., guix-commits, 2021/06/11
- 79/122: gnu: gtk+: Add missing inputs., guix-commits, 2021/06/11
- 30/122: gnu: pango: Update to 1.48.3., guix-commits, 2021/06/11
- 59/122: gnu: atkmm: Enable documentation.,
guix-commits <=
- 66/122: gnu: at-spi2-atk: Update home-page and license., guix-commits, 2021/06/11
- 80/122: gnu: gtk+: Enable cloud-providers support., guix-commits, 2021/06/11
- 81/122: gnu: gtk+: Update to 3.24.27., guix-commits, 2021/06/11
- 82/122: gnu: gtkmm: Update to 3.24.4., guix-commits, 2021/06/11
- 85/122: gnu: ibus: Enable documentation., guix-commits, 2021/06/11
- 87/122: gnu: ibus: Enable tests., guix-commits, 2021/06/11
- 88/122: gnu: ibus: Remove trailing #t in phases., guix-commits, 2021/06/11
- 91/122: gnu: zbar: Update to 0.23.90., guix-commits, 2021/06/11
- 93/122: gnu: gst-plugins-base: Update to 1.18.4., guix-commits, 2021/06/11
- 94/122: gnu: gst-plugins-base: Enable more features., guix-commits, 2021/06/11