[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/83: gnu: cairomm: Enable documentation.
From: |
guix-commits |
Subject: |
26/83: gnu: cairomm: Enable documentation. |
Date: |
Fri, 26 Mar 2021 17:18:29 -0400 (EDT) |
lle_bout pushed a commit to branch core-updates
in repository guix.
commit ca81e057b2b6c6b7b3dc8598c84d81d6bbb16512
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 82d59ed..4c3514c 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1274,15 +1274,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)
- 49/83: gnu: libgsf: Make separate output for binaries., (continued)
- 49/83: gnu: libgsf: Make separate output for binaries., guix-commits, 2021/03/26
- 50/83: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/03/26
- 29/83: gnu: pango: Re-arrange inputs in alphabetical order., guix-commits, 2021/03/26
- 31/83: gnu: pango: Update synopsis, description and home-page., guix-commits, 2021/03/26
- 32/83: gnu: pangomm: Update to 2.48.0., guix-commits, 2021/03/26
- 37/83: gnu: gdk-pixbuf: Enable jasper support., guix-commits, 2021/03/26
- 48/83: gnu: libgsf: Change build-system., guix-commits, 2021/03/26
- 63/83: gnu: at-spi2-core: Fix documentation., guix-commits, 2021/03/26
- 67/83: gnu: json-glib: Update to 1.6.2., guix-commits, 2021/03/26
- 68/83: gnu: json-glib: Enable documentation and man-pages., guix-commits, 2021/03/26
- 26/83: gnu: cairomm: Enable documentation.,
guix-commits <=
- 30/83: gnu: pango: Update to 1.48.3., guix-commits, 2021/03/26
- 45/83: gnu: vala: Fix documentation., guix-commits, 2021/03/26
- 46/83: gnu: vala: Update to 0.52.0., guix-commits, 2021/03/26
- 54/83: gnu: libgsf: Update synopsis, description, home-page and license., guix-commits, 2021/03/26
- 52/83: gnu: libgsf: Correct inputs., guix-commits, 2021/03/26
- 51/83: gnu: libgsf: Enable missing features., guix-commits, 2021/03/26
- 55/83: gnu: atk: Re-arrange inputs in alphabetical order., guix-commits, 2021/03/26
- 58/83: gnu: atkmm: Update to 2.36.0., guix-commits, 2021/03/26
- 60/83: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/03/26
- 66/83: gnu: at-spi2-atk: Update home-page and license., guix-commits, 2021/03/26