[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/91: gnu: libgsf: Enable documentation.
From: |
guix-commits |
Subject: |
53/91: gnu: libgsf: Enable documentation. |
Date: |
Mon, 19 Apr 2021 17:14:10 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit a75f6b9a4a0148bbd480c5cfde5a6202b8b48951
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Thu Mar 11 12:20:52 2021 -0500
gnu: libgsf: Enable documentation.
* gnu/packages/gnome.scm (libgsf) [outputs]: New output "doc".
[arguments]<#:configure-flags>[--with-html-dir]: New flag.
[native-inputs]: Add docbook-xml.
Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
---
gnu/packages/gnome.scm | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index dce405b..db8d3f6 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3272,7 +3272,7 @@ XML/CSS rendering engine.")
(base32
"0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i"))))
(build-system glib-or-gtk-build-system)
- (outputs '("out" "bin"))
+ (outputs '("out" "bin" "doc"))
(arguments
`(#:configure-flags
(list
@@ -3290,10 +3290,24 @@ XML/CSS rendering engine.")
,(version-major
(package-version gobject-introspection))
".0")
+ (string-append "--with-html-dir="
+ (assoc-ref %outputs "doc")
+ "/share/gtk-doc/html")
"--with-zlib"
- "--with-bz2")))
+ "--with-bz2")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "doc"
+ (substitute* "gsf-docs.xml"
+ (("http://www.oasis-open.org/docbook/xml/4.5/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t)))))
(native-inputs
- `(("gettext" ,gettext-minimal)
+ `(("docbook-xml" ,docbook-xml)
+ ("gettext" ,gettext-minimal)
("gobject-introspection" ,gobject-introspection)
("perl" ,perl)
("perl-xml-parser" ,perl-xml-parser)
- 68/91: gnu: json-glib: Enable documentation and man-pages., (continued)
- 68/91: gnu: json-glib: Enable documentation and man-pages., guix-commits, 2021/04/19
- 76/91: gnu: gtk+-2: Add missing inputs and search-path., guix-commits, 2021/04/19
- 78/91: gnu: gtk+: Enable tests., guix-commits, 2021/04/19
- 79/91: gnu: gtk+: Add missing inputs., guix-commits, 2021/04/19
- 82/91: gnu: gtkmm: Update to 3.24.4., guix-commits, 2021/04/19
- 85/91: gnu: ibus: Enable documentation., guix-commits, 2021/04/19
- 88/91: gnu: ibus: Remove trailing #t in phases., guix-commits, 2021/04/19
- 29/91: gnu: pango: Re-arrange inputs in alphabetical order., guix-commits, 2021/04/19
- 28/91: gnu: pango: Add missing arguments., guix-commits, 2021/04/19
- 31/91: gnu: pango: Update synopsis, description and home-page., guix-commits, 2021/04/19
- 53/91: gnu: libgsf: Enable documentation.,
guix-commits <=
- 63/91: gnu: at-spi2-core: Fix documentation., guix-commits, 2021/04/19
- 75/91: gnu: gtk+-2: Enable tests., guix-commits, 2021/04/19
- 87/91: gnu: ibus: Enable tests., guix-commits, 2021/04/19
- 89/91: gnu: iqa: Correct source uri., guix-commits, 2021/04/19
- 90/91: gnu: faac: Correct source uri., guix-commits, 2021/04/19
- 91/91: gnu: zbar: Update to 0.23.90., guix-commits, 2021/04/19