[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
59/124: gnu: atkmm: Enable documentation.
From: |
guix-commits |
Subject: |
59/124: gnu: atkmm: Enable documentation. |
Date: |
Mon, 30 Aug 2021 16:28:53 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit dbe2a084484c0b26efd367528089c4bda08ed21d
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 cacb738..8b96bff 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)
@@ -1442,10 +1443,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)
- 29/124: gnu: pango: Re-arrange inputs in alphabetical order., (continued)
- 29/124: gnu: pango: Re-arrange inputs in alphabetical order., guix-commits, 2021/08/30
- 31/124: gnu: pango: Update synopsis, description and home-page., guix-commits, 2021/08/30
- 32/124: gnu: pangomm: Update to 2.48.0., guix-commits, 2021/08/30
- 41/124: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2021/08/30
- 43/124: gnu: vala: Change build-system., guix-commits, 2021/08/30
- 44/124: gnu: vala: Enable coverage support., guix-commits, 2021/08/30
- 35/124: gnu: gdk-pixbuf: Add missing arguments., guix-commits, 2021/08/30
- 38/124: gnu: gdk-pixbuf: Fix documentation., guix-commits, 2021/08/30
- 39/124: gnu: gdk-pixbuf: Update to 2.42.4., guix-commits, 2021/08/30
- 42/124: gnu: gdk-pixbuf+svg: Correct package definition to include changes from gdk-pixbuf., guix-commits, 2021/08/30
- 59/124: gnu: atkmm: Enable documentation.,
guix-commits <=
- 47/124: gnu: vala: Update synopsis and description., guix-commits, 2021/08/30
- 57/124: gnu: atk: Update home-page and license., guix-commits, 2021/08/30
- 62/124: gnu: at-spi2-core: Update to 2.40.0., guix-commits, 2021/08/30
- 66/124: gnu: at-spi2-atk: Update home-page and license., guix-commits, 2021/08/30
- 68/124: gnu: json-glib: Enable documentation and man-pages., guix-commits, 2021/08/30
- 75/124: gnu: gtk+-2: Enable tests., guix-commits, 2021/08/30
- 84/124: gnu: ibus: Update to 1.5.24., guix-commits, 2021/08/30
- 52/124: gnu: libgsf: Correct inputs., guix-commits, 2021/08/30
- 55/124: gnu: atk: Re-arrange inputs in alphabetical order., guix-commits, 2021/08/30
- 45/124: gnu: vala: Fix documentation., guix-commits, 2021/08/30