vtorri / libdvi

DVI rendering library written in C99

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github Build status Github Build status

libdvi

DVI rendering library written in C99

License

This application is released under the LGPL 2.1 or later

Requirements

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.

Compilation and installation

On UNIX (linux, BSD, Mac OSX, Solaris

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
sudo pip3 install meson==0.55.3

And to build libdvi:

meson setup buildir --prefix=/foo/bar
meson compile -C builddir

On Windows, using MSYS2, 64 bits

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 buildir --prefix=/foo/bar -Dkpathsea-name=kpathsea-6 -Dkpathsea-path=/mingw64/bin
meson compile -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.

About

DVI rendering library written in C99

License:GNU Lesser General Public License v2.1


Languages

Language:C 88.8%Language:Meson 4.7%Language:M4 4.6%Language:Makefile 1.8%Language:Shell 0.1%