[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/124: gnu: cairomm: Enable documentation.
From: |
guix-commits |
Subject: |
26/124: gnu: cairomm: Enable documentation. |
Date: |
Sun, 5 Sep 2021 10:41:59 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit a5e8928b5f173c2421a76894d32676992616e27b
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)
- 17/124: gnu: gtk-doc: Enable help., (continued)
- 17/124: gnu: gtk-doc: Enable help., guix-commits, 2021/09/05
- 18/124: gnu: gtk-doc: Update synopsis, description, home-page and license., guix-commits, 2021/09/05
- 19/124: gnu: gobject-introspection: Propagate glib., guix-commits, 2021/09/05
- 23/124: gnu: cairo: Enable some features., guix-commits, 2021/09/05
- 24/124: gnu: cairo: Update synopsis, description and license., guix-commits, 2021/09/05
- 25/124: gnu: cairomm: Update to 1.16.0., guix-commits, 2021/09/05
- 30/124: gnu: pango: Update to 1.48.3., guix-commits, 2021/09/05
- 35/124: gnu: gdk-pixbuf: Add missing arguments., guix-commits, 2021/09/05
- 36/124: gnu: gdk-pixbuf: Correct inputs., guix-commits, 2021/09/05
- 37/124: gnu: gdk-pixbuf: Enable jasper support., guix-commits, 2021/09/05
- 26/124: gnu: cairomm: Enable documentation.,
guix-commits <=
- 31/124: gnu: pango: Update synopsis, description and home-page., guix-commits, 2021/09/05
- 32/124: gnu: pangomm: Update to 2.48.0., guix-commits, 2021/09/05
- 34/124: gnu: pangomm-2.42: Update to 2.42.2., guix-commits, 2021/09/05
- 38/124: gnu: gdk-pixbuf: Fix documentation., guix-commits, 2021/09/05
- 28/124: gnu: pango: Add missing arguments., guix-commits, 2021/09/05
- 39/124: gnu: gdk-pixbuf: Update to 2.42.4., guix-commits, 2021/09/05
- 43/124: gnu: vala: Change build-system., guix-commits, 2021/09/05
- 41/124: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2021/09/05
- 29/124: gnu: pango: Re-arrange inputs in alphabetical order., guix-commits, 2021/09/05
- 33/124: gnu: pangomm: Enable documentation., guix-commits, 2021/09/05