diff options
| author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-17 17:46:41 -0400 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2017-07-23 17:51:40 -0400 |
| commit | bba1e4cbdb5aadc937d70f04d1d07752828e4b2d (patch) | |
| tree | fd8a0c1a354154c0007db944f94a7e30a3aa0b27 /scripts | |
| parent | 8e7d5d15e73fde2b22649783d4f0fa4495a1582f (diff) | |
sphinx-pre-install: fix USE needs for GraphViz and ImageMagick
Gentoo need some USE for GraphViz and ImageMagick to have
the features required by kfigure.py.
Output that when providing instructions for Gentoo.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/sphinx-pre-install | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install index fc9891ce5c85..2d18064d57b4 100755 --- a/scripts/sphinx-pre-install +++ b/scripts/sphinx-pre-install | |||
| @@ -393,7 +393,12 @@ sub give_gentoo_hints() | |||
| 393 | check_missing(\%map); | 393 | check_missing(\%map); |
| 394 | 394 | ||
| 395 | return if (!$need && !$optional); | 395 | return if (!$need && !$optional); |
| 396 | printf("You should run:\n\n\tsudo emerge --ask $install\n"); | 396 | |
| 397 | printf("You should run:\n\n"); | ||
| 398 | printf("\tsudo su -c 'echo \"media-gfx/imagemagick svg png\" > /etc/portage/package.use/imagemagick'\n"); | ||
| 399 | printf("\tsudo su -c 'echo \"media-gfx/graphviz cairo pdf\" > /etc/portage/package.use/graphviz'\n"); | ||
| 400 | printf("\tsudo emerge --ask $install\n"); | ||
| 401 | |||
| 397 | } | 402 | } |
| 398 | 403 | ||
| 399 | sub check_distros() | 404 | sub check_distros() |
