"convert" => "imagemagick",
"Pod::Usage" => "perl-modules",
"xelatex" => "texlive-xetex",
+ "rsvg-convert" => "librsvg2-bin",
);
if ($pdf) {
"convert" => "ImageMagick",
"Pod::Usage" => "perl-Pod-Usage",
"xelatex" => "texlive-xetex-bin",
+ "rsvg-convert" => "librsvg2-tools",
);
my @fedora26_opt_pkgs = (
"convert" => "ImageMagick",
"Pod::Usage" => "perl-Pod-Usage",
"xelatex" => "texlive-xetex-bin",
+ "rsvg-convert" => "rsvg-view",
);
my @suse_tex_pkgs = (
"dot" => "graphviz",
"convert" => "imagemagick",
"xelatex" => "texlive-bin",
+ "rsvg-convert" => "extra/librsvg",
);
my @archlinux_tex_pkgs = (
"dot" => "media-gfx/graphviz",
"convert" => "media-gfx/imagemagick",
"xelatex" => "dev-texlive/texlive-xetex media-fonts/dejavu",
+ "rsvg-convert" => "gnome-base/librsvg",
);
check_missing_file("/usr/share/fonts/dejavu/DejaVuSans.ttf",
check_program("xelatex", 1) if ($pdf);
check_program("dot", 1);
check_program("convert", 1);
+ check_program("rsvg-convert", 1) if ($pdf);
check_distros();