Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1689510

[PATCH v2 7/8] sphinx-pre-install: fix USE needs for GraphViz and ImageMagick

From Mauro Carvalho Chehab <mchehab@s-opensource.com>
Newsgroups linux.kernel
Subject [PATCH v2 7/8] sphinx-pre-install: fix USE needs for GraphViz and ImageMagick
Date 2017-07-17 23:50 +0200
Message-ID <u4m3T-1ZS-7@gated-at.bofh.it> (permalink)
References <u4m3T-1ZS-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 scripts/sphinx-pre-install | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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()
 	check_missing(\%map);
 
 	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()
-- 
2.13.3

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/8] Add a script to check for Sphinx install requirements Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-17 23:50 +0200
  [PATCH v2 7/8] sphinx-pre-install: fix USE needs for GraphViz and ImageMagick Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-17 23:50 +0200
  [PATCH v2 2/8] scripts/sphinx-pre-install: add a script to check Sphinx install Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-17 23:50 +0200
  [PATCH v2 5/8] sphinx-pre-install: check for the need of graphviz-gd Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-17 23:50 +0200
  [PATCH v2 3/8] sphinx-pre-install: detect an existing virtualenv Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-17 23:50 +0200
  [PATCH v2 8/8] sphinx.rst: document scripts/sphinx-pre-install script Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-17 23:50 +0200
  [PATCH v2 1/8] docs: Makefile: remove no-ops targets Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-17 23:50 +0200
  Re: [PATCH v2 0/8] Add a script to check for Sphinx install  requirements Jonathan Corbet <corbet@lwn.net> - 2017-07-24 00:10 +0200
    Re: [PATCH v2 0/8] Add a script to check for Sphinx install  requirements Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-24 01:10 +0200
      Re: [PATCH v2 0/8] Add a script to check for Sphinx install  requirements Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-07-24 14:20 +0200

csiph-web