36 lines
1.4 KiB
Diff
36 lines
1.4 KiB
Diff
From a392f3ef205bd8d8f2fa0e298a869d8abc481728 Mon Sep 17 00:00:00 2001
|
||
From: Jan Tojnar <jtojnar@gmail.com>
|
||
Date: Sun, 2 Mar 2025 22:29:13 +0100
|
||
Subject: [PATCH] Revert "meson: update stylesheet url"
|
||
MIME-Version: 1.0
|
||
Content-Type: text/plain; charset=UTF-8
|
||
Content-Transfer-Encoding: 8bit
|
||
|
||
The change is incorrect.
|
||
|
||
`http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl` is the variant of the stylesheet that does not use namespaces and will produce a broken manual page. https://gitlab.gnome.org/GNOME/libnotify/-/commit/162d1958694822658dfa27e3dd1c702dee4c285c expects DocBook stylesheet with namespace support.
|
||
|
||
It does not really matter if the URI ceases resolving to a file – we disable network access for `xsltproc` so it only serves as an identifier for the stylesheet to be discovered locally using a XML catalog.
|
||
|
||
This reverts commit 2f99025b7ad54f29dc5236aa7dfcfa97d1c8efde.
|
||
---
|
||
meson.build | 2 +-
|
||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
||
diff --git a/meson.build b/meson.build
|
||
index a5be706..c99c23e 100644
|
||
--- a/meson.build
|
||
+++ b/meson.build
|
||
@@ -57,7 +57,7 @@ configure_file(input: 'config.h.meson',
|
||
|
||
if get_option('man')
|
||
xsltproc = find_program('xsltproc', required: true)
|
||
- stylesheet = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
|
||
+ stylesheet = 'http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl'
|
||
xsltproc_command = [
|
||
xsltproc,
|
||
'--nonet',
|
||
--
|
||
GitLab
|
||
|