[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/115: gnu: libgsf: Enable documentation.
From: |
guix-commits |
Subject: |
53/115: gnu: libgsf: Enable documentation. |
Date: |
Fri, 7 May 2021 16:56:36 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit eb66372fadea5efe2b03e0bc7a47ec8a0fe961ef
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 6c609ce..c291ab9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3260,7 +3260,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
@@ -3278,10 +3278,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)
- 36/115: gnu: gdk-pixbuf: Correct inputs., (continued)
- 36/115: gnu: gdk-pixbuf: Correct inputs., guix-commits, 2021/05/07
- 31/115: gnu: pango: Update synopsis, description and home-page., guix-commits, 2021/05/07
- 40/115: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., guix-commits, 2021/05/07
- 32/115: gnu: pangomm: Update to 2.48.0., guix-commits, 2021/05/07
- 29/115: gnu: pango: Re-arrange inputs in alphabetical order., guix-commits, 2021/05/07
- 33/115: gnu: pangomm: Enable documentation., guix-commits, 2021/05/07
- 44/115: gnu: vala: Enable coverage support., guix-commits, 2021/05/07
- 45/115: gnu: vala: Fix documentation., guix-commits, 2021/05/07
- 46/115: gnu: vala: Update to 0.52.0., guix-commits, 2021/05/07
- 50/115: gnu: libgsf: Re-arrange inputs in alphabetical order., guix-commits, 2021/05/07
- 53/115: gnu: libgsf: Enable documentation.,
guix-commits <=
- 57/115: gnu: atk: Update home-page and license., guix-commits, 2021/05/07
- 59/115: gnu: atkmm: Enable documentation., guix-commits, 2021/05/07
- 60/115: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/05/07
- 63/115: gnu: at-spi2-core: Fix documentation., guix-commits, 2021/05/07
- 66/115: gnu: at-spi2-atk: Update home-page and license., guix-commits, 2021/05/07
- 83/115: gnu: gtkmm-2: Fix build., guix-commits, 2021/05/07
- 86/115: gnu: ibus: Enable memconf., guix-commits, 2021/05/07
- 21/115: gnu: cairo: Change build-system., guix-commits, 2021/05/07
- 47/115: gnu: vala: Update synopsis and description., guix-commits, 2021/05/07
- 54/115: gnu: libgsf: Update synopsis, description, home-page and license., guix-commits, 2021/05/07