1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
Description: Use local XSL file
Do not let xsltproc to make network requests
Author: Philippe SWARTVAGHER <phil.swart@gmx.fr>
Last-Update: 2024-06-28
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/doc/de/meson.build
+++ b/doc/de/meson.build
@@ -67,6 +67,7 @@ custom_target(lang + '-dia_html',
output: html_output,
command: [
xsltproc,
+ '--nonet',
'--stringparam', 'graphic.default.extension', 'png',
'--output', '@OUTDIR@/',
'@INPUT@'
diff --git a/doc/en/meson.build b/doc/en/meson.build
index 4cdaff59d..ae3dbd11e 100644
--- a/doc/en/meson.build
+++ b/doc/en/meson.build
@@ -100,6 +100,7 @@ custom_target(lang + '-dia_html',
output: html_output,
command: [
xsltproc,
+ '--nonet',
'--stringparam', 'graphic.default.extension', 'png',
'--output', '@OUTDIR@/',
'@INPUT@'
diff --git a/doc/eu/meson.build b/doc/eu/meson.build
index 135be26c8..373e120b2 100644
--- a/doc/eu/meson.build
+++ b/doc/eu/meson.build
@@ -59,6 +59,7 @@ custom_target(lang + '-dia_html',
output: html_output,
command: [
xsltproc,
+ '--nonet',
'--stringparam', 'graphic.default.extension', 'png',
'--output', '@OUTDIR@/',
'@INPUT@'
diff --git a/doc/fr/meson.build b/doc/fr/meson.build
index 11b7e038b..27cbac3ec 100644
--- a/doc/fr/meson.build
+++ b/doc/fr/meson.build
@@ -70,6 +70,7 @@ custom_target(lang + '-dia_html',
output: html_output,
command: [
xsltproc,
+ '--nonet',
'--stringparam', 'graphic.default.extension', 'png',
'--output', '@OUTDIR@/',
'@INPUT@'
diff --git a/doc/meson.build b/doc/meson.build
index a17618a9c..4dc1179c4 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -2,7 +2,7 @@ docdir = datadir / 'doc'/ meson.project_name()
dblatex = find_program('dblatex', required: false, disabler: true)
-DB2MAN = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
+DB2MAN = '/usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl'
helpdir = datadir / 'doc/dia/html'
|