[PATCH -perfbook 6/8] FAQ-BUILD: List package for rsvg-convert in package lists

Akira Yokosawa <[email protected]>
Newsgroups org.kernel.vger.perfbook
Message-ID <[email protected]>
Instead of inkscape, name package for rsvg-convert.  Unfortunately,
the package name varies wildly among distros.

Adjust surrounding text accordingly.

Signed-off-by: Akira Yokosawa <[email protected]>
---
 FAQ-BUILD.txt | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/FAQ-BUILD.txt b/FAQ-BUILD.txt
index e9719a60..e86dffb7 100644
--- a/FAQ-BUILD.txt
+++ b/FAQ-BUILD.txt
@@ -40,11 +40,13 @@
 		Alternatively, you can use the container image described
 		in #13 below.  Otherwise, instructions follow.
 
-		On Ubuntu Focal and later, the following list should cover
+		On Ubuntu jammy and later, the following list should cover
 		necessary packages (except for -doc packages):
 			texlive-publishers texlive-pstricks
 			texlive-science texlive-fonts-extra
-			xfig inkscape graphviz
+			xfig librsvg2-bin graphviz
+
+		On Ubuntu focal, install inkscape instead of librsvg2-bin.
 
 		On Fedora, installing the following set of packages
 		suffices:
@@ -53,7 +55,7 @@
 			texlive-collection-latexextra
 			texlive-collection-fontsextra
 			texlive-collection-fontutils
-			transfig graphviz inkscape
+			transfig graphviz librsvg2-tools
 
 		On other Linux distributions such as RHEL/CentOS and
 		Scientific Linux, where support of TeX Live packages
@@ -70,7 +72,20 @@
 
 		Besides TeX Live, you need the following list of
 		packages:
-			fig2dev (or transfig) graphviz inkscape
+			fig2dev (or transfig) graphviz librsvg2-tools
+			(or librsvg2-bin, rsvg-convert, etc.)
+
+	    Note: For building on Git repo prior to January 2024,  you need
+		inkscape as well.
+
+		Preferred SVG --> PDF converter is rsvg-convert >= v2.57.
+		rsvg-convert v2.52 should also suffice.  If there is
+		no inkscape installed, any version of rsvg-convert is
+		used for the conversion, albeit there can be poor looking
+		figures in the end.
+		You can continue building perfbook without rsvg-convert
+		if you have inkscape, that is, as long as command-line
+		mode inkscape works reliably...
 
 6.	I cannot build perfbook, and the perfbook.log file complains
 	about some obscure package being missing.  What do I do?
-- 
2.34.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.