libgnomecanvas-2.30.3

Introduction to libgnomecanvas

The libgnomecanvas package contains the GNOME canvas library. It is an engine for structured graphics and one of the essential GNOME libraries.

[Note]

Note

This is a legacy GNOME-2 package which has been deprecated by the GNOME developers and will be removed from the book in due course. Please ensure that you really want or need it before you build it.

This package is known to build using an LFS 7.0 platform but has not been tested.

Package Information

libgnomecanvas Dependencies

Required

gtk+-2.24.8, intltool-0.50.0, and libart_lgpl-2.3.21

Optional

GTK-Doc-1.18 and libglade-2.6.4

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

Installation of libgnomecanvas

[Note]

Note

The instructions below are based on installing the package into a GNOME environment. If, for whatever reason, you're installing this package without having the core GNOME libraries installed, you'll need to modify the --prefix= parameter on the configure script to point to your desired installation path (e.g., --prefix=/usr).

Install libgnomecanvas by running the following commands:

./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) &&
make

This package does not have a testsuite.

Now, as the root user:

make install

Command Explanations

--prefix=$(pkg-config --variable=prefix ORBit-2.0): Setting the prefix using this parameter instead of with $GNOME_PREFIX will ensure that the prefix is consistent with the installation environment and the package will be installed in the correct location.

--disable-static: This switch prevents the static libraries being installed.

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

Contents

Installed Programs: None
Installed Library: libgnomecanvas-2.{so,a}
Installed Directories: $GNOME_PREFIX/{include/libgnomecanvas-2.0/libgnomecanvas, share/gtk-doc/html/libgnomecanvas}

Last updated on 2012-01-25 04:08:06 +0000