The dvisvgm package converts DVI, EPS and PDF files to SVG format.
This package is known to build and work properly using an LFS-11.1 platform.
Download (HTTP): https://github.com/mgieseki/dvisvgm/releases/download/2.13.1/dvisvgm-2.13.1.tar.gz
Download MD5 sum: 591559df77b84e31c6520bcc9551d5be
Download size: 3.1 MB
Estimated disk space required: 271 MB (40 MB installed, add 751 MB for the tests)
Estimated build time: 0.9 SBU (add 0.6 SBU for the tests, both using parallelism=4)
Brotli-1.0.9, ghostscript-9.55.0 and Potrace-1.16
asciidoc-10.1.1 with xmlto-0.0.28 and libxslt-1.1.35 (see command explanations), dblatex (with the above) and xxHash (the current version is included in the tarball)
User Notes: https://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/2021/lib/libkpathsea.so /usr/lib
The testsuite assumes that a modern version of Python has been installed as plain
python. Changing this
to use python3
requires a sed to one Makefile.in
file.
Install dvisvgm by running the following commands:
sed -i 's/python/&3/' tests/Makefile.in && ./configure \ --bindir=/opt/texlive/2021/bin/${TEXARCH} \ --mandir=/opt/texlive/2021/texmf-dist/doc/man \ --with-kpathsea=/opt/texlive/2021 && make
To test the results, issue: make check.
Now, as the root
user:
make install
ln -svf /opt/texlive/2021/lib/libkpathsea.so /usr/lib: Without this, the program will not link correctly,
autoreconf -fiv: The versions of autoconf and automake used when this package was created are older than the current versions in LFS. That causes 'make' to fail when it reaches the 'tests' subdirectory unless autoreconf is forced to install missing (i.e. newer) auxiliary files.
--with-kpathsea=/opt/texlive/2021:
This allows the build system to find the headers for kpathsea
Last updated on