[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/83: gnu: pangomm: Enable documentation.
From: |
guix-commits |
Subject: |
33/83: gnu: pangomm: Enable documentation. |
Date: |
Fri, 26 Mar 2021 17:18:31 -0400 (EDT) |
lle_bout pushed a commit to branch core-updates
in repository guix.
commit 9d51bb87d2e52da760ee1786c282ac9c8716e82c
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 e1ae39a..956e234 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1363,12 +1363,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)
- 40/83: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., (continued)
- 40/83: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., guix-commits, 2021/03/26
- 41/83: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2021/03/26
- 42/83: gnu: gdk-pixbuf+svg: Correct package definition to include changes from gdk-pixbuf., guix-commits, 2021/03/26
- 43/83: gnu: vala: Change build-system., guix-commits, 2021/03/26
- 44/83: gnu: vala: Enable coverage support., guix-commits, 2021/03/26
- 53/83: gnu: libgsf: Enable documentation., guix-commits, 2021/03/26
- 56/83: gnu: atk: Update to 2.36.0., guix-commits, 2021/03/26
- 21/83: gnu: cairo: Change build-system., guix-commits, 2021/03/26
- 22/83: gnu: cairo: Move documentation to separate output., guix-commits, 2021/03/26
- 27/83: gnu: cairomm-1.13: Fix build., guix-commits, 2021/03/26
- 33/83: gnu: pangomm: Enable documentation.,
guix-commits <=
- 28/83: gnu: pango: Add missing arguments., guix-commits, 2021/03/26
- 36/83: gnu: gdk-pixbuf: Correct inputs., guix-commits, 2021/03/26
- 39/83: gnu: gdk-pixbuf: Update to 2.42.4., guix-commits, 2021/03/26
- 47/83: gnu: vala: Update synopsis and description., guix-commits, 2021/03/26
- 49/83: gnu: libgsf: Make separate output for binaries., guix-commits, 2021/03/26
- 50/83: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/03/26
- 29/83: gnu: pango: Re-arrange inputs in alphabetical order., guix-commits, 2021/03/26
- 31/83: gnu: pango: Update synopsis, description and home-page., guix-commits, 2021/03/26
- 32/83: gnu: pangomm: Update to 2.48.0., guix-commits, 2021/03/26
- 37/83: gnu: gdk-pixbuf: Enable jasper support., guix-commits, 2021/03/26