GithubHelp home page GithubHelp logo

vtorri / libdvi Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 555 KB

DVI rendering library written in C99

License: GNU Lesser General Public License v2.1

Makefile 1.78% Shell 0.11% M4 4.64% C 88.78% Meson 4.69%

libdvi's Introduction

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.

libdvi's People

Contributors

vtorri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.