Gimp-2.10.8

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 41. Other X-based Programs

- Prev

  FontForge-20170731

- Next

  Gparted-0.33.0

- Up
- Home

# Gimp-2.10.8

## Introduction to Gimp

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

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): https://download.gimp.org/pub/gimp/v2.10/gimp-2.10.8.tar.bz2

- Download MD5 sum: b020e441bc8c5a9bd3061d2126119821

- Download size: 30 MB

- Estimated disk space required: 957 MB (244 MB installed, add 829 MB for tests)

- Estimated build time: 3.8 SBU (Using parallelism=4; add 0.7 SBU for tests)

### Additional Downloads

- ### Note

  The creation of local html files with recent versions of the necessary packages is somewhat broken (some png images are not sourced by the generated HTML, only their captions are visible).

  The updating of the help files is still WIP, with large parts of the text for many languages not yet translated. Here is a git pull: http://anduin.linuxfromscratch.org/BLFS/gimp/gimp-help-2018-08-21.tar.xz

- Download size: 172 MB

- Download md5sum: 4557d7450f0867b4a55190e6525065dc

- Estimated disk space required: From 352 MB (en only) to 1.6 GB (all 18 languages)

- Estimated build time: 1.9 SBU (en only), 13 SBU, with parallelism=4, for all languages

### Gimp Dependencies

#### Required

gegl-0.4.12, gexiv2-0.11.0, glib-networking-2.58.0, GTK+-2.24.32, HarfBuzz-2.3.1. libjpeg-turbo-2.0.2, libmypaint-1.3.0, librsvg-2.44.12, LibTIFF-4.0.10, libxml2-2.9.9 (for Python2) (to build the translated help files), Little CMS-2.9, mypaint-brushes-1.3.0, Poppler-0.74.0 (including poppler-data) and X Window System

#### Recommended

dbus-glib-0.110, ghostscript-9.26 (with libgs installed), Gvfs-1.38.1 (to access the online help), ISO Codes-4.1, libgudev-232, PyGTK-2.24.0 (including the gtk, pango and pangocairo modules) and xdg-utils-1.1.3

#### Optional

AAlib-1.4rc5, alsa-lib-1.1.8, libmng-2.0.3, libwebp-1.0.2, OpenJPEG-2.3.0, an MTA (that provides a sendmail program), GTK-Doc-1.29, appstream-glib and libwmf

When you have run configure, you will see that WebKit is not found - that dependency is for the legacy webkit-1.0 which should never be used on a modern system exposed to the internet.

#### 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

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gimp

## Installation of Gimp

Install Gimp by running the following commands:

    ./configure --prefix=/usr \
                --sysconfdir=/etc &&
    make

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

Now, as the `root` user:

    make install

### Note

This package installs icon files into the `/usr/share/icons/hicolor` hierarchy and desktop files into the `/usr/share/applications` hierarchy. You can improve system performance and memory usage by updating `/usr/share/icons/hicolor/index.theme` and `/usr/share/applications/mimeinfo.cache`. To perform the update you must have GTK+-2.24.32 or GTK+-3.24.5 installed (for the icon cache) and desktop-file-utils-0.23 (for the desktop cache) and issue the following commands as the `root` user:

    gtk-update-icon-cache &&
    update-desktop-database

## Installation of Gimp-Help

The `gimp-help` tarball contains images and English text help for help files, together with translations. Because of the issues mentioned in the note above, you are recommended to use the online help, either by building against Gvfs-1.38.1 so that 'help' can open the latest XML files in your browser, or else you can manually open the html in your browser by going to https://docs.gimp.org/2.10/en (change the language code if desired).

If you nevertheless 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. Prepare for the build with the following command:

    ALL_LINGUAS="ca da de el en en_GB es fi fr it ja ko nl nn pt_BR ro ru zh_CN" \
    ./autogen.sh --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/2.0/help

## Command Explanations

`ALL_LINGUAS="ca da de el en en_GB ..."`: 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.

`--disable-python`: This option is necessary if you have not installed PyGTK.

`--enable-gtk-doc`: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

## Configuring The Gimp

### Config Files

`/etc/gimp/2.0/*` and `~/.gimp-2.8/gimprc`

## Contents

Installed Programs: gimp (symlink), gimp-2.10, gimp-console (symlink), gimp-console-2.10, gimp-test-clipboard-2.0, and gimptool-2.0
Installed Libraries: libgimp-2.0.so, libgimpbase-2.0.so, libgimpcolor-2.0.so, libgimpconfig-2.0.so, libgimpmath-2.0.so, libgimpmodule-2.0.so, libgimpthumb-2.0.so, libgimpui-2.0.so, and libgimpwidgets-2.0.so
Installed Directories: /etc/gimp, /usr/include/gimp-2.0, /usr/{lib,share}/gimp, /usr/share/gimp/2.0, /usr/share/gtk-doc/html/libgimp{,base,color,config}, and /usr/share/gtk-doc/html/libgimp{math,module,thumb,widgets}

### Short Descriptions

gimp | is a symbolic link to gimp-2.10.
gimp-2.10 | is the Gnu Image Manipulation Program. It works with a variety of image formats and provides a large selection of tools.
gimp-console | is a symbolic link to gimp-console-2.10.
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.0 | is a tool that can build plug-ins or scripts and install them if they are distributed in one source file. gimptool-2.0 can also be used by programs that need to know what libraries and include-paths The Gimp was compiled with.
`libgimp-2.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-2.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-2.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-2.0.so` | contains C functions for reading and writing config information.
`libgimpmath-2.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-2.0.so` | provides the C functions which implements module loading using GModule and keeps a list of GimpModule's found in a given searchpath.
`libgimpthumb-2.0.so` | provides the C functions for handling The Gimp's thumbnail objects.
`libgimpui-2.0.so` | contains The Gimp's common user interface functions.
`libgimpwidgets-2.0.so` | contains The Gimp and GTK's widget creation and manipulation functions.

Last updated on 2019-02-17 17:47:43 -0600

- Prev

  FontForge-20170731

- Next

  Gparted-0.33.0

- Up
- Home