[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/124: gnu: libgsf: Enable documentation.
From: |
guix-commits |
Subject: |
53/124: gnu: libgsf: Enable documentation. |
Date: |
Sun, 5 Sep 2021 10:42:08 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 67c1bdb6a72d16ec101181d806330911b298c192
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 4f99735..fb89783 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3276,7 +3276,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
@@ -3294,10 +3294,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)
- 46/124: gnu: vala: Update to 0.52.0., (continued)
- 46/124: gnu: vala: Update to 0.52.0., guix-commits, 2021/09/05
- 48/124: gnu: libgsf: Change build-system., guix-commits, 2021/09/05
- 49/124: gnu: libgsf: Make separate output for binaries., guix-commits, 2021/09/05
- 50/124: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/09/05
- 51/124: gnu: libgsf: Enable missing features., guix-commits, 2021/09/05
- 52/124: gnu: libgsf: Correct inputs., guix-commits, 2021/09/05
- 55/124: gnu: atk: Re-arrange inputs in alphabetical order., guix-commits, 2021/09/05
- 58/124: gnu: atkmm: Update to 2.36.0., guix-commits, 2021/09/05
- 69/124: gnu: json-glib: Update synopsis and description., guix-commits, 2021/09/05
- 54/124: gnu: libgsf: Update synopsis, description, home-page and license., guix-commits, 2021/09/05
- 53/124: gnu: libgsf: Enable documentation.,
guix-commits <=
- 57/124: gnu: atk: Update home-page and license., guix-commits, 2021/09/05
- 59/124: gnu: atkmm: Enable documentation., guix-commits, 2021/09/05
- 60/124: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/09/05
- 61/124: gnu: Add atkmm-2.28., guix-commits, 2021/09/05
- 62/124: gnu: at-spi2-core: Update to 2.40.0., guix-commits, 2021/09/05
- 63/124: gnu: at-spi2-core: Fix documentation., guix-commits, 2021/09/05
- 64/124: gnu: at-spi2-core: Update home-page and license., guix-commits, 2021/09/05
- 65/124: gnu: at-spi2-atk: Update to 2.38.0., guix-commits, 2021/09/05
- 67/124: gnu: json-glib: Update to 1.6.2., guix-commits, 2021/09/05
- 71/124: gnu: wayland: Fix and move documentation., guix-commits, 2021/09/05