[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/126: gnu: libgsf: Enable documentation.
From: |
guix-commits |
Subject: |
53/126: gnu: libgsf: Enable documentation. |
Date: |
Mon, 6 Sep 2021 15:53:39 -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)
- 48/126: gnu: libgsf: Change build-system., (continued)
- 48/126: gnu: libgsf: Change build-system., guix-commits, 2021/09/06
- 49/126: gnu: libgsf: Make separate output for binaries., guix-commits, 2021/09/06
- 31/126: gnu: pango: Update synopsis, description and home-page., guix-commits, 2021/09/06
- 37/126: gnu: gdk-pixbuf: Enable jasper support., guix-commits, 2021/09/06
- 38/126: gnu: gdk-pixbuf: Fix documentation., guix-commits, 2021/09/06
- 41/126: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2021/09/06
- 44/126: gnu: vala: Enable coverage support., guix-commits, 2021/09/06
- 42/126: gnu: gdk-pixbuf+svg: Correct package definition to include changes from gdk-pixbuf., guix-commits, 2021/09/06
- 46/126: gnu: vala: Update to 0.52.0., guix-commits, 2021/09/06
- 50/126: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/09/06
- 53/126: gnu: libgsf: Enable documentation.,
guix-commits <=
- 54/126: gnu: libgsf: Update synopsis, description, home-page and license., guix-commits, 2021/09/06
- 57/126: gnu: atk: Update home-page and license., guix-commits, 2021/09/06
- 58/126: gnu: atkmm: Update to 2.36.0., guix-commits, 2021/09/06
- 56/126: gnu: atk: Update to 2.36.0., guix-commits, 2021/09/06
- 52/126: gnu: libgsf: Correct inputs., guix-commits, 2021/09/06
- 60/126: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/09/06
- 61/126: gnu: Add atkmm-2.28., guix-commits, 2021/09/06
- 62/126: gnu: at-spi2-core: Update to 2.40.0., guix-commits, 2021/09/06
- 64/126: gnu: at-spi2-core: Update home-page and license., guix-commits, 2021/09/06
- 65/126: gnu: at-spi2-atk: Update to 2.38.0., guix-commits, 2021/09/06