MuPDF-1.14.0

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 50. PostScript

- Prev

  fop-2.3

- Next

  paps-0.6.8

- Up
- Home

# MuPDF-1.14.0

## Introduction to MuPDF

MuPDF is a lightweight PDF and XPS viewer.

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): http://www.mupdf.com/downloads/archive/mupdf-1.14.0-source.tar.gz

- Download MD5 sum: 98adc2f430cc7900397ab50a478485c5

- Download size: 53 MB

- Estimated disk space required: 268 MB

- Estimated build time: 0.1 SBU (Using parallelism=4)

### Additional Downloads

- Recommended patch: http://www.linuxfromscratch.org/patches/blfs/svn/mupdf-1.14.0-shared_libs-1.patch

### MuPDF Dependencies

#### Required

Xorg Libraries

#### Recommended

Freeglut-3.0.0, HarfBuzz-2.3.1, libjpeg-turbo-2.0.2, OpenJPEG-2.3.0, and cURL-7.64.0

#### Optional

xdg-utils-1.1.3 (runtime), jbig2dec, and MuJS

#### Required (runtime)

X Window System

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/mupdf

## Installation of MuPDF

Install MuPDF by running the following commands:

    patch -Np1 -i ../mupdf-1.14.0-shared_libs-1.patch &&

    USE_SYSTEM_LIBS=yes make

This package does not come with a test suite.

Now, as the `root` user:

    USE_SYSTEM_LIBS=yes                     \
    make prefix=/usr                        \
         build=release                      \
         docdir=/usr/share/doc/mupdf-1.14.0 \
         install                            &&

    ln -sfv mupdf-x11 /usr/bin/mupdf        &&
    ldconfig

## Command Explanations

ln -sfv mupdf-x11 /usr/bin/mupdf : This symbolic link chooses between mupdf-gl and mupdf-x11 when running mupdf.

## Contents

Installed Program: mupdf(symlink), mupdf-gl, mupdf-x11, and mutool
Installed Libraries: libmupdf.so, libmupdfthird.so, libmupkcs7.so, and libmuthreads.so
Installed Directories: /usr/include/mupdf, /usr/share/doc/mupdf-1.14.0

### Short Descriptions

mupdf | is a program for viewing PDF, XPS, EPUB, and CBZ documents, and various image formats such as PNG, JPEG, GIFF, and TIFF.
mupdf-gl | same as mupdf, using an opengl renderer.
mupdf-x11 | same as mupdf, using an X Window renderer.
`libmupdf.so` | contains the mupdf API functions.
`libmupdfthird.so` | contains the third party libraries compiled for mudpf.

Last updated on 2019-02-15 15:01:29 -0600

- Prev

  fop-2.3

- Next

  paps-0.6.8

- Up
- Home