[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
59/115: gnu: atkmm: Enable documentation.
From: |
guix-commits |
Subject: |
59/115: gnu: atkmm: Enable documentation. |
Date: |
Fri, 7 May 2021 16:56:38 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 8796bba078172db190c35b78301483365d8b0bff
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 e1eecfa..6319bdb 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)
- 40/115: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., (continued)
- 40/115: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., guix-commits, 2021/05/07
- 32/115: gnu: pangomm: Update to 2.48.0., guix-commits, 2021/05/07
- 29/115: gnu: pango: Re-arrange inputs in alphabetical order., guix-commits, 2021/05/07
- 33/115: gnu: pangomm: Enable documentation., guix-commits, 2021/05/07
- 44/115: gnu: vala: Enable coverage support., guix-commits, 2021/05/07
- 45/115: gnu: vala: Fix documentation., guix-commits, 2021/05/07
- 46/115: gnu: vala: Update to 0.52.0., guix-commits, 2021/05/07
- 50/115: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/05/07
- 53/115: gnu: libgsf: Enable documentation., guix-commits, 2021/05/07
- 57/115: gnu: atk: Update home-page and license., guix-commits, 2021/05/07
- 59/115: gnu: atkmm: Enable documentation.,
guix-commits <=
- 60/115: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/05/07
- 63/115: gnu: at-spi2-core: Fix documentation., guix-commits, 2021/05/07
- 66/115: gnu: at-spi2-atk: Update home-page and license., guix-commits, 2021/05/07
- 83/115: gnu: gtkmm-2: Fix build., guix-commits, 2021/05/07
- 86/115: gnu: ibus: Enable memconf., guix-commits, 2021/05/07
- 21/115: gnu: cairo: Change build-system., guix-commits, 2021/05/07
- 47/115: gnu: vala: Update synopsis and description., guix-commits, 2021/05/07
- 54/115: gnu: libgsf: Update synopsis, description, home-page and license., guix-commits, 2021/05/07
- 55/115: gnu: atk: Re-arrange inputs in alphabetical order., guix-commits, 2021/05/07
- 62/115: gnu: at-spi2-core: Update to 2.40.0., guix-commits, 2021/05/07