#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 10. Graphics and Font Libraries

- Prev

  FriBidi-1.0.16

- Next

  giflib-6.1.3

- Up
- Home

# gegl-0.4.70

## Introduction to gegl

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

### Note

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

### Package Information

- Download (HTTP): https://download.gimp.org/pub/gegl/0.4/gegl-0.4.70.tar.xz

- Download MD5 sum: 2442d5f0cb97bcc1b50d2082e29c9375

- Download size: 5.9 MB

- Estimated disk space required: 159 MB (With tests)

- Estimated build time: 0.9 SBU (with tests, both with parallelism=4)

#### Required

babl-0.1.126 and JSON-GLib-1.10.8

#### Recommended

GLib-2.88.0 (with GObject Introspection), Graphviz-14.1.5 (build with pango and libpng), Pygments-2.20.0, and PyGObject-3.56.2

#### Optional

asciidoc-10.2.1, Cairo-1.18.4, FFmpeg-8.1 (currently broken), gdk-pixbuf-2.44.6, gexiv2-0.16.0, GTK-Doc-1.36.1, jasper-4.2.9, Little CMS-2.19, libraw-0.22.1, librsvg-2.62.1, libspiro-20220722, libtiff-4.7.1, libwebp-1.6.0, luajit-20260213, Pango-1.57.1, Poppler-26.04.0, Ruby-4.0.3, sdl2-compat-2.32.68, v4l-utils-1.32.0, Vala-0.56.19, lensfun, libnsgif, libumfpack, maxflow, MRG, OpenCL, OpenEXR, poly2tri-c, source-highlight, and w3m

## Installation of gegl

If you are installing over a previous version of gegl, one of the modules will need to be removed. As the `root` user, run the following command to remove it:

    rm -f /usr/lib/gegl-0.4/vector-fill.so

Install gegl by running the following commands:

    mkdir build &&
    cd    build &&

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

To run the tests, issue: ninja test. Many tests are skipped depending on what optional dependencies are installed. Fourteen tests are known to fail in the `gegl:ff-load-save` portion of the test suite due to incompatibilities with recent versions of ffmpeg.

Now, as the `root` user:

    ninja install

## Command Explanations

`-D docs=true`: Use this switch to build and install the documentation (requires GTK-Doc-1.36.1).

## Contents

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

### Short Descriptions

gegl | is a commandline tool for interfacing with the gegl library
gegl-imgcmp | is a simple image difference detection tool for use in regression testing
`libgegl-0.4.so` | provides infrastructure to do demand based cached non destructive image editing on larger than RAM buffers
`libgegl-npd-0.4.so` | is the GEGL N-point image deformation library

- Prev

  FriBidi-1.0.16

- Next

  giflib-6.1.3

- Up
- Home