Gimp-2.8.22

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.1 platform.

Package Information

Additional Downloads

  • Optional help files: https://download.gimp.org/pub/gimp/help/gimp-help-2.8.2.tar.bz2

  • Download MD5 sum: a591c8974b2f4f584d0a769d52ed6c5b

  • Download size: 152 MB

  • Estimated disk space required: From 307 MB (en only) to 1257 MB (all 18 languages), average of 52 MB per translation

  • Estimated build time: 0.8 SBU (en only), average of 1.2 SBU per translation (measured with 5 languages), 5.9 SBU, with parallelism=8, for all languages

Gimp Dependencies

Required

gegl-0.3.20 and GTK+-2.24.31

Recommended

Optional

AAlib-1.4rc5, alsa-lib-1.1.4.1, cURL-7.55.1, dbus-glib-0.108, ghostscript-9.21 (with libgs installed), Gvfs-1.32.1, ISO Codes-3.75, JasPer-2.0.12, Little CMS-1.19 or Little CMS-2.8, libexif-0.6.21, libgudev-231, libmng-2.0.3, librsvg-2.40.18, Poppler-0.57.0, an MTA (that provides a sendmail program), GTK-Doc-1.26, webkitgtk-2.4.11, and libwmf

Optional, for optimizing the PNG files in the help system

pngnq and pngcrush

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

Installation of Gimp

Fix some issues with gegl-0.3.20:

sed -i '/gegl/s/2/3/' configure &&
sed -i '70,75 d' app/core/gimpparamspecs-duplicate.c

Install Gimp by running the following commands:

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

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

Now, as the root user:

make install
[Note]

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.31 or GTK+-3.22.18 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.

If you downloaded the gimp-help tarball, unpack it 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 fr it ja ko nl nn pt_BR ru sl sv 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/2.0/help

Command Explanations

sed ... configure && sed ...: These commands allow building with the current version of gegl.

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.

--without-gvfs: the choice of the backend to handle URI information, e.g., when dragging images from a browser into the Gimp, is made at compile time. This parameter will ensure that cURL is used at run-time, instead of Gvfs. You can omit this if you are installing Gvfs AND will be running gvfsd, e.g., in a GNOME desktop.

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

Configuration Information

The Gimp executes a configuration wizard for each user upon their initial use of the program.

The GIMP uses either a plugin (if you have installed the external package webkitgtk-2.4.11) or a browser for its help system. To set up the help system to work with the default browser, use Edit -> Preferences -> Help System and select 'Web Browser' for the 'Help Browser to use' setting.

Contents

Installed Programs: gimp (symlink), gimp-2.8, gimp-console (symlink), gimp-console-2.8, 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/help/{en,lang2,lang3,...}, /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.8.

gimp-2.8

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.8.

gimp-console-2.8

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 2017-08-28 19:49:07 -0700