[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65479] [PATCH core-updates v2 23/62] gnu: gtk-doc: Add libxslt nati
From: |
Bruno Victal |
Subject: |
[bug#65479] [PATCH core-updates v2 23/62] gnu: gtk-doc: Add libxslt native-search-paths to its own. |
Date: |
Sat, 23 Sep 2023 15:19:58 +0100 |
Grepping through the built package, gtk-doc invokes 'xsltproc' so we propagate
the search paths in order for 'xsltproc' to find the XML/SGML catalog files.
Note that due to a module cycle we must duplicate it instead of using
'(package-native-search-paths libxslt)'.
* gnu/packages/gtk.scm (gtk-doc)[native-search-paths]: Add $SGML_CATALOG_FILES
and $XML_CATALOG_FILES.
---
gnu/packages/gtk.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 0d6df1f583..082039fa6e 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,12 @@ (define-public gtk-doc
python-pygments
source-highlight
yelp-tools))
+ (native-search-paths
+ ;; xsltproc's search paths, to avoid propagating libxslt.
+ ;; XXX: There's a module cycle as (gnu packages xml) imports
+ ;; (gnu packages gtk) so we can't use (package-native-search-paths …)
+ ;; and must duplicate it here instead.
+ (list $SGML_CATALOG_FILES $XML_CATALOG_FILES))
(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
- [bug#65479] [PATCH core-updates v2 00/62] Docbook & XML/SGML improvements., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 01/62] gnu: docbook-xml: Fix installation paths., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 22/62] gnu: xmlto: Add libxslt native-search-paths to its own., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 03/62] gnu: docbook-xml-5.1: Fix URIs in catalog.xml., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 10/62] gnu: docbook2x: Split documentation., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 19/62] gnu: lilypond: Use dblatex/stable., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 04/62] gnu: docbook-xsl: Add compatibility entry., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 20/62] gnu: docbook2x: Set search-paths for XML and SGML catalogs., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 13/62] gnu: libxml2: Add SGML_CATALOG_FILES to native-search-path., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 28/62] gnu: udisks: Rewrite using G-Expressions., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 23/62] gnu: gtk-doc: Add libxslt native-search-paths to its own.,
Bruno Victal <=
- [bug#65479] [PATCH core-updates v2 08/62] gnu: docbook2x: Import patches from debian., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 05/62] gnu: docbook-xsl: Add rewrite entries for http., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 31/62] gnu: criu: Drop xmlto workaround., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 06/62] gnu: docbook: Remove leftovers., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 18/62] gnu: dblatex: Fix missing texlive binaries., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 12/62] search-paths: Add $XML_CATALOG_FILES and $SGML_CATALOG_FILES., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 11/62] gnu: libxml2: Rewrite using G-Expressions., Bruno Victal, 2023/09/23
- [bug#65479] [PATCH core-updates v2 21/62] gnu: xmlto: Rewrite with G-Expressions., Bruno Victal, 2023/09/23