[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/122: gnu: pangomm: Enable documentation.
From: |
guix-commits |
Subject: |
33/122: gnu: pangomm: Enable documentation. |
Date: |
Wed, 30 Jun 2021 18:26:25 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit bb197ca05a21d0d98bee029d48b5279b74386311
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 1b914b5..f9e2fb9 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1360,12 +1360,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)
- 49/122: gnu: libgsf: Make separate output for binaries., (continued)
- 49/122: gnu: libgsf: Make separate output for binaries., guix-commits, 2021/06/30
- 52/122: gnu: libgsf: Correct inputs., guix-commits, 2021/06/30
- 56/122: gnu: atk: Update to 2.36.0., guix-commits, 2021/06/30
- 58/122: gnu: atkmm: Update to 2.36.0., guix-commits, 2021/06/30
- 48/122: gnu: libgsf: Change build-system., guix-commits, 2021/06/30
- 50/122: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/06/30
- 51/122: gnu: libgsf: Enable missing features., guix-commits, 2021/06/30
- 46/122: gnu: vala: Update to 0.52.0., guix-commits, 2021/06/30
- 55/122: gnu: atk: Re-arrange inputs in alphabetical order., guix-commits, 2021/06/30
- 32/122: gnu: pangomm: Update to 2.48.0., guix-commits, 2021/06/30
- 33/122: gnu: pangomm: Enable documentation.,
guix-commits <=
- 47/122: gnu: vala: Update synopsis and description., guix-commits, 2021/06/30
- 53/122: gnu: libgsf: Enable documentation., guix-commits, 2021/06/30
- 57/122: gnu: atk: Update home-page and license., guix-commits, 2021/06/30
- 60/122: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/06/30
- 62/122: gnu: at-spi2-core: Update to 2.40.0., guix-commits, 2021/06/30
- 64/122: gnu: at-spi2-core: Update home-page and license., guix-commits, 2021/06/30
- 65/122: gnu: at-spi2-atk: Update to 2.38.0., guix-commits, 2021/06/30
- 66/122: gnu: at-spi2-atk: Update home-page and license., guix-commits, 2021/06/30
- 73/122: gnu: wayland-protocols: Update description., guix-commits, 2021/06/30
- 78/122: gnu: gtk+: Enable tests., guix-commits, 2021/06/30