GIMP 2.9.x On Debian Jessie/Sid

NOTE: I’m not going to maintain this post any more (18th April 2016). Now Stretch is the current testing, I’m putting up a new page for the build there. Recent versions of GIMP from git need libmypaint, which adds an extra dependency. Please see this new article for compiling on Stretch.

I compiled GIMP for my Debian Jessie/Sid install last night. I used this marvellous document but there were a couple of errors, so I’m adding this update here. This means that this document is distributed by the same license as the original CC Attribution-Share Alike 3.0 Unported.

At time of writing 2.9.x is actually GIMP 2.9.1

What to do under DEBIAN

Open a terminal window and copy line for line int the window. Press RETURN and watch. The block with all the packages are one line, the “\” tells the system to ignore the line break, so you can copy and paste it in one chunk into your terminal.

Prepare the environment

cd
 export PREFIX=`echo ~/gimp`
 export PATH=$PREFIX/bin:$PATH
 export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig

Install needed packages

Become superuser, update your system, install, go back to normal user.

su -

 apt-get update
 apt-get upgrade
 apt-get install libtool automake autoconf git-core gettext \
 libglib2.0-0 libglib2.0-dev libgtk2.0-0 libgtk2.0-dev ruby \
 intltool libtiff5 libtiff5-dev python-dev python-gtk2-dev \
 libexif-dev libmng-dev liblcms1-dev libxpm-dev librsvg2-dev \
 libwmf-dev libasound2-dev valac xsltproc openexr libexif-dev \
 libexif12 libgexiv2-dev libbz2-dev gtk-doc-tools \
 libjson-glib-dev

 exit

There are also some optional packages to help with dependencies:

su -

 apt-get install libaa1-dev  libwebkit-dev libopenexr-dev \
 libjasper-dev libgs-dev libpoppler-glib-dev

 exit

Don’t worry about these for a basic compile though. This should be the last time you need to become root to complete the process.

Get the source

mkdir gimp-build
 cd gimp-build
 git clone git://git.gnome.org/babl
 git clone git://git.gnome.org/gegl
 git clone git://git.gnome.org/gimp

Generate the make files, compile and install

In the autogen lines a lot of checks are done – watch for warnings and error messages!

cd babl
 ./autogen.sh --prefix=$PREFIX
 make
 make install

cd ../gegl
 ./autogen.sh --prefix=$PREFIX
 make
 make install

cd ../gimp
 ./autogen.sh --prefix=$PREFIX --disable-gtk-doc
 make
 make install

This gets you gimp-2.9 in the directory ~/gimp/bin . If you have error try to add any missing package and try again. Post a comment on this post if you like.

Keeping GIMP up to date

Don’t delete the source directory. Backup your directory with the working GIMP 2.9. The update can break everything in there…..

You can update easily with:

cd
 export PREFIX=`echo ~/gimp`
 export PATH=$PREFIX/bin:$PATH
 export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig

cd gimp-build

cd babl
 git clean -f
 git pull --rebase
 ./autogen.sh --prefix=$PREFIX
 make
 make install

cd ../gegl
 git clean -f
 git pull --rebase
 ./autogen.sh --prefix=$PREFIX
 make
 make install

cd ../gimp
 git clean -f
 git pull --rebase
 ./autogen.sh --prefix=$PREFIX
 make
 make install

This is fast, because only new and changed stuff is pulled from the servers and compiled.

So that’s it! Enjoy the full range of bit depths, and all the other new work in progress features of the new GIMP.

 

Bristol Slutwalk 2011

I made a Slutwalk Video!

I headed up to the Slutwalk yesterday (1st October 2011). You can read about the origins of Slutwalking all round the internet. I knew why I was going, it’s an anti-rape demo, it’s a we can wear what we like demo, but I really wanted to get a range of perspectives and thoughts.

Whilst we were waiting for the demo to kick off, I chatted to some off the participants and made a video I’ve titled Slutwalk Bristol 2011 – Opinions and ideas from the slutwalkers. It was so much fun to make and I hope also to watch. The event was so good, such a serious subject but so entertaining to be part of. Thanks everyone who took part in the this, and specifically those who let me film them and agreed to the use footage. I hope I’ve represented what you had to say well. Here’s some pics to try to tempt you to watch my vid, in case you weren’t going to already…

I’ve licensed the video under the Creative Commons – Attribution – Sharealike License. I will take breaches of this license most seriously indeed, and experience a deep warm inner joy if people empower themselves to play the video to lots of people because of the license. Do it. Do it large.

I’m hoping this video is going to be featured on the The F Word website! Source material is available. Contact me.

One more thing – this video was edited and rendered using an entirely Open Source / Free Software environment. Kdenlive was the editor/renderer used which I found to fully rock.