[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/91: gnu: pangomm: Enable documentation.
From: |
guix-commits |
Subject: |
33/91: gnu: pangomm: Enable documentation. |
Date: |
Mon, 19 Apr 2021 17:14:03 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 268014a2ef69b95c237ad5ec2f935850d3bf55ad
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Thu Mar 25 07:47:41 2021 -0400
gnu: pangomm: Enable documentation.
* gnu/packages/gtk.scm (pangomm)[outputs]: New output "doc".
[arguments]<#:configure-flags>[-Dbuild-documentation]: New flag.
<#:phases>['move-doc]: New phase.
[native-inputs]: Add doxygen, graphviz, perl and libxslt.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
---
gnu/packages/gtk.scm | 25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index bfd805d..5f1da9d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1367,12 +1367,31 @@ library.")
(base32
"0y2vyp6azvhrii6rzs89kr08wg8z1p562awyr812131zqdsd83ly"))))
(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)
- ("pkg-config" ,pkg-config)))
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("xsltproc" ,libxslt)))
(propagated-inputs
`(("cairo" ,cairo)
("cairomm" ,cairomm)
- 64/91: gnu: at-spi2-core: Update home-page and license., (continued)
- 64/91: gnu: at-spi2-core: Update home-page and license., guix-commits, 2021/04/19
- 73/91: gnu: wayland-protocols: Update description., guix-commits, 2021/04/19
- 74/91: gnu: yelp-xsl: Enable documentation., guix-commits, 2021/04/19
- 80/91: gnu: gtk+: Enable cloud-providers support., guix-commits, 2021/04/19
- 84/91: gnu: ibus: Update to 1.5.24., guix-commits, 2021/04/19
- 61/91: gnu: Add atkmm-2.28., guix-commits, 2021/04/19
- 70/91: gnu: wayland: Update to 1.19.0., guix-commits, 2021/04/19
- 71/91: gnu: wayland: Fix and move documentation., guix-commits, 2021/04/19
- 83/91: gnu: gtkmm-2: Fix build., guix-commits, 2021/04/19
- 27/91: gnu: cairomm-1.13: Fix build., guix-commits, 2021/04/19
- 33/91: gnu: pangomm: Enable documentation.,
guix-commits <=
- 35/91: gnu: gdk-pixbuf: Add missing arguments., guix-commits, 2021/04/19
- 40/91: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., guix-commits, 2021/04/19
- 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