[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/125: gnu: pangomm: Enable documentation.
From: |
guix-commits |
Subject: |
35/125: gnu: pangomm: Enable documentation. |
Date: |
Sat, 3 Jul 2021 21:17:21 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 524c9e3987f0d03595d8802ed23f3607fb0fe468
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)
- 23/125: gnu: cairo: Change build-system., (continued)
- 23/125: gnu: cairo: Change build-system., guix-commits, 2021/07/03
- 28/125: gnu: cairomm: Enable documentation., guix-commits, 2021/07/03
- 13/125: gnu: glibmm: Enable documentation., guix-commits, 2021/07/03
- 17/125: gnu: gtk-doc: Correct inputs., guix-commits, 2021/07/03
- 22/125: gnu: cairo: Make some cosmetic changes., guix-commits, 2021/07/03
- 25/125: gnu: cairo: Enable some features., guix-commits, 2021/07/03
- 26/125: gnu: cairo: Update synopsis, description and license., guix-commits, 2021/07/03
- 27/125: gnu: cairomm: Update to 1.16.0., guix-commits, 2021/07/03
- 05/125: gnu: glib: Enable man pages., guix-commits, 2021/07/03
- 16/125: gnu: gtk-doc: Change build-system., guix-commits, 2021/07/03
- 35/125: gnu: pangomm: Enable documentation.,
guix-commits <=
- 38/125: gnu: gdk-pixbuf: Correct inputs., guix-commits, 2021/07/03
- 42/125: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., guix-commits, 2021/07/03
- 20/125: gnu: gtk-doc: Update synopsis, description, home-page and license., guix-commits, 2021/07/03
- 24/125: gnu: cairo: Move documentation to separate output., guix-commits, 2021/07/03
- 32/125: gnu: pango: Update to 1.48.3., guix-commits, 2021/07/03
- 34/125: gnu: pangomm: Update to 2.48.0., guix-commits, 2021/07/03
- 37/125: gnu: gdk-pixbuf: Add missing arguments., guix-commits, 2021/07/03
- 39/125: gnu: gdk-pixbuf: Enable jasper support., guix-commits, 2021/07/03
- 40/125: gnu: gdk-pixbuf: Fix documentation., guix-commits, 2021/07/03
- 41/125: gnu: gdk-pixbuf: Update to 2.42.4., guix-commits, 2021/07/03