[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/91: gnu: cairomm: Enable documentation.
From: |
guix-commits |
Subject: |
26/91: gnu: cairomm: Enable documentation. |
Date: |
Mon, 19 Apr 2021 17:14:01 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit d2a15a12062fb644ee67de62bab2c66036b9c634
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Thu Mar 25 07:07:14 2021 -0400
gnu: cairomm: Enable documentation.
* gnu/packages/gtk.scm (cairomm)[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 | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index bd554ee..445590c 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1278,15 +1278,32 @@ guile-gnome-platform (GNOME developer libraries), and
guile-gtksourceview.")
(base32
"1ya4y7qa000cjawqwswbqv26y5icfkmhs5iiiil4dxgrqn91923y"))))
(build-system meson-build-system)
+ (outputs '("out" "doc"))
(arguments
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:configure-flags
(list
- "-Dboost-shared=true")))
+ "-Dbuild-documentation=true"
+ "-Dboost-shared=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
`(("boost" ,boost)
+ ("dot" ,graphviz)
+ ("doxygen" ,doxygen)
("mm-common" ,mm-common)
- ("pkg-config" ,pkg-config)))
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("xsltproc" ,libxslt)))
(propagated-inputs
`(("libsigc++" ,libsigc++)
("freetype" ,freetype)
- 37/91: gnu: gdk-pixbuf: Enable jasper support., (continued)
- 37/91: gnu: gdk-pixbuf: Enable jasper support., guix-commits, 2021/04/19
- 45/91: gnu: vala: Fix documentation., guix-commits, 2021/04/19
- 44/91: gnu: vala: Enable coverage support., guix-commits, 2021/04/19
- 43/91: gnu: vala: Change build-system., guix-commits, 2021/04/19
- 47/91: gnu: vala: Update synopsis and description., guix-commits, 2021/04/19
- 50/91: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/04/19
- 54/91: gnu: libgsf: Update synopsis, description, home-page and license., guix-commits, 2021/04/19
- 55/91: gnu: atk: Re-arrange inputs in alphabetical order., guix-commits, 2021/04/19
- 20/91: gnu: cairo: Make some cosmetic changes., guix-commits, 2021/04/19
- 22/91: gnu: cairo: Move documentation to separate output., guix-commits, 2021/04/19
- 26/91: gnu: cairomm: Enable documentation.,
guix-commits <=
- 30/91: gnu: pango: Update to 1.48.3., guix-commits, 2021/04/19
- 34/91: gnu: pangomm-2.42: Update to 2.42.2., guix-commits, 2021/04/19
- 36/91: gnu: gdk-pixbuf: Correct inputs., guix-commits, 2021/04/19
- 52/91: gnu: libgsf: Correct inputs., guix-commits, 2021/04/19
- 58/91: gnu: atkmm: Update to 2.36.0., guix-commits, 2021/04/19
- 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