libgsf-1.14.21

Introduction to libgsf

The libgsf package contains libgsf-1 libraries. These are useful for providing an extensible input/output abstraction layer for structured file formats.

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

Package Information

libgsf Dependencies

Required

GLib-2.30.1, libxml2-2.7.8, and XML::Parser-2.40

Optional

Python-2.7.2, PyGTK-2.17.0, GConf-2.28.1 (required to build the gsf-office-thumbnailer program), GNOME Virtual File System-2.24.4 and libbonobo-2.24.3 (required to build the libgsf-gnome-1.so library which provides GNOME-2 support), and GTK-Doc-1.18

Note: you should build the libgsf-gnome-1.so library if you plan on building GnuCash-2.2.4 or Gnumeric-1.10.17 with GNOME-2 support.

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

Installation of libgsf

Install libgsf by running the following commands:

./configure --prefix=/usr \
  --sysconfdir=/etc/gnome/2.30.2 &&
make

Running make check will build a battery of test programs which are built using the just-created libgsf-1 library. All the programs should build successfully with no errors displayed.

Now, as the root user:

make install

Command Explanations

--sysconfdir=/etc/gnome/2.30.2: Use this parameter to ensure that if GConf has been installed, this package's schema files will be installed in the correct location instead of /usr/etc/.

--without-python: This parameter is required if Python is not installed.

--disable-static: This switch prevents the static libraries in this package being built and installed.

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

Contents

Installed Program: gsf, gsf-office-thumbnailer (optional), and gsf-vba-dump
Installed Libraries: libgsf-1.{so,a} and optionally, libgsf-gnome-1.{so,a}
Installed Directories: /usr/include/libgsf-1 and /usr/share/gtk-doc/html/gsf and optionally, /usr/lib/python2.7/site-packages/gsf

Last updated on 2012-01-04 17:36:19 +0000