From 09a34c5ea9ddfccad10d39909ee82664c08893e6 Mon Sep 17 00:00:00 2001 From: Dan Gildea Date: Sep 22 2023 17:21:37 +0000 Subject: enable svg - add svg to cfgcache.pm - require poppler-utils to get pdftocairo - require preview.sty during build, so seen by config.pl script --- diff --git a/cfgcache.pm b/cfgcache.pm index 7a4b503..cea2f57 100644 --- a/cfgcache.pm +++ b/cfgcache.pm @@ -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'; diff --git a/latex2html.spec b/latex2html.spec index 1802574..d6c3ea5 100644 --- a/latex2html.spec +++ b/latex2html.spec @@ -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)