gdk-pixbuf-2.38.1

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

### Chapter 25. X Libraries

- Prev

  Freeglut-3.0.0

- Next

  GLEW-2.1.0

- Up
- Home

# gdk-pixbuf-2.38.1

## Introduction to Gdk Pixbuf

The Gdk Pixbuf package 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-9.0 platform.

### Package Information

- Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.38/gdk-pixbuf-2.38.1.tar.xz

- Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.38/gdk-pixbuf-2.38.1.tar.xz

- Download MD5 sum: f6ba2195acd18c5c9555421f30c31cc1

- Download size: 5.3 MB

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

- Estimated build time: 0.4 SBU (Using parallelism=4; with tests)

### Gdk Pixbuf Dependencies

#### Required

GLib-2.60.6, libjpeg-turbo-2.0.2, libpng-1.6.37, and shared-mime-info-1.12

#### Recommended

librsvg-2.44.14 (runtime dependency, needed for loading symbolic icons), LibTIFF-4.0.10, and Xorg Libraries (Many GTK+ applications require gdk-pixbuf-xlib).

#### Optional (Required if building GNOME)

gobject-introspection-1.60.2

#### Optional

JasPer-2.0.14 and GTK-Doc-1.32

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

## Installation of Gdk Pixbuf

Install Gdk Pixbuf by running the following commands:

    mkdir build &&
    cd build &&

    meson --prefix=/usr .. &&
    ninja

To test the results, issue: ninja test. The tests make a heavy use of disk.

Now, as the `root` user:

    ninja install

### Note

If you installed the package on to your system using a “DESTDIR” method, an important file was not installed and should be copied and/or generated. Generate it using the following command as the `root` user:

    gdk-pixbuf-query-loaders --update-cache

## Command Explanations

`-Ddocs=true`: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

`-Djasper=true`: If you've installed JasPer-2.0.14 and you want Gdk Pixbuf to use it to compile a JPEG2000 image loader, pass this switch to meson.

## Contents

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

### Short Descriptions

gdk-pixbuf-csource | is a small utility that generates C code containing images, used for compiling images directly into programs.
gdk-pixbuf-pixdata | is a tool used to convert GdkPixbuf to GdkPixdata.
gdk-pixbuf-query-loaders | collects information about loadable modules for Gdk Pixbuf and writes it to the default cache file location, or to stdout.
gdk-pixbuf-thumbnailer | creates thumbnails of pictures for use in other applications.
`libgdk_pixbuf-2.0.so` | contains functions used to load and render images.
`libgdk_pixbuf_xlib-2.0.so` | contains functions used to manipulate images and interfaces with Xlib.

Last updated on 2019-08-16 20:24:05 -0700

- Prev

  Freeglut-3.0.0

- Next

  GLEW-2.1.0

- Up
- Home