<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/sphinx-pre-install, branch v5.7</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.7</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2020-03-02T20:08:11Z</updated>
<entry>
<title>scripts/sphinx-pre-install: add '-p python3' to virtualenv</title>
<updated>2020-03-02T20:08:11Z</updated>
<author>
<name>Tim Bird</name>
<email>tim.bird@sony.com</email>
</author>
<published>2020-02-25T01:34:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c428cd52282dcc967b2a936d80f1eec4cb80d6d5'/>
<id>urn:sha1:c428cd52282dcc967b2a936d80f1eec4cb80d6d5</id>
<content type='text'>
With Ubuntu 16.04 (and presumably Debian distros of the same age),
the instructions for setting up a python virtual environment should
do so with the python 3 interpreter.  On these older distros, the
default python (and virtualenv command) might be python2 based.

Some of the packages that sphinx relies on are now only available
for python3.  If you don't specify the python3 interpreter for
the virtualenv, you get errors when doing the pip installs for
various packages

Fix this by adding '-p python3' to the virtualenv recommendation
line.

Signed-off-by: Tim Bird &lt;tim.bird@sony.com&gt;
Link: https://lore.kernel.org/r/1582594481-23221-1-git-send-email-tim.bird@sony.com
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>Allow git builds of Sphinx</title>
<updated>2020-02-05T17:33:44Z</updated>
<author>
<name>Stephen Kitt</name>
<email>steve@sk2.org</email>
</author>
<published>2020-01-24T18:33:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d1c9038ab5c1c96c0fd9d13ec56f2d650fe4c59f'/>
<id>urn:sha1:d1c9038ab5c1c96c0fd9d13ec56f2d650fe4c59f</id>
<content type='text'>
When using a non-release version of Sphinx, from a local build (with
improvements for kernel doc handling, why not),

	sphinx-build --version

reports versions of the form

	sphinx-build 3.0.0+/4703d9119972

i.e. base version, a plus symbol, slash, and the start of the git hash
of whatever repository the command is run in (no, not the hash that
was used to build Sphinx!).

This patch fixes the installation check in sphinx-pre-install to
recognise such version output.

Signed-off-by: Stephen Kitt &lt;steve@sk2.org&gt;
Link: https://lore.kernel.org/r/20200124183316.1719218-1-steve@sk2.org
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>scripts/sphinx-pre-install: fix Arch latexmk dependency</title>
<updated>2019-11-07T20:17:24Z</updated>
<author>
<name>Louis Taylor</name>
<email>louis@kragniz.eu</email>
</author>
<published>2019-11-02T18:45:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0d0da9aa03a178d343f64f3bd7d545b0d3bf8b7e'/>
<id>urn:sha1:0d0da9aa03a178d343f64f3bd7d545b0d3bf8b7e</id>
<content type='text'>
On Arch Linux, latexmk is installed in the texlive-core package.

Signed-off-by: Louis Taylor &lt;louis@kragniz.eu&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>scripts/sphinx-pre-install: Add a new path for the debian package "fonts-noto-cjk"</title>
<updated>2019-10-03T16:49:08Z</updated>
<author>
<name>Jeremy MAURO</name>
<email>jeremy.mauro@gmail.com</email>
</author>
<published>2019-10-02T13:35:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9692f2fdb163a4a5e79ddb9b7e0f15d30384c7c2'/>
<id>urn:sha1:9692f2fdb163a4a5e79ddb9b7e0f15d30384c7c2</id>
<content type='text'>
The latest debian version "bullseye/sid" has changed the path of the file
"notoserifcjk-regular.ttc", with the previous change and this change we
keep the backward compatibility and add the latest debian version

Signed-off-by: Jeremy MAURO &lt;j.mauro@criteo.com&gt;
Reviewed-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>scripts/sphinx-pre-install: allow checking for multiple missing files</title>
<updated>2019-10-03T16:48:41Z</updated>
<author>
<name>Jeremy MAURO</name>
<email>jeremy.mauro@gmail.com</email>
</author>
<published>2019-10-02T13:33:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ff8fdb36ac35ee90388fb3f5fdac679b25765841'/>
<id>urn:sha1:ff8fdb36ac35ee90388fb3f5fdac679b25765841</id>
<content type='text'>
The current implementation take a simple file as first argument, this
change allows to take a list as a first argument.

Some file could have a different path according distribution version

Signed-off-by: Jeremy MAURO &lt;j.mauro@criteo.com&gt;
Reviewed-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>scripts/sphinx-pre-install: add how to exit virtualenv usage message</title>
<updated>2019-10-01T12:54:14Z</updated>
<author>
<name>Shuah Khan</name>
<email>skhan@linuxfoundation.org</email>
</author>
<published>2019-09-19T00:37:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2730ce017fa6df49bad9ad932932b863f63a4b50'/>
<id>urn:sha1:2730ce017fa6df49bad9ad932932b863f63a4b50</id>
<content type='text'>
Add usage message on how to exit the virtualenv after documentation
work is done.

Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>scripts/sphinx-pre-install: seek for Noto CJK fonts for pdf output</title>
<updated>2019-07-17T09:57:52Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab+samsung@kernel.org</email>
</author>
<published>2019-07-13T11:19:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=27eed923f715f6269b98e089ad2164f9b016eace'/>
<id>urn:sha1:27eed923f715f6269b98e089ad2164f9b016eace</id>
<content type='text'>
The translations guide need Noto CJK fonts. So, add a logic that
would suggest its install for distros.

It also fix a few other issues while testing the script
with several distributions.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>scripts/sphinx-pre-install: cleanup Gentoo checks</title>
<updated>2019-07-17T09:57:52Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab+samsung@kernel.org</email>
</author>
<published>2019-07-13T11:19:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4ea96d57bbfda93ae6cfdc8e565a3c419a78f328'/>
<id>urn:sha1:4ea96d57bbfda93ae6cfdc8e565a3c419a78f328</id>
<content type='text'>
On Gentoo, the portage changes for ImageMagick to work are
always suggested, even if already applied. While the two
extra commands should be harmless, add a check to avoid
reporting it without need.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>scripts/sphinx-pre-install: fix latexmk dependencies</title>
<updated>2019-07-17T09:57:52Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab+samsung@kernel.org</email>
</author>
<published>2019-07-13T11:19:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=353290a9eb5362a80bc8e52fcd7eb77a30f48afc'/>
<id>urn:sha1:353290a9eb5362a80bc8e52fcd7eb77a30f48afc</id>
<content type='text'>
The name of the package with carries latexmk is different
on two distros:

- On OpenSUSE, latexmk is packaged as "texlive-latexmk-bin"
- On Mageia, latexmk is packaged at "texlive-collection-basic"

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
<entry>
<title>scripts/sphinx-pre-install: don't use LaTeX with CentOS 7</title>
<updated>2019-07-17T09:57:52Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab+samsung@kernel.org</email>
</author>
<published>2019-07-13T12:37:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=56e5a633923793b31515795ad30156a307572c1e'/>
<id>urn:sha1:56e5a633923793b31515795ad30156a307572c1e</id>
<content type='text'>
There aren't enough texlive packages for LaTeX-based builds
to work on CentOS/RHEL &lt;= 7.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
</feed>
