public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
From: "Antonin Godard" <antonin.godard@bootlin.com>
To: "Quentin Schulz" <quentin.schulz@cherry.de>,
	<docs@lists.yoctoproject.org>
Cc: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Subject: Re: [yocto-docs PATCH v2 5/6] system-requirements.rst: add dependencies for pdf builds
Date: Mon, 09 Dec 2024 18:02:11 +0100	[thread overview]
Message-ID: <D67BY6U5UGPM.B2AQ5R5NXNID@bootlin.com> (raw)
In-Reply-To: <f6b0c418-bd94-4fc2-a58d-ec7634926fe1@cherry.de>

Hi Quentin,

On Fri Dec 6, 2024 at 3:00 PM CET, Quentin Schulz wrote:
> Hi Antonin,
>
> On 12/4/24 1:23 PM, Antonin Godard wrote:
>> 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).
>> 
>> 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.
>> 
>> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
>> ---
>>   documentation/poky.yaml.in                       | 47 +++++++++++++++++++++++-
>>   documentation/ref-manual/system-requirements.rst | 27 ++++++++++++++
>>   2 files changed, 73 insertions(+), 1 deletion(-)
>> 
>> diff --git a/documentation/poky.yaml.in b/documentation/poky.yaml.in
>> index 94849acf9942c7ebddb2ac7f8aaf5eb9d87e0c5b..25385068679a51e0f2e9e516b02b62e19e126291 100644
>> --- a/documentation/poky.yaml.in
>> +++ b/documentation/poky.yaml.in
>> @@ -67,8 +67,17 @@ UBUNTU_DEBIAN_HOST_PACKAGES_DOC: >-
>>     python3-saneyaml
>>     python3-sphinx-rtd-theme
>>     sphinx
>> -  texlive-latex-extra
>>   
>> +UBUNTU_DEBIAN_HOST_PACKAGES_DOC_PDF: >-
>> +  fonts-freefont-otf
>> +  latexmk
>> +  tex-gyre
>> +  texlive-fonts-extra
>> +  texlive-fonts-recommended
>> +  texlive-lang-all
>> +  texlive-latex-extra
>> +  texlive-latex-recommended
>> +  texlive-xetex
>>   
>>   FEDORA_HOST_PACKAGES_ESSENTIAL: >-
>>     bzip2
>> @@ -129,6 +138,19 @@ FEDORA_HOST_PACKAGES_DOC: >-
>>     texlive-latex-extra
>>     which
>>   
>> +FEDORA_HOST_PACKAGES_DOC_PDF: >-
>> +  latexmk
>> +  texlive-collection-fontsextra
>> +  texlive-collection-fontsrecommended
>> +  texlive-collection-lang*
>
> Please use single quotes to surround texlive-collection-lang* otherwise 
> it may be interpreted by the shell, c.f. for me:
>
> ```sh
> $ sudo dnf install texlive-collection-lang*
> zsh: no matches found: libgpiod*
> ```
>
> while `sudo dnf install 'texlive-collection-lang*'` works just fine.
>
> Ditto for the other occurrences later in this diff.

So I had issues with this in the container scripts, which is why I left it at
that. I initially single quoted this but it didn't work. Are you sure you can
mix non-quotes and quoted strings here? I'll give a try, might be specific to
the dockerfile.

Thanks,
Antonin

-- 
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


  reply	other threads:[~2024-12-09 17:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-04 12:23 [yocto-docs PATCH v2 0/6] Update the dependencies in poky.yaml.in Antonin Godard
2024-12-04 12:23 ` [yocto-docs PATCH v2 1/6] Gather " Antonin Godard
2024-12-06 13:51   ` Quentin Schulz
2024-12-09 17:02     ` Antonin Godard
2024-12-09 17:30       ` Quentin Schulz
2024-12-10  9:58     ` Antonin Godard
2024-12-10 10:29       ` Quentin Schulz
2024-12-04 12:23 ` [yocto-docs PATCH v2 2/6] poky.yaml.in: replace inkscape dependency by librsvg2-bin Antonin Godard
2024-12-06 13:56   ` Quentin Schulz
2024-12-09 17:02     ` [docs] " Antonin Godard
2024-12-04 12:23 ` [yocto-docs PATCH v2 3/6] system-requirements: add fedora 39 to supported distros Antonin Godard
2024-12-04 12:23 ` [yocto-docs PATCH v2 4/6] system-requirements: update list of " Antonin Godard
2024-12-04 12:23 ` [yocto-docs PATCH v2 5/6] system-requirements.rst: add dependencies for pdf builds Antonin Godard
2024-12-06 14:00   ` Quentin Schulz
2024-12-09 17:02     ` Antonin Godard [this message]
2024-12-09 17:28       ` [docs] " Quentin Schulz
2024-12-10  9:33         ` Antonin Godard
2024-12-10 10:34           ` Quentin Schulz
2024-12-04 12:23 ` [yocto-docs PATCH v2 6/6] poky.yaml.in: add missing locales dependency Antonin Godard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D67BY6U5UGPM.B2AQ5R5NXNID@bootlin.com \
    --to=antonin.godard@bootlin.com \
    --cc=docs@lists.yoctoproject.org \
    --cc=quentin.schulz@cherry.de \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox