Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1687984
| From | Mauro Carvalho Chehab <mchehab@s-opensource.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install |
| Date | 2017-07-15 21:30 +0200 |
| Message-ID | <u3AVj-5qj-7@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <u3cJk-6Ez-11@gated-at.bofh.it> <u3l0d-3UF-5@gated-at.bofh.it> <u3s1I-8gZ-23@gated-at.bofh.it> <u3uGe-1wv-11@gated-at.bofh.it> <u3uPU-1zO-11@gated-at.bofh.it> |
| Organization | Samsung |
Em Sat, 15 Jul 2017 09:55:09 -0300 Mauro Carvalho Chehab <mchehab@s-opensource.com> escreveu: > Em Sat, 15 Jul 2017 09:49:40 -0300 > Mauro Carvalho Chehab <mchehab@s-opensource.com> escreveu: > > > I guess it could also use kpsewhich to check if the needed > > texlive packages are installed. However, the problem with such > > approach is that texlive-kpathsea-bin package should be installed > > first, in order to provide such command. > > > > So, installing PDF and math dependencies would require two steps. > > Hmm... answering myself: if texlive-kpathsea-bin is not installed, > that probably means that texlive is not installed. So, the script > can just give the command to install all texlive packages that are > needed for a given distribution. While getting the required stuff for OpenSuse Tumbleweed, I noticed a problem with the current toolchain, that affects both html and PDF: /usr/bin/dot -Tpdf /home/mchehab/docs/Documentation/doc-guide/hello.dot Format: "pdf" not recognized. Use one of: canon cmap cmapx cmapx_np dot eps fig gv imap imap_np ismap pic plain plain-ext pov ps ps2 svg svgz tk vml vmlz xdot xdot1.2 xdot1.4 $ ls -lctra Documentation/output/doc-guide/latex/hello.pdf -rw-rw-r-- 1 mchehab mchehab 0 jul 15 16:20 Documentation/output/doc-guide/latex/hello.pdf Btw, the same error is happening also with Fedora 26. So, I guess kfigure should test if pdf is supported, otherwise convert to some other format (like ps or svg). E. g. calling it with something like: $ dot -T help Format: "help" not recognized. Use one of: canon cmap cmapx cmapx_np dot eps fig gv imap imap_np ismap pic plain plain-ext pov ps ps2 svg svgz tk vml vmlz xdot xdot1.2 xdot1.4 then parse its output, before assuming that the requested format is available. Thanks, Mauro
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-14 19:00 +0200
Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install Markus Heiser <markus.heiser@darmarit.de> - 2017-07-14 19:40 +0200
Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install Jim Davis <jim.epost@gmail.com> - 2017-07-15 01:00 +0200
Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-15 03:30 +0200
Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-15 04:30 +0200
Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install Markus Heiser <markus.heiser@darmarit.de> - 2017-07-15 12:00 +0200
Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-15 14:50 +0200
Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-15 15:00 +0200
Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-15 21:30 +0200
Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install Markus Heiser <markus.heiser@darmarit.de> - 2017-07-16 09:30 +0200
Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-16 12:00 +0200
csiph-web