[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/115: gnu: pangomm: Enable documentation.
From: |
guix-commits |
Subject: |
33/115: gnu: pangomm: Enable documentation. |
Date: |
Fri, 7 May 2021 16:56:30 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit fbfea9c0b01bc9c049f24c111cb4f6b2d87160ec
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 8d30c03..f33bf2b 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1358,12 +1358,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)
- 24/115: gnu: cairo: Update synopsis, description and license., (continued)
- 24/115: gnu: cairo: Update synopsis, description and license., guix-commits, 2021/05/07
- 28/115: gnu: pango: Add missing arguments., guix-commits, 2021/05/07
- 25/115: gnu: cairomm: Update to 1.16.0., guix-commits, 2021/05/07
- 26/115: gnu: cairomm: Enable documentation., guix-commits, 2021/05/07
- 41/115: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2021/05/07
- 36/115: gnu: gdk-pixbuf: Correct inputs., guix-commits, 2021/05/07
- 31/115: gnu: pango: Update synopsis, description and home-page., guix-commits, 2021/05/07
- 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 <=
- 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, 2021/05/07
- 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