enable svg

- add svg to cfgcache.pm
- require poppler-utils to get pdftocairo
- require preview.sty during build, so seen by config.pl script
This commit is contained in:
Dan Gildea 2023-09-22 13:21:37 -04:00
parent 34a4440a1f
commit 09a34c5ea9
2 changed files with 4 additions and 3 deletions

View File

@ -28,7 +28,7 @@ $cfg{'HTML_VALIDATOR'} = q'';
$cfg{'ICONPATH'} = q'file:/usr/share/latex2html/icons';
$cfg{'ICONSERVER'} = q'';
$cfg{'ICONSTORAGE'} = q'';
$cfg{'IMAGE_TYPES'} = q'png gif';
$cfg{'IMAGE_TYPES'} = q'svg png gif';
$cfg{'INITEX'} = q'/usr/bin/initex';
$cfg{'JPEGTOPNM'} = q'/usr/bin/jpegtopnm';
$cfg{'KPSEWHICH'} = q'/usr/bin/kpsewhich';

View File

@ -15,8 +15,9 @@ Source2: %{name}-manpages.tar.gz
Source3: http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data2/l2h-2023-jp3.2b1.37.tar.gz
Patch1: latex2html-2018.2-teTeX-l2h-config.patch
Patch2: latex2html-2002-2-1-SHLIB.patch
Requires: tex(latex), tex(dvips), tex(url.sty), tex(preview.sty), netpbm-progs
BuildRequires: perl-interpreter >= 5.003, perl-generators, ghostscript >= 4.03, netpbm-progs >= 9.21, tex(latex)
Requires: tex(latex), tex(dvips), tex(url.sty), tex(preview.sty), netpbm-progs, poppler-utils
BuildRequires: tex(latex), tex(dvips), tex(url.sty), tex(preview.sty), netpbm-progs, poppler-utils
BuildRequires: perl-interpreter >= 5.003, perl-generators, ghostscript >= 4.03
BuildRequires: perl(Carp), perl(Config), perl(Cwd), perl(DB), perl(Exporter),
BuildRequires: perl(File::Copy), perl(FindBin), perl(IO::File), perl(Sys::Hostname)
BuildRequires: perl(Unicode::Collate::Locale), perl(lib), perl(strict), perl(vars)