DVI rendering library written in C99
This application is released under the LGPL 2.1 or later
The kpathsea library (provided by TeXLive or MIKTeX) is required. Preferably install TeXLive.
To compile libdvi, you will need meson
and ninja
and a C99 compiler.
Refer to your distribution to install them.
Normally, if TeXLive is installed, the kpathsea library is also installed
and should be detected without any problem. Or you can also install just
the kpathsea
library. Also update meson. For example, on Ubuntu :
sudo apt instal libkpathsea-dev texlive-binaries
pip3 install --user meson
And to build libdvi
:
meson setup builddir --prefix=/foo/bar
ninja -C builddir
Install TeXLive with pacman -S mingw-w64-x86_64-texlive
. You can also
install just the kpathsea package with pacman -S mingw-w64-x86_64-texlive-bin
.
The name of the DLL is (with latest TeXLive version) libkpathsea-6.dll
.
So pass the -Dkpathsea-name
meson option the name of the DLL without
the lib
prefix and without the extension. Pass also the full path to
the binary directory where the DLL is located. For example :
meson setup builddir --prefix=/foo/bar -Dkpathsea-name=kpathsea-6 -Dkpathsea-path=/mingw64/bin
ninja -C builddir
If TeXLive is installed outside MSYS2, replace the name of kpathsea
if it is different from kpathsea-6
(unlikely though) and its location
in the meson
command above.
If MIKTeX is installed instead of TeXLive, replace the name of kpathsea
(usually something like MIKTEX211200-kpathsea
) and its location in the
meson
command above.