[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/115: gnu: pangomm: Enable documentation.
From: |
guix-commits |
Subject: |
33/115: gnu: pangomm: Enable documentation. |
Date: |
Wed, 12 May 2021 21:01:24 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 532ab27fe1aed593d7105590f431fcc320030312
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 cb5dd8f..4cb18cf 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1360,12 +1360,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)
- 100/115: gnu: gst-editing-services: Update to 1.18.4., (continued)
- 100/115: gnu: gst-editing-services: Update to 1.18.4., guix-commits, 2021/05/12
- 98/115: gnu: gst-plugins-bad: Update to 1.18.4., guix-commits, 2021/05/12
- 114/115: gnu: gtkmm@2: Override inheritance of certain changes from gtkmm., guix-commits, 2021/05/12
- 108/115: gnu: glib-networking: Update home-page, synopsis, description and license., guix-commits, 2021/05/12
- 112/115: gnu: python-pygobject: Update to 3.40.1., guix-commits, 2021/05/12
- 115/115: gnu: libsoup: Disable ssl-test., guix-commits, 2021/05/12
- 106/115: gnu: glib-networking: Update to 2.68.0., guix-commits, 2021/05/12
- 34/115: gnu: pangomm-2.42: Update to 2.42.2., guix-commits, 2021/05/12
- 42/115: gnu: gdk-pixbuf+svg: Correct package definition to include changes from gdk-pixbuf., guix-commits, 2021/05/12
- 17/115: gnu: gtk-doc: Enable help., guix-commits, 2021/05/12
- 33/115: gnu: pangomm: Enable documentation.,
guix-commits <=
- 38/115: gnu: gdk-pixbuf: Fix documentation., guix-commits, 2021/05/12
- 41/115: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2021/05/12
- 40/115: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., guix-commits, 2021/05/12
- 47/115: gnu: vala: Update synopsis and description., guix-commits, 2021/05/12
- 51/115: gnu: libgsf: Enable missing features., guix-commits, 2021/05/12
- 54/115: gnu: libgsf: Update synopsis, description, home-page and license., guix-commits, 2021/05/12
- 57/115: gnu: atk: Update home-page and license., guix-commits, 2021/05/12
- 70/115: gnu: wayland: Update to 1.19.0., guix-commits, 2021/05/12
- 64/115: gnu: at-spi2-core: Update home-page and license., guix-commits, 2021/05/12
- 61/115: gnu: Add atkmm-2.28., guix-commits, 2021/05/12