gnu: gtk-doc: Add libxslt native-search-paths to its own.

Grepping through the built package, gtk-doc invokes 'xsltproc' so we add
%libxslt-search-paths to native-search-paths in order for 'xsltproc' to find
the XML/SGML catalog files.

* gnu/packages/gtk.scm (gtk-doc)[native-search-paths]: Add %libxslt-search-paths.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Bruno Victal 2023-10-09 21:06:13 +01:00 committed by Ludovic Courtès
parent f678c5f932
commit 1e41770dfe
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -61,6 +61,7 @@ (define-module (gnu packages gtk)
#:use-module (guix download)
#:use-module (guix bzr-download)
#:use-module (guix git-download)
#:use-module (guix search-paths)
#:use-module ((guix build utils) #:select (alist-replace))
#:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
@ -2316,6 +2317,8 @@ (define-public gtk-doc
python-pygments
source-highlight
yelp-tools))
;; xsltproc's search paths, to avoid propagating libxslt.
(native-search-paths %libxslt-search-paths)
(home-page "https://wiki.gnome.org/DocumentationProject/GtkDoc")
(synopsis "GTK+ DocBook Documentation Generator")
(description "GtkDoc is a tool used to extract API documentation from C-code