[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
279/377: gnu: cairomm: Enable documentation.
From: |
guix-commits |
Subject: |
279/377: gnu: cairomm: Enable documentation. |
Date: |
Thu, 2 Sep 2021 17:55:56 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit ce171d9f73f21cf561987c9d66df13d8e06ba014
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 d2fe9d3..0e39874 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1272,15 +1272,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)
- 224/377: gnu: extra-cmake-modules: Avoid dependency on qtbase when on armhf., (continued)
- 224/377: gnu: extra-cmake-modules: Avoid dependency on qtbase when on armhf., guix-commits, 2021/09/02
- 225/377: build: Build (gnu system setuid)., guix-commits, 2021/09/02
- 236/377: gnu: Add python-svgutils., guix-commits, 2021/09/02
- 245/377: gnu: python-scikit-learn: Update to 0.24.2., guix-commits, 2021/09/02
- 244/377: gnu: python-anndata: Fetch sources from git., guix-commits, 2021/09/02
- 243/377: gnu: python-scanpy: Update to 1.8.1., guix-commits, 2021/09/02
- 264/377: gnu: glibmm: Enable documentation., guix-commits, 2021/09/02
- 269/377: gnu: gtk-doc: Update to 1.32., guix-commits, 2021/09/02
- 247/377: gnu: Add python-coolbox., guix-commits, 2021/09/02
- 263/377: gnu: glibmm: Update to 2.68.0., guix-commits, 2021/09/02
- 279/377: gnu: cairomm: Enable documentation.,
guix-commits <=
- 249/377: gnu: go-github-com-gdamore-tcell: Correct license to Apache 2.0., guix-commits, 2021/09/02
- 260/377: gnu: Temporarily use glib without documentation., guix-commits, 2021/09/02
- 273/377: gnu: cairo: Make some cosmetic changes., guix-commits, 2021/09/02
- 254/377: gnu: glib: Make some cosmetic changes., guix-commits, 2021/09/02
- 267/377: gnu: gtk-doc: Change build-system., guix-commits, 2021/09/02
- 275/377: gnu: cairo: Move documentation to separate output., guix-commits, 2021/09/02
- 276/377: gnu: cairo: Enable some features., guix-commits, 2021/09/02
- 253/377: gnu: harmonist: Update to 0.4.1., guix-commits, 2021/09/02
- 258/377: gnu: glib-with-documentation: Make some cosmetic changes., guix-commits, 2021/09/02
- 252/377: gnu: Add go-github-com-anaseto-gruid-tcell., guix-commits, 2021/09/02