gimp-20240711

Introduction to Gimp

The Gimp package contains the GNU Image Manipulation Program which is useful for photo retouching, image composition, and image authoring.

[Note]

Note

This package is a snapshot of the upcoming stable release of gimp3. It avoids several deprecated dependencies, notably gtk2.

[Note]

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

Additional Downloads

[Note]

Note

The help files English version is complete, but large parts of the text for many other languages are not yet translated.

  • Download (HTTP): https://anduin.linuxfromscratch.org/BLFS/gimp/gimp3-help-20240711.tar.xz

  • Download size: 129 MB

  • Download MD5 sum: 162d57a67ff737ed221a8d7f274d119f

  • Estimated disk space required: From 351 MB (74 MB installed) for en only to 722 MB (1.5 GB installed) for all languages

  • Estimated build time: 0.4 SBU (en only); 5.1 SBU for all languages; using parallelism=4

Gimp Dependencies

Required

appstream-glib-0.8.3, gegl-0.4.48, gexiv2-0.14.2, glib-networking-2.80.0, GTK+-3.24.42, harfBuzz-9.0.0. libjpeg-turbo-3.0.1, libmypaint-1.6.1, librsvg-2.58.1, libtiff-4.6.0, Little CMS-2.14, mypaint-brushes-1.3.1, Poppler-24.07.0 (including poppler-data) and a graphical environment

Recommended

Optional

AAlib-1.4rc5, alsa-lib-1.2.12, Gjs-1.80.2, Gvfs-1.54.1 (to access the online help), libmng-2.0.3, libunwind-1.6.2, libjxl-0.10.3, libwebp-1.4.0, Lua-5.4.7, OpenJPEG-2.5.2, GTK-Doc-1.34.0, cfitsio, goi, libbacktrace, libheif with libde265 (both needed to read macOS heic images), libbacktrace, libiff, libilbm, and OpenEXR

Optional, for building the help system

dblatex (for PDF docs), pngnq and pngcrush to optimize the png files, but see the note on the help download above

Installation of Gimp

Install Gimp by running the following commands:

mkdir gimp-build &&
cd    gimp-build &&

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

To test the results (requires an X-Windowed terminal) issue: ninja test.

Now, as the root user:

ninja install

Installation of Gimp-Help

The gimp-help tarball contains images and English text help for help files, together with translations. If you wish to install local copies of the help files to read offline, unpack the gimp-help tarball and change into the root of the newly created source tree.

tar -xf ../../gimp3-help-20240711.tar.xz &&
cd gimp3-help-20240711

ALL_LINGUAS="ca cs da de en en_GB es fa fr hr ko lt nl nn pt pt_BR ro sl sv uk zh_CN" \
./configure --prefix=/usr

Remove from ALL_LINGUAS the codes for any languages which you do not wish to install. Alternatively, remove the line starting with ALL_LINGUAS, if you wish to build all languages.

Now build the help files:

make

Issue the following commands as the root user to install the help files:

make install &&
chown -R root:root /usr/share/gimp/3.0/help

Command Explanations

ALL_LINGUAS="ca cs da de en en_GB es fa...": by default, the help files will be rendered in all the available languages. Remove the codes of any languages you do not wish to build.

Configuring The Gimp

Config Files

/etc/gimp/3.0/*

Contents

Installed Programs: gimp-2.99, gimp-console-2.99, gimptool-2.99, gimp-test-clipboard-2.99, and gimp-script-fu-interpreter-3.0
Installed Libraries: libgimp-3.0.so, libgimp-scriptfu-3.0, libgimpbase-3.0.so, libgimpcolor-3.0.so, libgimpconfig-3.0.so, libgimpmath-3.0.so, libgimpmodule-3.0.so, libgimpui-3.0.so, and libgimpwidgets-3.0.so
Installed Directories: /etc/gimp, /usr/include/gimp-3.0, /usr/lib/gimp/3.0, /usr/share/gimp/3.0, and /usr/share/doc/gimp-2.99

Short Descriptions

gimp-2.99

is the Gnu Image Manipulation Program. It works with a variety of image formats and provides a large selection of tools

gimp-console-2.10

is a console program that behaves as if The Gimp was called with the - -no-interface command-line option

gimptool-2.99

is a tool that can build plug-ins or scripts and install them if they are distributed in one source file. gimptool-2.99 can also be used by programs that need to know what libraries and include-paths used when gimp was compiled

libgimp-3.0.so

provides C bindings for The Gimp's Procedural Database (PDB) which offers an interface to core functions and to functionality provided by plug-ins

libgimpbase-3.0.so

provides the C functions for basic Gimp functionality such as determining enumeration data types, gettext translation, determining The Gimp's version number and capabilities, handling data files and accessing the environment

libgimpcolor-3.0.so

provides the C functions relating to RGB, HSV and CMYK colors as well as converting colors between different color models and performing adaptive supersampling on an area

libgimpconfig-3.0.so

contains C functions for reading and writing config information

libgimpmath-3.0.so

contains C functions which provide mathematical definitions and macros, manipulate 3x3 transformation matrices, set up and manipulate vectors and the MD5 message-digest algorithm

libgimpmodule-3.0.so

provides the C functions which implement module loading using GModule and supports keeping a list of GimpModule's found in a given searchpath

libgimpthumb-3.0.so

provides the C functions for handling The Gimp's thumbnail objects

libgimpui-3.0.so

contains The Gimp's common user interface functions

libgimpwidgets-3.0.so

contains The Gimp and GTK's widget creation and manipulation functions