gdk-pixbuf-2.26.1

Introduction to Gdk-Pixbuf

The Gdk-Pixbuf library is a toolkit for image loading and pixel buffer manipulation. It is used by Gtk 2 and Gtk 3 to load and manipulate images. In the past it was distributed as part of Gtk 2 but it was split off into a separate package in preparation for the change to Gtk 3.

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

Package Information

Gdk-Pixbuf Dependencies

Required

libjpeg-8d, libpng-1.5.9, LibTIFF-4.0.1 and pkg-config-0.26.

Recommended

Optional (Required if building GNOME)

gobject-introspection-1.32.1

Optional

JasPer-1.900.1 and GTK-Doc-1.18

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gdk-pixbuf

Installation of Gdk-Pixbuf

Install Gdk-Pixbuf by running the following commands:

./configure --prefix=/usr --with-x11 &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--with-x11: This switch enables building of the Gdk-Pixbuf X11 library which is needed for many packages.

--with-libjasper: If you've installed JasPer-1.900.1 and you want Gdk-Pixbuf to use it to compile a JPEG2000 image loader, pass this option to configure.

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

Contents

Installed Programs: gdk-pixbuf-csource, gdk-pixbuf-pixdata and gdk-pixbuf-query-loaders.
Installed Libraries: libgdk_pixbuf-2.0.so and libgdk_pixbuf_xlib-2.0.so.
Installed Directories: /usr/include/gdk-pixbuf-2.0, /usr/lib/gdk-pixbuf-2.0 and /usr/share/gtk-doc/html/gdk-pixbuf.

Short Descriptions

gdk-pixbuf-csource

is a small utility that generates C code containing images, used for compiling images directly into programs.

gdk-pixbuf-query-loaders

collects information about loadable modules for gdk-pixbuf and writes it to the default cache file location, or to stdout.

libgdk_pixbuf-2.0.so

contains functions that load and render images.

libgdk_pixbuf_xlib-2.0.so

contains functions that manipulate images and interfaces with Xlib.

Last updated on 2012-05-01 17:27:02 +0000