[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/122: gnu: libgsf: Enable documentation.
From: |
guix-commits |
Subject: |
53/122: gnu: libgsf: Enable documentation. |
Date: |
Fri, 11 Jun 2021 12:12:05 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 94b2ff0911323716adb82ed3a145fc7b9b58a78f
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 600e5b2..40ad24f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3269,7 +3269,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
@@ -3287,10 +3287,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)
- 41/122: gnu: gdk-pixbuf: Disable failing tests., (continued)
- 41/122: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2021/06/11
- 38/122: gnu: gdk-pixbuf: Fix documentation., guix-commits, 2021/06/11
- 35/122: gnu: gdk-pixbuf: Add missing arguments., guix-commits, 2021/06/11
- 32/122: gnu: pangomm: Update to 2.48.0., guix-commits, 2021/06/11
- 34/122: gnu: pangomm-2.42: Update to 2.42.2., guix-commits, 2021/06/11
- 42/122: gnu: gdk-pixbuf+svg: Correct package definition to include changes from gdk-pixbuf., guix-commits, 2021/06/11
- 43/122: gnu: vala: Change build-system., guix-commits, 2021/06/11
- 48/122: gnu: libgsf: Change build-system., guix-commits, 2021/06/11
- 49/122: gnu: libgsf: Make separate output for binaries., guix-commits, 2021/06/11
- 51/122: gnu: libgsf: Enable missing features., guix-commits, 2021/06/11
- 53/122: gnu: libgsf: Enable documentation.,
guix-commits <=
- 58/122: gnu: atkmm: Update to 2.36.0., guix-commits, 2021/06/11
- 57/122: gnu: atk: Update home-page and license., guix-commits, 2021/06/11
- 61/122: gnu: Add atkmm-2.28., guix-commits, 2021/06/11
- 60/122: gnu: atkmm: Update synopsis, description, home-page and license., guix-commits, 2021/06/11
- 24/122: gnu: cairo: Update synopsis, description and license., guix-commits, 2021/06/11
- 40/122: gnu: gdk-pixbuf: Update synopsis, description, home-page and license., guix-commits, 2021/06/11
- 39/122: gnu: gdk-pixbuf: Update to 2.42.4., guix-commits, 2021/06/11
- 47/122: gnu: vala: Update synopsis and description., guix-commits, 2021/06/11
- 63/122: gnu: at-spi2-core: Fix documentation., guix-commits, 2021/06/11
- 72/122: gnu: wayland: Update synopsis, description and license., guix-commits, 2021/06/11