[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cb4b9502d95cbb486c06acb50c45f5dcada01b1e.1755256868.git.mchehab+huawei@kernel.org>
Date: Fri, 15 Aug 2025 13:36:24 +0200
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Jonathan Corbet <corbet@....net>,
Linux Doc Mailing List <linux-doc@...r.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
"Mauro Carvalho Chehab" <mchehab+huawei@...nel.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH 08/11] scripts: sphinx-pre-install: fix PDF dependencies for openSuse
The dependencies are outdated: both versions need texlive-dejavu
fonts. Also, for PDF generation, python311-Sphinx-latex is
required.
With that, all PDF files are now tuilt on both:
openSUSE Leap 15.6:
-------------------
PASSED: OS detection: openSUSE Leap 15.6
SKIPPED (Sphinx Sphinx 7.2.6): System packages
SKIPPED (Sphinx already installed either as venv or as native package): Sphinx on venv
SKIPPED (Sphinx already installed either as venv or as native package): Sphinx package
PASSED: Clean documentation: Build time: 0:00, return code: 0
PASSED: Build HTML documentation: Build time: 5:29, return code: 0
PASSED: Build PDF documentation: Build time: 13:45, return code: 0
openSUSE Tumbleweed:
--------------------
PASSED: OS detection: openSUSE Tumbleweed
SKIPPED (Sphinx Sphinx 8.2.3): System packages
SKIPPED (Sphinx already installed either as venv or as native package): Sphinx on venv
SKIPPED (Sphinx already installed either as venv or as native package): Sphinx package
PASSED: Clean documentation: Build time: 0:00, return code: 0
PASSED: Build HTML documentation: Build time: 4:33, return code: 0
PASSED: Build PDF documentation: Build time: 13:18, return code: 0
Summary
=======
PASSED - openSUSE Leap 15.6 (7 tests)
PASSED - openSUSE Tumbleweed (7 tests)
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
---
scripts/sphinx-pre-install | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install
index f987abfec802..86f129c76ecd 100755
--- a/scripts/sphinx-pre-install
+++ b/scripts/sphinx-pre-install
@@ -901,7 +901,7 @@ class SphinxDependencyChecker(MissingCheckers):
"dot": "graphviz",
"python-sphinx": "python3-sphinx",
"virtualenv": "python3-virtualenv",
- "xelatex": "texlive-xetex-bin",
+ "xelatex": "texlive-xetex-bin texlive-dejavu",
"yaml": "python3-pyyaml",
}
@@ -937,7 +937,7 @@ class SphinxDependencyChecker(MissingCheckers):
self.recommend_python = True
progs.update({
- "python-sphinx": "python311-Sphinx",
+ "python-sphinx": "python311-Sphinx python311-Sphinx-latex",
"virtualenv": "python311-virtualenv",
"yaml": "python311-PyYAML",
})
@@ -945,7 +945,7 @@ class SphinxDependencyChecker(MissingCheckers):
# Tumbleweed defaults to Python 3.11
progs.update({
- "python-sphinx": "python313-Sphinx",
+ "python-sphinx": "python313-Sphinx python313-Sphinx-latex",
"virtualenv": "python313-virtualenv",
"yaml": "python313-PyYAML",
})
--
2.50.1
Powered by blists - more mailing lists