Skip to content
/ libdvi Public

DVI rendering library written in C99

License

LGPL-2.1, LGPL-2.1 licenses found

Licenses found

LGPL-2.1
LICENSE
LGPL-2.1
COPYING
Notifications You must be signed in to change notification settings

vtorri/libdvi

Repository files navigation

Github Build status Github Build status CodeFactor

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 texlive-binaries
pip3 install --user meson

And to build libdvi:

meson setup builddir --prefix=/foo/bar
ninja -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 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.

About

DVI rendering library written in C99

Resources

License

LGPL-2.1, LGPL-2.1 licenses found

Licenses found

LGPL-2.1
LICENSE
LGPL-2.1
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published