Skip to content
Snippets Groups Projects
Verified Commit 5ce52603 authored by Michael R. Crusoe's avatar Michael R. Crusoe :gay_pride_flag:
Browse files

d/rules: stop building the PDF due to "Package fontspec Error: The font...

d/rules: stop building the PDF due to "Package fontspec Error: The font "TeXGyrePagella" cannot be found."
parent fe25522b
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,8 @@ nbsphinx (0.9.3+ds-1) UNRELEASED; urgency=medium
* Refreshed patches.
* Removed unused build-dep on ipywidgets
* Added patch to set intersphinx links to Debian packaged documentation.
* stop building the PDF during the build or autopkgtests due to
'Package fontspec Error: The font "TeXGyrePagella" cannot be found.'
-- Michael R. Crusoe <crusoe@debian.org> Mon, 18 Mar 2024 17:31:49 +0100
......
......@@ -29,14 +29,14 @@ Build-Depends-Indep: dh-sequence-python3,
python-pandas-doc <!nodoc>,
rdfind,
symlinks,
tex-gyre,
texlive-fonts-recommended,
texlive-fonts-extra,
texlive-latex-recommended,
texlive-latex-extra,
lmodern,
latexmk
# python3-ipywidgets,
# tex-gyre <!nodoc>,
# texlive-fonts-recommended <!nodoc>,
# texlive-fonts-extra <!nodoc>,
# texlive-latex-recommended <!nodoc>,
# texlive-latex-extra <!nodoc>,
# lmodern <!nodoc>,
# latexmk <!nodoc>,
# python3-ipywidgets <!nodoc>,
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/python-team/packages/nbsphinx
Vcs-Git: https://salsa.debian.org/python-team/packages/nbsphinx.git
......
......@@ -10,8 +10,8 @@ Abstract:
automatically executed during the Sphinx build process.
Section: Programming/Python
Format: PDF
Files: /usr/share/doc/python-nbsphinx/nbsphinx.pdf
#Format: PDF
#Files: /usr/share/doc/python-nbsphinx/nbsphinx.pdf
Format: HTML
Index: /usr/share/doc/python-nbsphinx/html/index.html
......
......@@ -18,8 +18,8 @@ DEB_SPHINXDOC_HTMLSEDDIR=$(CURDIR)/debian/adhoc/lintian/privacy-breach
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=$(CURDIR)/src python3 -m sphinx -b html doc $(DEB_SPHINXDOC_DOCHTMLDIR)
PYTHONPATH=$(CURDIR)/src python3 -m sphinx -b latex doc _build/doc-latex
make -C _build/doc-latex all-pdf
#PYTHONPATH=$(CURDIR)/src python3 -m sphinx -b latex doc _build/doc-latex
#make -C _build/doc-latex all-pdf
## lintian privacy-breach fix
$(foreach htmlsed,$(wildcard $(DEB_SPHINXDOC_HTMLSEDDIR)/*.html.sed), \
sed -i -f $(htmlsed) $(DEB_SPHINXDOC_DOCHTMLDIR)/$(notdir $(patsubst %.sed,%,$(htmlsed))) $(NEWLINE)\
......@@ -37,11 +37,11 @@ ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
## cf d/p/debianization-documentation.patch
ln -r -s $(DEB_SPHINXDOC_DOCHTMLDIR)/_sources $(DEB_SPHINXDOC_DOCHTMLDIR)/doc
dh_sphinxdoc -O--buildsystem=pybuild
cp -vpr -t $(DEB_SPHINXDOC_DOCDIR) _build/doc-latex/nbsphinx.pdf
#cp -vpr -t $(DEB_SPHINXDOC_DOCDIR) _build/doc-latex/nbsphinx.pdf
endif
override_dh_compress:
dh_compress -Xwww -Xnbsphinx.pdf
#override_dh_compress:
# dh_compress -Xwww -Xnbsphinx.pdf
get-info:
@echo "NBSPHINX_VERSION_RELEASE: "$(NBSPHINX_VERSION_RELEASE)
......
......@@ -8,7 +8,7 @@ cd $AUTOPKGTEST_TMP
python3 -m sphinx -b html doc doc-html
python3 -m sphinx -b latex doc doc-latex
make -C doc-latex all-pdf
#python3 -m sphinx -b latex doc doc-latex
#make -C doc-latex all-pdf
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment