http://www.gimpusers...untu-linux.html. There are also images illustrating each step and links in a box on the right side. So, please have a look at the original version.
I appreciate any comments here and of course on gimpusers.de
Original tutorial: http://www.gimpusers...untu-linux.html
Translated tutorial:
[line]
In this tutorial, I want to describe how to fetch the newest GIMP version (= HEAD) from
CVS and then compile it. My work environment is Ubuntu Linux 6.06 (Dapper Drake).
- [*:3a35bfn8] The source code of GIMP is managed using CVS (concurrent versioning system).
CVS makes it possible to manage modules and files in different versions (every change
is recorded in the Changelog), set access rights etc.
CVS can be used to save the whole source code at a certain time as a "tag" (milestone,
release, version). For instance, the GIMP code as it was at the release time of
GIMP 2.3.9 is accessible by the "GIMP_2_3_9" tag.
Also, the code can be separated into different "branches" (boughs) which allows developers
to work in different branches independently of each other. E.g., "gimp-2-2" is
a branch and "soc-2006-vector-layers" another one. So, developers can work in
the "gimp-2-2" branch without modifying code in the SoC branch and vice versa.
To install the CVS client, we use this command:
sudo apt-get install cvs
[*:3a35bfn8] Then change the working directory (here: tmp in the home directory of the current
user) and fetch the newest code from the default branch:
[t]cd ~/tmp
cvs -d:pserver:anonymous@anoncvs.gimp.org:/cvs/gnome -z3 co -r HEAD gimp[/t]
Now the source code of the gimp module should reside in the directory "gimp".
[*:3a35bfn8] To compile GIMP, we need some tools. We'd like use everything what is supported
by GIMP:
autoconf, automake1.9, libtool, make to manage the ./configure scripts and Makefiles
gettext is needed for the GIMP translations into other languages
pkg-config references installed libraries
libgtk2.0-dev provides a GUI (windows, menus, buttons, ...)
libglib2.0-dev is a helper library (for lists etc.)
libpango1.0-dev renders text
libatk1.0-dev provides accessibility tools (screen magnifier etc.)
libfreetype6-dev allows us to use FreeType fonts
fontconfig to manage fonts
libart-2.0-dev is a library for 2D graphics manipulation
intltool, xsltproc for XML support
libtiff4-dev, libaa1-dev, libmng-dev, libpoppler-glib-dev, librsvg2-dev, libwmf-dev, libxpm-dev, libexif-dev, libgnomeui-dev, libgnome-keyring-dev, liblcms1-dev for various file formats and services
gtk-doc-tools, libgtkhtml2-dev for the documentation
python-dev, python-gtk2-dev for PythonFu
A lot of other packages are going to be installed as dependencies:
sudo apt-get install autoconf automake1.9 libtool make gettext pkg-config libgtk2.0-dev libglib2.0-dev libpango1.0-dev libatk1.0-dev libfreetype6-dev fontconfig libart-2.0-dev intltool xsltproc libtiff4-dev libaa1-dev libmng-dev libpoppler-glib-dev librsvg2-dev libwmf-dev libxpm-dev libexif-dev libgnomeui-dev libgnome-keyring-dev liblcms1-dev gtk-doc-tools python-dev python-gtk2-dev
You can also install these packages using the graphical packet manager Synaptic (System / Administration / Synapic, then select packages and "Apply" changes)
When using other distributions or older Ubuntu versions, you will have to download some packages
and compile them manually to match the needs of GIMP. However, it is my opinion that current package
versions are the great advantage of Ubuntu and everyone can download the newest Ubuntu release.
[*:3a35bfn8] Now execute the autogen.sh script in the gimp source directory:
cd gimp
./autogen.sh --disable-mmx --enable-sse
The script creates a ./configure file and then runs it.
Here, on my testing system (32 bit (d)chroot in Ubuntu 6.06/AMD64) I want the compiler to use
SSE instructions instead of MMX instructions. Otherwise, I'm getting compiler errors. If your
processor doesn't support SSE instructions, don't use the "--enable-sse" parameter.
[*:3a35bfn8]The last steps:
make
and
sudo make install
Impatient people like me can use [t]nice make -j5[/t] instead of [t]make[/t]. This directs
make to use up to 5 instances at the same time. "nice" reduces CPU priority so the system
stays reactive. Are there errors with "make -j5", try again with the pure "make" before
anything other - not all Makefiles support parallelisation perfectly.
GIMP is installed to /usr/local - run and enjoy with:
/usr/local/bin/gimp-2.3
[/line]

Help
















