guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#65479] [PATCH core-updates v3 25/63] gnu: gtk-doc: Add libxslt nati


From: Bruno Victal
Subject: [bug#65479] [PATCH core-updates v3 25/63] gnu: gtk-doc: Add libxslt native-search-paths to its own.
Date: Mon, 9 Oct 2023 21:06:13 +0100

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.
---
 gnu/packages/gtk.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 0d6df1f583..33bde29cb2 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -60,6 +60,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)
@@ -2227,6 +2228,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
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]