[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/115: gnu: cairomm: Enable documentation.
From: |
guix-commits |
Subject: |
26/115: gnu: cairomm: Enable documentation. |
Date: |
Fri, 7 May 2021 16:56:27 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 5f2f0baf0ec95dca0de5a1c928e2e656735f5481
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 a97830d..5e73327 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1269,15 +1269,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)
- 51/115: gnu: libgsf: Enable missing features., (continued)
- 51/115: gnu: libgsf: Enable missing features., guix-commits, 2021/05/07
- 06/115: gnu: glib-with-documentation: Fix documentation build., guix-commits, 2021/05/07
- 07/115: gnu: Temporarily use glib without documentation., guix-commits, 2021/05/07
- 16/115: gnu: gtk-doc: Update to 1.32., guix-commits, 2021/05/07
- 15/115: gnu: gtk-doc: Correct inputs., guix-commits, 2021/05/07
- 14/115: gnu: gtk-doc: Change build-system., guix-commits, 2021/05/07
- 23/115: gnu: cairo: Enable some features., guix-commits, 2021/05/07
- 24/115: gnu: cairo: Update synopsis, description and license., guix-commits, 2021/05/07
- 28/115: gnu: pango: Add missing arguments., guix-commits, 2021/05/07
- 25/115: gnu: cairomm: Update to 1.16.0., guix-commits, 2021/05/07
- 26/115: gnu: cairomm: Enable documentation.,
guix-commits <=
- 41/115: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2021/05/07
- 36/115: gnu: gdk-pixbuf: Correct inputs., guix-commits, 2021/05/07
- 31/115: gnu: pango: Update synopsis, description and home-page., guix-commits, 2021/05/07
- 40/115: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., guix-commits, 2021/05/07
- 32/115: gnu: pangomm: Update to 2.48.0., guix-commits, 2021/05/07
- 29/115: gnu: pango: Re-arrange inputs in alphabetical order., guix-commits, 2021/05/07
- 33/115: gnu: pangomm: Enable documentation., guix-commits, 2021/05/07
- 44/115: gnu: vala: Enable coverage support., guix-commits, 2021/05/07
- 45/115: gnu: vala: Fix documentation., guix-commits, 2021/05/07
- 46/115: gnu: vala: Update to 0.52.0., guix-commits, 2021/05/07