#### Beyond Linux® From Scratch (systemd Edition) - Version 11.1

### Chapter 10. Graphics and Font Libraries

- Prev

  libexif-0.6.24

- Next

  libjpeg-turbo-2.1.2

- Up
- Home

# Libgxps-0.3.2

## Introduction to libgxps

The libgxps package provides an interface to manipulate XPS documents.

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

### Package Information

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

- Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/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.31, Little CMS-2.13.1, libarchive-3.6.0, libjpeg-turbo-2.1.2, libtiff-4.3.0, and libxslt-1.1.35

#### Optional

git-2.35.1 and GTK-Doc-1.33.2

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libgxps

## Installation of Libgxps

Install Libgxps by running the following commands:

    mkdir build &&
    cd    build &&

    meson --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

Last updated on

- Prev

  libexif-0.6.24

- Next

  libjpeg-turbo-2.1.2

- Up
- Home