[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
59/91: gnu: atkmm: Enable documentation.
From: |
guix-commits |
Subject: |
59/91: gnu: atkmm: Enable documentation. |
Date: |
Mon, 19 Apr 2021 17:14:12 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 7c98659cadd33613aa8de7e51a08743e24a9995a
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 00c40d8..8598924 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -75,6 +75,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)
@@ -1439,10 +1440,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)
- 56/91: gnu: atk: Update to 2.36.0., (continued)
- 56/91: gnu: atk: Update to 2.36.0., guix-commits, 2021/04/19
- 62/91: gnu: at-spi2-core: Update to 2.40.0., guix-commits, 2021/04/19
- 65/91: gnu: at-spi2-atk: Update to 2.38.0., guix-commits, 2021/04/19
- 66/91: gnu: at-spi2-atk: Update home-page and license., guix-commits, 2021/04/19
- 77/91: gnu: gtk+-2: Update to 2.24.33., guix-commits, 2021/04/19
- 81/91: gnu: gtk+: Update to 3.24.27., guix-commits, 2021/04/19
- 86/91: gnu: ibus: Enable memconf., guix-commits, 2021/04/19
- 42/91: gnu: gdk-pixbuf+svg: Correct package definition to include changes from gdk-pixbuf., guix-commits, 2021/04/19
- 51/91: gnu: libgsf: Enable missing features., guix-commits, 2021/04/19
- 48/91: gnu: libgsf: Change build-system., guix-commits, 2021/04/19
- 59/91: gnu: atkmm: Enable documentation.,
guix-commits <=
- 67/91: gnu: json-glib: Update to 1.6.2., guix-commits, 2021/04/19
- 69/91: gnu: json-glib: Update synopsis and description., guix-commits, 2021/04/19
- 72/91: gnu: wayland: Update synopsis, description and license., guix-commits, 2021/04/19
- 38/91: gnu: gdk-pixbuf: Fix documentation., guix-commits, 2021/04/19
- 41/91: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2021/04/19
- 39/91: gnu: gdk-pixbuf: Update to 2.42.4., guix-commits, 2021/04/19
- 46/91: gnu: vala: Update to 0.52.0., guix-commits, 2021/04/19
- 49/91: gnu: libgsf: Make separate output for binaries., guix-commits, 2021/04/19
- 57/91: gnu: atk: Update home-page and license., guix-commits, 2021/04/19
- 60/91: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/04/19