#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 10. Graphics and Font Libraries

- Prev

  libexif-0.6.26

- Next

  libheif-1.21.2

- Up
- Home

# libgxps-0.3.2

## Introduction to libgxps

The libgxps package provides an interface to manipulate XPS documents.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://download.gnome.org/sources/libgxps/0.3/libgxps-0.3.2.tar.xz

- Download MD5 sum: 0527ac7c8c405445e96a5baa6019a0c3

- Download size: 80 KB

- Estimated disk space required: 5.4 MB

- Estimated build time: 0.1 SBU

### Libgxps Dependencies

#### Required

GTK-3.24.52, Little CMS-2.19, libarchive-3.8.7, libjpeg-turbo-3.1.4.1, libtiff-4.7.1, and libxslt-1.1.45

#### Optional

git-2.53.0 and GTK-Doc-1.36.1

## Installation of Libgxps

Install Libgxps by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr --buildtype=release .. &&
    ninja

This package does not come with a test suite.

Now, as the `root` user:

    ninja install

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

## Contents

Installed Programs: xpstojpeg, xpstopdf, xpstopng, xpstops, and xpstosvg
Installed Library: libgxps.so
Installed Directories: /usr/include/libgxps

### Short Descriptions

xpstojpeg | converts XPS documents to a JPEG image
xpstopdf | converts XPS documents to PDF format
xpstopng | converts XPS documents to a PNG image
xpstops | converts XPS documents to PostScript
xpstosvg | converts XPS documents to SVG images
`libgxps.so` | contains API functions for manipulating XPS documents

- Prev

  libexif-0.6.26

- Next

  libheif-1.21.2

- Up
- Home