gimp 2.7 compilation sur debian squeeze

Hello Wolrd … et bonne années … bla bla bla

Bon today … how to compil gimp 2.7 from a debian squeeze 🙂

1/ Installation et configuration de l’environnement :

sudo apt-get install git-core libtool autoconf automake intltool ruby
export PATH=$PATH:/opt/gimp-2.7/bin
export PKG_CONFIG_PATH=/opt/gimp-2.7/lib/pkgconfig
export LD_LIBRARY_PATH=/opt/gimp-2.7/lib
sudo apt-get build-dep gimp

2/ Compilation des modules nécessaire à la compilation de gimp 2.7 : BABL et GEGL et GLIB

mkdir ~/GIMP

BABL

cd ~/GIMP
wget http://gd.tuwien.ac.at/graphics/gimp/babl/0.1//babl-0.1.6.tar.bz2
tar -jxvf  babl-0.1.6.tar.bz2
cd babl-0.1.6
 ./autogen.sh
 make -j4
 sudo make install -j4

GDK PIXBUF

cd ~/GIMP
wget http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.24/gdk-pixbuf-2.24.0.tar.bz2
tar -jxvf gdk-pixbuf-2.24.0.tar.bz2
cd gdk-pixbuf-2.24.0
./configure --prefix=/opt/gimp-2.7
make -j4
sudo make install -j4

PIXMAN

cd ~/GIMP
wget http://cairographics.org/releases/pixman-0.24.0.tar.gz
tar -zxvf pixman-0.24.0.tar.gz
cd pixman-0.24.0
./configure --prefix=/opt/gimp-2.7
make -j4
sudo make install -j4

freetype

cd ~/GIMP
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.4.8.tar.bz2
tar -zxvf freetype-2.4.8.tar.bz2
cd freetype-2.4.8
./configure --prefix=/opt/gimp-2.7
make -j4
sudo make install -j4

fontconfig

cd ~/GIMP
wget http://cgit.freedesktop.org/fontconfig/snapshot/fontconfig-2.8.0.tar.bz2
tar -zxvf fontconfig-2.8.0.tar.bz2
cd fontconfig-2.8.0
./configure --prefix=/opt/gimp-2.7
make -j4
sudo make install -j4

PANGO

cd ~/GIMP
wget http://ftp.acc.umu.se/pub/GNOME/sources/pango/1.29/pango-1.29.5.tar.bz2
tar -zxvf pango-1.29.5.tar.bz2
cd pango-1.29.5
./configure --prefix=/opt/gimp-2.7
make -j4
sudo make install -j4

CAIRO

cd ~/GIMP
wget http://cairographics.org/releases/cairo-1.10.2.tar.gz
tar -zxvf cairo-1.10.2.tar.gz
cd cairo-1.10.2
./configure --prefix=/opt/gimp-2.7
make -j4
sudo make install -j4

GLIB

cd ~/GIMP
wget http://ftp.gnome.org/pub/GNOME/sources/glib/2.31/glib-2.31.2.tar.bz2
tar -jxvf glib-2.31.2.tar.bz2
cd glib-2.31.2
./configure --prefix=/opt/gimp-2.7
make -j4
sudo make install -j4

GEGL

cd ~/GIMP
wget http://gd.tuwien.ac.at/graphics/gimp/gegl/0.1/gegl-0.1.8.tar.bz2
tar -jxvf gegl-0.1.8.tar.bz2
cd gegl-0.1.8
./autogen.sh --prefix=/opt/gimp-2.7 --disable-gtk-doc
make -j4
sudo make install -j4

3/ Compilation de GIMP

cd ~/GIMP
git clone --depth 1 git://git.gnome.org/gimp
cd gimp
./autogen.sh --prefix=/opt/gimp-2.7 --disable-gtk-doc
make -j4
sudo make install -j4

 

4/ Lancement

Pour ceux qui ont l’erreur :

/opt/gimp-2.7/bin/gimp-2.7
Gtk-Message: Failed to load module "canberra-gtk-module"
Erreur de segmentation

Je me suis pas trop embarrasser de recompil :

ln -s /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so /opt/gimp-2.7/lib/gtk-2.0/libcanberra-gtk-module.so

Et roule ma poule : vive les fenêtre unique 🙂

 

One Comment

  1. Je n’ai pas encore testé la compilation, mais en tous cas merci pour ce travail.