Compile latest GIMP source (developer version) for Ubuntu 9.04
Here you can see how to fetch the current GIMP source code from the Git server and compile it for Ubuntu 9.04:
1. The new files for GIMP 2.7 shall go to /opt/gimp-2.7 so they don’t disturb the GIMP version installed by the system (GIMP 2.6.6 in case of Ubuntu 9.04). Both versions shall be usable at the same time. So you need to set these environment variables on the command line (and later use the -prefix parameter):
export PATH=$PATH:/opt/gimp-2.7/bin
export PKG_CONFIG_PATH=/opt/gimp-2.7/lib/pkgconfig
Now switch to a temporary directory and fetch BABL, GEGL and GIMP from the Git server:
mkdir ~/tmp # if not existing yet
cd ~/tmp
git clone git://git.gnome.org/babl
git clone git://git.gnome.org/gegl
git clone git://git.gnome.org/gimp
Some libraries and its development packages (including headers, API definitions etc.) are needed in order to compile BABL, GEGL and GIMP. You can install the most important packages using this command:
sudo apt-get build-dep gimp
This command installs all libraries and packages that are needed to compile the GIMP version shipped with Ubuntu (= GIMP 2.6). Because the dependencies of GIMP 2.6 and 2.7 are mostly identical, the most important libraries are installed now. However, you have to install these additional packages:
sudo aptitude install libtool ruby
Then you can compile and install BABL, GEGL and GIMP:
cd babl
./autogen.sh —prefix=/opt/gimp-2.7
nice make -j3 # 3 instances, suggestion: number of CPUs+1
*sudo make install
cd ../gegl
./autogen.sh —prefix=/opt/gimp-2.7
nice make -j3
sudo make install
cd ../gimp
./autogen.sh —prefix=/opt/gimp-2.7
nice make -j3
sudo make install*
Now GIMP 2.7 should be installed. You can launch it with /opt/gimp-2.7/bin/gimp – have fun!
Comments
Post your own comments, questions or hints here. The author and other users will see your posting and can reply to it.
Of course, you can also ask in the chat.
Subscription management
Please log in to manage your subscriptions.
New comments are disabled because of spam.