Introduction to gegl

This package provides the GEneric Graphics Library, which is a graph based image processing format.



Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

gegl Dependencies


babl-0.1.98, JSON-GLib-1.6.6, libjpeg-turbo-, and libpng-1.6.39



asciidoc-10.2.0, Cairo-1.17.6, Exiv2-0.27.6, FFmpeg-5.1.2, gdk-pixbuf-2.42.10, gexiv2-0.14.0, GTK-Doc-1.33.2, JasPer-4.0.0, Little CMS-2.14, libraw-0.21.1, librsvg-2.54.5, libtiff-4.5.0, libwebp-1.3.0, Pango-1.50.12, Poppler-23.02.0, Ruby-3.2.0, SDL2-2.26.3, v4l-utils-1.22.1, Vala-0.56.3, libspiro-20220722, lensfun, libumfpack, LuaJIT, OpenCL (for tests), MRG, and OpenEXR

User Notes:

Installation of gegl

If installing over a previous version of gegl, one module needs to be removed. As the root user, run:

rm -f /usr/lib/gegl-0.4/

If LibRaw-0.21.0 or above is installed, the build fails due to a change in the ABI. Fix the issue by issuing:

sed -e '/shot_select/s/params/raw&/' \
    -i operations/external/raw-load.c

Install gegl by running the following commands:

mkdir build &&
cd    build &&

meson --prefix=/usr --buildtype=release .. &&

To run the tests, issue: ninja test. This should indicate no failures, but will skip many tests depending on optional dependencies installed on the system.

Now, as the root user:

ninja install

Command Explanations

-Ddocs=true: Build and install documentation (requires GTK-Doc-1.33.2,).


Installed Programs: gegl and gegl-imgcmp
Installed Libraries:,,, and modules in /usr/lib/gegl-0.4
Installed Directories: /usr/lib/gegl-0.4 and /usr/include/gegl-0.4

Short Descriptions


is a commandline tool for working with the XML data model


is a simple image difference detection tool for use in regression testing

provides infrastructure to do demand based cached non destructive image editing on larger than RAM buffers

is the GEGL N-point image deformation library

is the GEGL Seamless Cloning library