[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/124: gnu: glibmm: Enable documentation.
From: |
guix-commits |
Subject: |
11/124: gnu: glibmm: Enable documentation. |
Date: |
Tue, 17 Aug 2021 22:44:59 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit ce5ce23278db233b532d856d430b35b70b7a3b01
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Thu Mar 25 03:04:01 2021 -0400
gnu: glibmm: Enable documentation.
* gnu/packages/glib.scm (glibmm)[outputs]: New output "doc".
[arguments]<#:configure-flags>[-Dbuild-documentation]: New flag.
<#:phases>['move-doc]: New phase.
[native-inputs]: Add doxygen and graphviz.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
---
gnu/packages/glib.scm | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index ec8ea59..8f64d68 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -646,8 +646,12 @@ by GDBus included in Glib.")
(base32
"0xgkyhb2876mcyyib5rk3ya9aingyj68h02nl22yvkhx35rqbwy1"))))
(build-system meson-build-system)
+ (outputs '("out" "doc"))
(arguments
- `(#:phases
+ `(#:configure-flags
+ (list
+ "-Dbuild-documentation=true")
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'disable-failing-tests
(lambda _
@@ -658,9 +662,20 @@ by GDBus included in Glib.")
;; This test does a DNS lookup, and then expects to be able
;; to open a TLS session; just skip it.
(("[ \t]*.*giomm_tls_client.*$") ""))
- #t)))))
+ #t))
+ (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
- `(("glib:bin" ,glib "bin")
+ `(("dot" ,graphviz)
+ ("doxygen" ,doxygen)
+ ("glib:bin" ,glib "bin")
("m4" ,m4)
("mm-common" ,mm-common)
("perl" ,perl)
- branch wip-gnome created (now 8164fe4), guix-commits, 2021/08/17
- 02/124: gnu: glib: Update to 2.68.0., guix-commits, 2021/08/17
- 01/124: gnu: glib: Make some cosmetic changes., guix-commits, 2021/08/17
- 04/124: gnu: glib: Update synopsis, description and home-page., guix-commits, 2021/08/17
- 03/124: gnu: glib: Enable man pages., guix-commits, 2021/08/17
- 05/124: gnu: glib-with-documentation: Make some cosmetic changes., guix-commits, 2021/08/17
- 06/124: gnu: glib-with-documentation: Fix documentation build., guix-commits, 2021/08/17
- 07/124: gnu: Temporarily use glib without documentation., guix-commits, 2021/08/17
- 09/124: gnu: libsigc++: Enable documentation., guix-commits, 2021/08/17
- 10/124: gnu: glibmm: Update to 2.68.0., guix-commits, 2021/08/17
- 11/124: gnu: glibmm: Enable documentation.,
guix-commits <=
- 12/124: gnu: Add libsigc++-2., guix-commits, 2021/08/17
- 15/124: gnu: gtk-doc: Correct inputs., guix-commits, 2021/08/17
- 16/124: gnu: gtk-doc: Update to 1.32., guix-commits, 2021/08/17
- 13/124: gnu: glibmm-2.64: Update to 2.64.5., guix-commits, 2021/08/17
- 17/124: gnu: gtk-doc: Enable help., guix-commits, 2021/08/17
- 21/124: gnu: cairo: Change build-system., guix-commits, 2021/08/17
- 24/124: gnu: cairo: Update synopsis, description and license., guix-commits, 2021/08/17
- 27/124: gnu: cairomm-1.13: Fix build., guix-commits, 2021/08/17
- 28/124: gnu: pango: Add missing arguments., guix-commits, 2021/08/17
- 30/124: gnu: pango: Update to 1.48.3., guix-commits, 2021/08/17