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'
 
