diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-12-10 11:00:24 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-12-18 06:43:48 -0800 |
commit | aee2a47dd999c89811647260db4170e821c04733 (patch) | |
tree | 672ef9d45f4bcd0a2013da19ea192d27f91e7102 /documentation | |
parent | 24c9c0a423450fb475677be3603553cdb064f757 (diff) | |
download | poky-aee2a47dd999c89811647260db4170e821c04733.tar.gz |
system-requirements.rst: add dependencies for pdf builds
With the recent changes from commit
bd6265ca323fac547a197bb516dc4a9ef3897508 ("doc: Makefile: add support
for xelatex"), the list of dependencies needs to be updated.
The initial list of dependencies was made for Ubuntu/Debian, and the
packages were translated for the other distros using pkgs.org.
Add them separately from the rest of the dependencies as they pull a
_lot_ of additional dependencies (for LaTeX).
Move the texlive-fncychap documentation dependency to the PDF specific
dependency.
Notes:
- Fedora/OpenSUSE do not have the "lang-all" texlive collection, so
install all available languages.
- AlmaLinux does not seem to provide texlive-collection-fontsextra,
texlive-collection-lang*, and texlive-collection-latexextra, so add a
warning about that.
(From yocto-docs rev: 804240fa86fee63d0d2dd029d941cf14b23bd730)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 02c090718ac602f7d4760dd28dadbf0631668d49)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/poky.yaml.in | 52 | ||||
-rw-r--r-- | documentation/ref-manual/system-requirements.rst | 27 |
2 files changed, 76 insertions, 3 deletions
diff --git a/documentation/poky.yaml.in b/documentation/poky.yaml.in index 0024619a9d..ab3587db84 100644 --- a/documentation/poky.yaml.in +++ b/documentation/poky.yaml.in | |||
@@ -68,7 +68,17 @@ UBUNTU_DEBIAN_HOST_PACKAGES_DOC: >- | |||
68 | python3-saneyaml | 68 | python3-saneyaml |
69 | python3-sphinx-rtd-theme | 69 | python3-sphinx-rtd-theme |
70 | sphinx | 70 | sphinx |
71 | |||
72 | UBUNTU_DEBIAN_HOST_PACKAGES_DOC_PDF: >- | ||
73 | fonts-freefont-otf | ||
74 | latexmk | ||
75 | tex-gyre | ||
76 | texlive-fonts-extra | ||
77 | texlive-fonts-recommended | ||
78 | texlive-lang-all | ||
71 | texlive-latex-extra | 79 | texlive-latex-extra |
80 | texlive-latex-recommended | ||
81 | texlive-xetex | ||
72 | 82 | ||
73 | FEDORA_HOST_PACKAGES_ESSENTIAL: >- | 83 | FEDORA_HOST_PACKAGES_ESSENTIAL: >- |
74 | bzip2 | 84 | bzip2 |
@@ -123,9 +133,22 @@ FEDORA_HOST_PACKAGES_DOC: >- | |||
123 | librsvg2-tools | 133 | librsvg2-tools |
124 | make | 134 | make |
125 | python3-pip | 135 | python3-pip |
126 | texlive-fncychap | ||
127 | which | 136 | which |
128 | 137 | ||
138 | FEDORA_HOST_PACKAGES_DOC_PDF: >- | ||
139 | 'texlive-collection-lang*' | ||
140 | latexmk | ||
141 | texlive-collection-fontsextra | ||
142 | texlive-collection-fontsrecommended | ||
143 | texlive-collection-latex | ||
144 | texlive-collection-latexextra | ||
145 | texlive-collection-latexrecommended | ||
146 | texlive-collection-xetex | ||
147 | texlive-fncychap | ||
148 | texlive-gnu-freefont | ||
149 | texlive-tex-gyre | ||
150 | texlive-xetex | ||
151 | |||
129 | OPENSUSE_HOST_PACKAGES_ESSENTIAL: >- | 152 | OPENSUSE_HOST_PACKAGES_ESSENTIAL: >- |
130 | bzip2 | 153 | bzip2 |
131 | chrpath | 154 | chrpath |
@@ -164,9 +187,22 @@ OPENSUSE_HOST_PACKAGES_DOC: >- | |||
164 | make | 187 | make |
165 | python3-pip | 188 | python3-pip |
166 | rsvg-convert | 189 | rsvg-convert |
167 | texlive-fncychap | ||
168 | which | 190 | which |
169 | 191 | ||
192 | OPENSUSE_HOST_PACKAGES_DOC_PDF: >- | ||
193 | 'texlive-collection-lang*' | ||
194 | texlive-collection-fontsextra | ||
195 | texlive-collection-fontsrecommended | ||
196 | texlive-collection-latex | ||
197 | texlive-collection-latexextra | ||
198 | texlive-collection-latexrecommended | ||
199 | texlive-collection-xetex | ||
200 | texlive-fncychap | ||
201 | texlive-gnu-freefont | ||
202 | texlive-latexmk | ||
203 | texlive-tex-gyre | ||
204 | texlive-xetex | ||
205 | |||
170 | ALMALINUX_HOST_PACKAGES_ESSENTIAL: >- | 206 | ALMALINUX_HOST_PACKAGES_ESSENTIAL: >- |
171 | bzip2 | 207 | bzip2 |
172 | ccache | 208 | ccache |
@@ -211,5 +247,15 @@ ALMALINUX_HOST_PACKAGES_DOC: >- | |||
211 | librsvg2-tools | 247 | librsvg2-tools |
212 | make | 248 | make |
213 | python3-pip | 249 | python3-pip |
214 | texlive-fncychap | ||
215 | which | 250 | which |
251 | |||
252 | ALMALINUX_HOST_PACKAGES_DOC_PDF: >- | ||
253 | latexmk | ||
254 | texlive-collection-fontsrecommended | ||
255 | texlive-collection-latex | ||
256 | texlive-collection-latexrecommended | ||
257 | texlive-collection-xetex | ||
258 | texlive-fncychap | ||
259 | texlive-gnu-freefont | ||
260 | texlive-tex-gyre | ||
261 | texlive-xetex | ||
diff --git a/documentation/ref-manual/system-requirements.rst b/documentation/ref-manual/system-requirements.rst index 541cedb106..74cca1bc36 100644 --- a/documentation/ref-manual/system-requirements.rst +++ b/documentation/ref-manual/system-requirements.rst | |||
@@ -187,6 +187,11 @@ Here are the packages needed to build Project documentation manuals:: | |||
187 | 187 | ||
188 | $ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_DOC; | 188 | $ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_DOC; |
189 | 189 | ||
190 | In addition to the previous packages, here are the packages needed to build the | ||
191 | documentation in PDF format:: | ||
192 | |||
193 | $ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_DOC_PDF; | ||
194 | |||
190 | Fedora Packages | 195 | Fedora Packages |
191 | --------------- | 196 | --------------- |
192 | 197 | ||
@@ -200,6 +205,11 @@ Here are the packages needed to build Project documentation manuals:: | |||
200 | $ sudo dnf install &FEDORA_HOST_PACKAGES_DOC; | 205 | $ sudo dnf install &FEDORA_HOST_PACKAGES_DOC; |
201 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; | 206 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; |
202 | 207 | ||
208 | In addition to the previous packages, here are the packages needed to build the | ||
209 | documentation in PDF format:: | ||
210 | |||
211 | $ sudo dnf install &FEDORA_HOST_PACKAGES_DOC_PDF; | ||
212 | |||
203 | openSUSE Packages | 213 | openSUSE Packages |
204 | ----------------- | 214 | ----------------- |
205 | 215 | ||
@@ -214,6 +224,11 @@ Here are the packages needed to build Project documentation manuals:: | |||
214 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_DOC; | 224 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_DOC; |
215 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; | 225 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; |
216 | 226 | ||
227 | In addition to the previous packages, here are the packages needed to build the | ||
228 | documentation in PDF format:: | ||
229 | |||
230 | $ sudo zypper install &OPENSUSE_HOST_PACKAGES_DOC_PDF; | ||
231 | |||
217 | 232 | ||
218 | AlmaLinux Packages | 233 | AlmaLinux Packages |
219 | ------------------ | 234 | ------------------ |
@@ -245,6 +260,18 @@ Here are the packages needed to build Project documentation manuals:: | |||
245 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_DOC; | 260 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_DOC; |
246 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; | 261 | $ sudo pip3 install &PIP3_HOST_PACKAGES_DOC; |
247 | 262 | ||
263 | In addition to the previous packages, here are the packages needed to build the | ||
264 | documentation in PDF format:: | ||
265 | |||
266 | $ sudo dnf install &ALMALINUX_HOST_PACKAGES_DOC_PDF; | ||
267 | |||
268 | .. warning:: | ||
269 | |||
270 | Unlike Fedora or OpenSUSE, AlmaLinux does not provide the packages | ||
271 | ``texlive-collection-fontsextra``, ``texlive-collection-lang*`` and | ||
272 | ``texlive-collection-latexextra``, so you may run into issues. These may be | ||
273 | installed using `tlmgr <https://tug.org/texlive/tlmgr.html>`_. | ||
274 | |||
248 | .. _system-requirements-buildtools: | 275 | .. _system-requirements-buildtools: |
249 | 276 | ||
250 | Required Git, tar, Python, make and gcc Versions | 277 | Required Git, tar, Python, make and gcc Versions |