Introduction to Gdk Pixbuf
The Gdk Pixbuf package is a toolkit for image
loading and pixel buffer manipulation. It is used by
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 12.4 platform.
Package Information
Gdk Pixbuf Dependencies
Required
GLib-2.86.2 (GObject Introspection required for GNOME) and
shared-mime-info-2.4
Recommended
docutils-0.22.3
Optional
libjpeg-turbo-3.0.1 (deprecated),
libpng-1.6.50 (deprecated),
and
libtiff-4.7.1 (deprecated)
Installation of Gdk Pixbuf
Prepare Gdk Pixbuf by running the following
commands:
meson setup build \
--prefix=/usr \
--buildtype=release \
--wrap-mode=nofallback \
-D others=enabled \
-D glycin=disabled
ninja -C build
The test suite of this package does not provide meaningful results.
Now Install the package, as the root user:
ninja -C build install
![[Note]](../images/note.png)
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
-D others=enabled: Build the loaders for some
formats not supported by glycin yet, notably XBM and XPM.
-D *=disabled: Don't build the components
obsoleted in favor of glycin. Those components are automatically
disabled when building this package with glycin installed, but explicitly
specify those options to make the configuration of the first build
(without glycin) consistent.
Contents
Installed Programs:
gdk-pixbuf-csource,
gdk-pixbuf-pixdata, and
gdk-pixbuf-query-loaders
Installed Libraries:
libgdk_pixbuf-2.0.so
Installed Directories:
/usr/include/gdk-pixbuf-2.0,
/usr/lib/gdk-pixbuf-2.0,
/usr/libexec/installed-tests/gdk-pixbuf,
/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
|
libgdk_pixbuf-2.0.so
|
contains functions used to load and render images
|