This page will teach you how to set Eclipse IDE to work on the latest source of GIMP from git.
- 1 About Eclipse
- 2 Preparations
- 3 Working with Eclipse
- 4 Miscellanous
- 5 Problems and solutions
Why use Eclipse to work on Babl, GEGL and GIMP?
Some of the features that are interesting for C/C++ developers are:
- cross-referencing: Ctrl click an identifier and it will take you to its definition,
- call hierarchy,
- comprehensive search capabilities,
- built in Git support,
- Autotools integration,
- graphical debugger,
- explore remote systems from within Eclipse,
- focus on the current task,
- Bugzilla integration,
- static code analysis.
and more. Eclipse runs on every platform that can run Java and has a graphical interface.
Why not to use Eclipse to work on GIMP?
Because it's not Emacs :-P
The following steps describe the process for Eclipse 4.3 'Kepler' on Linux. It is assumed that your workspace for all projects is /home/user/workspace and GIMP will be installed in /home/user/prefix/gimp.
The continuous example uses GEGL, because it is uses other libraries as well as it is used itself by GIMP. Where necessary the tutorial describes the differences for Babl and GIMP.
Prepare the build environment
clone the GEGL Git repository into your workspace:
- cd /home/user/workspace
- git clone git://git.gnome.org/gegl
To the same for GEGL and GIMP.
The easiest way is simply to download Eclipse IDE for C/C++ Developers). If you already have a working Eclipse installation and want to upgrade it, then download the following plug-ins:
- CDT (for C/C++ development),
- EGit (for Git integration).
- Mylyn Task List (for Bugzilla integration and task focused working).
- Remote Systems Explorer.
Configure Eclipse to work on Babl, GEGL and GIMP
Configure build environment
Working with Eclipse
Problems and solutions
See the Problems and Solutions page.