libgsf-1.14.52

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

### Chapter 9. General Libraries

- Prev

  libgpg-error-1.50

- Next

  libgudev-238

- Up
- Home

# libgsf-1.14.52

## Introduction to libgsf

The libgsf package contains a library used for providing an extensible input/output abstraction layer for structured file formats.

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

### Package Information

- Download (HTTP): https://download.gnome.org/sources/libgsf/1.14/libgsf-1.14.52.tar.xz

- Download MD5 sum: c64b4a29dd2e67749313f3917a12a709

- Download size: 692 KB

- Estimated disk space required: 14 MB (with tests)

- Estimated build time: 0.2 SBU (with tests)

### Additional Downloads

- Required patch: https://www.linuxfromscratch.org/patches/blfs/12.2/libgsf-1.14.52-upstream_fixes-1.patch

### libgsf Dependencies

#### Required

GLib-2.80.4 and libxml2-2.13.3

#### Recommended

gdk-pixbuf-2.42.12 (To build gsf-office-thumbnailer)

#### Optional

GTK-Doc-1.34.0, p7zip-17.04 (for tests), UnZip-6.0 (for tests), and Valgrind-3.23.0 (for tests)

## Installation of libgsf

First, fix building libgsf with libxml2-2.13:

    patch -Np1 -i ../libgsf-1.14.52-upstream_fixes-1.patch

Install libgsf by running the following commands:

    autoreconf                                 &&
    ./configure --prefix=/usr --disable-static &&
    make

To test the results, issue: make check. Two tests related to Valgrind-3.23.0 are known to fail.

Now, as the `root` user:

    make install

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

`--enable-gtk-doc`: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

## Contents

Installed Programs: gsf, gsf-office-thumbnailer, and gsf-vba-dump
Installed Library: libgsf-1.so
Installed Directories: /usr/include/libgsf-1, /usr/share/gtk-doc/html/gsf and /usr/share/thumbnailers

### Short Descriptions

gsf | is a simple archive utility, somewhat similar to tar(1)
gsf-office-thumbnailer | is used internally by GNOME applications such as Nautilus to generate thumbnails of several types of office application files
gsf-vba-dump | is used to extract Visual Basic for Applications macros from files
`libgsf-1.so` | contains the libgsf API functions

- Prev

  libgpg-error-1.50

- Next

  libgudev-238

- Up
- Home