[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
286/377: gnu: pangomm: Enable documentation.
From: |
guix-commits |
Subject: |
286/377: gnu: pangomm: Enable documentation. |
Date: |
Sun, 5 Sep 2021 10:08:10 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 357de5b5148cabdfa8f3ba530d04b9e2a99e9468
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Thu Mar 25 07:47:41 2021 -0400
gnu: pangomm: Enable documentation.
* gnu/packages/gtk.scm (pangomm)[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 | 25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 837f799..26e1ff9 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1361,12 +1361,31 @@ library.")
(base32
"0y2vyp6azvhrii6rzs89kr08wg8z1p562awyr812131zqdsd83ly"))))
(build-system meson-build-system)
+ (outputs '("out" "doc"))
(arguments
- `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ (list
+ "-Dbuild-documentation=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
- `(("m4" ,m4)
+ `(("dot" ,graphviz)
+ ("doxygen" ,doxygen)
+ ("m4" ,m4)
("mm-common" ,mm-common)
- ("pkg-config" ,pkg-config)))
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("xsltproc" ,libxslt)))
(propagated-inputs
`(("cairo" ,cairo)
("cairomm" ,cairomm)
- 377/377: gnu: glib-networking: Disable openssl support., (continued)
- 377/377: gnu: glib-networking: Disable openssl support., guix-commits, 2021/09/05
- 320/377: gnu: json-glib: Update to 1.6.2., guix-commits, 2021/09/05
- 332/377: gnu: gtk+: Add missing inputs., guix-commits, 2021/09/05
- 361/377: gnu: glib-networking: Update home-page, synopsis, description and license., guix-commits, 2021/09/05
- 363/377: gnu: w3m: Update to 0.5.3+git20210102., guix-commits, 2021/09/05
- 364/377: gnu: python-pycairo: Update to 1.20.0., guix-commits, 2021/09/05
- 368/377: gnu: libsoup: Disable ssl-test., guix-commits, 2021/09/05
- 374/377: gnu: tracker-miners: Update to 3.1.1 and make related changes., guix-commits, 2021/09/05
- 375/377: gnu: tracker-miners: Enable some features., guix-commits, 2021/09/05
- 284/377: gnu: pango: Update synopsis, description and home-page., guix-commits, 2021/09/05
- 286/377: gnu: pangomm: Enable documentation.,
guix-commits <=
- 287/377: gnu: pangomm-2.42: Update to 2.42.2., guix-commits, 2021/09/05
- 288/377: gnu: gdk-pixbuf: Add missing arguments., guix-commits, 2021/09/05
- 292/377: gnu: gdk-pixbuf: Update to 2.42.4., guix-commits, 2021/09/05
- 298/377: gnu: vala: Fix documentation., guix-commits, 2021/09/05
- 299/377: gnu: vala: Update to 0.52.0., guix-commits, 2021/09/05
- 303/377: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/09/05
- 304/377: gnu: libgsf: Enable missing features., guix-commits, 2021/09/05
- 306/377: gnu: libgsf: Enable documentation., guix-commits, 2021/09/05
- 307/377: gnu: libgsf: Update synopsis, description, home-page and license., guix-commits, 2021/09/05
- 312/377: gnu: atkmm: Enable documentation., guix-commits, 2021/09/05