From d40a0856ad2436afc929645bee03484fb98e8a6f Mon Sep 17 00:00:00 2001 From: melanie witt Date: Thu, 14 May 2020 00:38:48 +0000 Subject: [PATCH] Add packages required for pdf-docs run to bindep.txt This adds packages needed to run 'tox -e pdf-docs' locally to our bindep.txt for users, for example: bindep -l newline pdf-docs | xargs install -y The CI jobs don't use the 'pdf-docs' label for handling bindep for pdf docs builds [1] and instead install a separate list of prereqs [2], so this change is only relevant for local test runs. [1] https://opendev.org/openstack/openstack-zuul-jobs/src/commit/64341d2e322b9e1c7f197bb0aafd63038d4e925c/zuul.d/jobs.yaml#L435 [2] https://opendev.org/openstack/openstack-zuul-jobs/src/commit/64341d2e322b9e1c7f197bb0aafd63038d4e925c/roles/prepare-build-pdf-docs/tasks/main.yaml#L7-L20 Change-Id: Ib603baa1766b873073165c71772ada021c6e5036 --- bindep.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindep.txt b/bindep.txt index f0ca0afc12b9..c4b6e5209c25 100644 --- a/bindep.txt +++ b/bindep.txt @@ -2,6 +2,8 @@ # see https://docs.openstack.org/infra/bindep/ for additional information. build-essential [platform:dpkg test] +# fonts-freefont-otf is needed for pdf docs builds with the 'xelatex' engine +fonts-freefont-otf [pdf-docs] gcc [platform:rpm test] # gettext and graphviz are needed by doc builds only. For transition, # have them in both doc and test. @@ -12,6 +14,7 @@ graphviz [doc test] librsvg2-tools [doc platform:rpm] librsvg2-bin [doc platform:dpkg] language-pack-en [platform:ubuntu] +latexmk [pdf-docs] libffi-dev [platform:dpkg test] libffi-devel [platform:rpm test] libmysqlclient-dev [platform:dpkg] @@ -40,5 +43,8 @@ python3-all-dev [platform:dpkg] python3-devel [platform:fedora] python34-devel [platform:centos] sqlite-devel [platform:rpm test] +texlive [pdf-docs] +texlive-latex-recommended [pdf-docs] +texlive-xetex [pdf-docs] libpcre3-dev [platform:dpkg test] pcre-devel [platform:rpm test]