The dvisvgm package converts DVI, EPS and PDF files to SVG format.
This package is known to build and work properly using an LFS-9.1 platform.
Download (HTTP): https://github.com/mgieseki/dvisvgm/releases/download/2.8.2/dvisvgm-2.8.2.tar.gz
Download MD5 sum: f6fea0b1f160a075bea9fe657ac873fb
Download size: 3.0 MB
Estimated disk space required: 322 MB (add 978 MB for the tests)
Estimated build time: 0.8 SBU (add 0.6 SBU for the tests, both using parallelism=4)
ghostscript-9.50 and Potrace-1.16
asciidoc-8.6.9 with xmlto-0.0.28 and libxslt-1.1.34 (see command explanations), dblatex (with the above) and xxHash (the current version is included in the tarball)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/dvisvgm
To enable the build system to link to libkpathsea.so
, as the root
user create a symlink from /usr/lib
:
ln -svf /opt/texlive/2019/lib/libkpathsea.so /usr/lib
Now install dvisvgm by running the following commands:
./configure \ --bindir=/opt/texlive/2019/bin/${TEXARCH} \ --mandir=/opt/texlive/2019/texmf-dist/doc/man \ --with-kpathsea=/opt/texlive/2019 && make
To test the results, issue: make check.
Now, as the root
user:
make install && install -v -m644 doc/dvisvgm.1 \ /opt/texlive/2019/texmf-dist/doc/man/man1
ln -svf /opt/texlive/2019/lib/libkpathsea.so /usr/lib: Without this, the program will not link correctly,
--mandir=/opt/texlive/2019/texmf-dist/doc/man: Unusually, the shipped man page will only be installed by make install if all of asciidoc, xmlto and libxslt have been installed. This switch ensures it will overwrite the (old) page installed by the texmf tarball if it installs.
--with-kpathsea=/opt/texlive/2019:
This allows the build system to find the headers for kpathsea
install -v -m644 doc/dvisvgm.1 ...: This ensures that the man page is installed in the correct place even if the optional dependencies are not present, and overwrites the version installed by make install if they are present.
Last updated on 2020-02-27 13:05:33 -0800