Commit bba1e4cb authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet

sphinx-pre-install: fix USE needs for GraphViz and ImageMagick

Gentoo need some USE for GraphViz and ImageMagick to have
the features required by

Output that when providing instructions for Gentoo.
Signed-off-by: default avatarMauro Carvalho Chehab <>
Signed-off-by: default avatarJonathan Corbet <>
parent 8e7d5d15
......@@ -393,7 +393,12 @@ sub give_gentoo_hints()
return if (!$need && !$optional);
printf("You should run:\n\n\tsudo emerge --ask $install\n");
printf("You should run:\n\n");
printf("\tsudo su -c 'echo \"media-gfx/imagemagick svg png\" > /etc/portage/package.use/imagemagick'\n");
printf("\tsudo su -c 'echo \"media-gfx/graphviz cairo pdf\" > /etc/portage/package.use/graphviz'\n");
printf("\tsudo emerge --ask $install\n");
sub check_distros()
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment