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-7.4
Download (HTTP): http://artfiles.org/gimp.org/gimp/v2.8/gimp-2.8.6.tar.bz2
Download (FTP): ftp://ftp.gimp.org/pub/gimp/v2.8/gimp-2.8.6.tar.bz2
Download MD5 sum: 12b3fdf33d1f07ae79b412a9e38b9693
Download size: 20 MB
Estimated disk space required: 670 MB (additional 680 MB to
run the test suite, the help files add from 267 MB (en only)
to 1.3 GB (all), typically increasing by 60 MB per
Estimated build time: 4.9 SBU (additional 1.2 SBU to run the
test suite, for the help files from 0.7 SBU (en only) to 29
SBU (all) - typically 1.5 SBU per translation)
gegl-0.2.0, GTK+-2.24.20 and Intltool-0.50.2
PyGTK-2.24.0 (including the gtk and pango
AAlib-1.4rc5, alsa-lib-220.127.116.11, cURL-7.32.0,
(with libgs installed), Gvfs-1.16.3, ISO
Codes-3.46, JasPer-1.900.1, Little CMS-1.19,
librsvg-2.37.0, libwmf, Poppler-0.24.1, an MTA (that provides
a sendmail program),
udev-Installed LFS Version or
udev-extras (from systemd) (for
GUdev), WebKitGTK+-1.10.2 and GTK-Doc-1.19
Optional, for optimizing the PNG files in the help system
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gimp
Installation of Gimp
Install Gimp by running the
./configure --prefix=/usr --sysconfdir=/etc --without-gvfs &&
To test the results (requires an X-Windowed terminal) issue:
Now, as the
gimp-help tarball contains images
and English text help for help files, together with translations.
It is "work in progress".
If you downloaded the
tarball, unpack it and change into the root of the newly created
source tree. This release fails to build for its first language,
Catalan ("ca") but those who wish to build the remaining languages
can prepare for the build with the following command:
ALL_LINGUAS="da de el en en_GB es fi fr hr it ja ko lt nl nn pl ru sl sv zh_CN" \
./configure --prefix=/usr &&
ALL_LINGUAS the codes for
any languages which you do not wish to install.
Alternatively, if you wish to build languages including Catalan,
apply the patch:
xzcat ../gimp-help-2.8.0-build_fixes-1.patch.xz \
| patch -p1 &&
./autogen.sh --prefix=/usr &&
Again, you can specify a subset of languages by specifying
ALL_LINGUAS in front of ./autogen.sh, but this time
Now build the help files:
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
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
perform the update you must have GTK+-2.24.20 or
GTK+-3.8.4 installed (for the icon cache) and
desktop-file-utils-0.22 (for the
desktop cache) and issue the following commands as the
LINGUAS="ca da de 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.
In this case, using autoreconf to regenerate
configure does not work, because of
how the gimp-help developers chose to address problems with the
../gimp-help-2.8.0-build_fixes-1.patch.xz: this patch
is large, so it has been compressed with xz. You are encouraged to be suspicious of all
patches until you have looked at them. Use view to read the compressed patch
before you apply it.
--enable-gtk-doc: Use this parameter if
GTK-Doc is installed and you wish
to rebuild and install the API documentation.
Configuring The Gimp
The Gimp executes a
configuration wizard for each user upon their initial use of the
The Gimp executes the
firefox web browser
by default to view the help files. If you do not have
Firefox, or prefer a different
web browser, you can set a new system value in
/etc/gimp/2.0/gimprc. Execute the following
command as the
<browser> with your
preferred web browser:
echo '(web-browser "
<browser> %s")' >> /etc/gimp/2.0/gimprc
gimp, gimp-2.8, gimp-console,
gimp-console-2.8 and gimptool-2.0
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
is a symbolic link to gimp-2.8.
is the Gnu Image Manipulation Program. It works with a
variety of image formats and provides a large selection
is a symbolic link to gimp-console-2.8.
is a console program that behaves as if The Gimp was called with the
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.
provides C bindings for The Gimp's Procedural Database (PDB)
which offers an interface to core functions and to
functionality provided by plug-ins.
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.
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
contains C functions for reading and writing config
contains C functions which provide mathematical
definitions and macros, manipulate 3x3 transformation
matrices, set up and manipulate vectors and the MD5
provides the C functions which implements module loading
using GModule and keeps a list of GimpModule's found in a
provides the C functions for handling The Gimp's thumbnail objects.
contains The Gimp's
common user interface functions.
contains The Gimp and
GTK's widget creation
and manipulation functions.
Last updated on 2013-08-23 04:24:34 -0700