RSS/Atom feed Twitter
Site is read-only, email is disabled

Compile GIMPv2.9.1 for Debian (Wheezy/Sid)

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Compile GIMPv2.9.1 for Debian (Wheezy/Sid) studiojunkyard 27 Jan 02:02
  Compile GIMPv2.9.1 for Debian (Wheezy/Sid) scl 27 Jan 09:22
   Compile GIMPv2.9.1 for Debian (Wheezy/Sid) studiojunkyard 27 Jan 09:34
  Compile GIMPv2.9.1 for Debian (Wheezy/Sid) Michael Schumacher 27 Jan 11:44
   Compile GIMPv2.9.1 for Debian (Wheezy/Sid) studiojunkyard 27 Jan 15:10
2013-01-27 02:02:24 UTC (about 11 years ago)
postings
3

Compile GIMPv2.9.1 for Debian (Wheezy/Sid)

I recently compiled v2.9.1 GIMP on Debian (Wheezy/Sid), this is for Debian itself, not modified Debian Distro's (such as Ubuntu), though the instructions may work, I'm not responsible for breaking your system:

As root in a terminal do as below:

apt-get install libjpeg8-dev libopenexr-dev libopenraw-dev libcairo2-dev librsvg2-dev automake autoconf intltool pkg-config liblua5.1-0-dev gtk-doc-tools libtiff5-dev python-gtk2-dev libasound2-dev libgimp2.0 libgimp2.0-dev

apt-get remove --purge libgegl-0.1-0 libgegl-0.2-0 libgegl-dev libbabl-0.1-0 libbabl-dev gimp

mkdir /home/{usr}/gimp cd /home/{usr}/gimp

git clone git://git.gnome.org/babl git clone git://git.gnome.org/gegl
git clone git://git.gnome.org/gimp

[babl] ./autogen.sh
make
make install

[gegl]
./autogen.sh
make
make install

[gimp]
./autogen.sh
make
make install

For some reason, we had to do a complete remove of libgimp2.0, then reinstall it for GIMP to work, even though the -dev for it needs to be available to compile.

We also found, that if you previously had GIMP installed using the already present Menu Option will run the 2.9.1 version. Or, alternatively, and I recommened for first time run, do as below, so if GIMP doesn't open or crashes you can see why.

/usr/local/bin/gimp-2.9

Enjoy.

scl
2013-01-27 09:22:27 UTC (about 11 years ago)

Compile GIMPv2.9.1 for Debian (Wheezy/Sid)

Thank you for sharing your knowledge. Yesterday I built on Debian Wheezy, too, but not into the system directories (/usr/bin etc.), but to local directories under my non-privileged users $HOME. I downloaded all dependencies (also the optional), built BABL and GEGL and tried building GIMP. GIMPs autogen ends with no errors. But GIMPs make fails in the 'cursors' directory:

Making all in cursors make[2]: Entering directory `/home/gimpdev/Workspace/gimp/cursors' GEN tool-cursors.list
GEN gimp-tool-cursors.h
failed to load "./cursor-bad.png": Couldn't recognize the image file format for file './cursor-bad.png'
make[2]: *** [gimp-tool-cursors.h] Error 1 make[2]: Leaving directory `/home/gimpdev/Workspace/gimp/cursors' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/gimpdev/Workspace/gimp' make: *** [all] Error 2

I found out, that downloading the latest stable GLib (2.34.3) and GDK-Pixbuf (2.26.10) and building them from sources into my $INSTALL_PREFIX solved it.

However, I don't understand why this doesn't work out of the box with the GLIb and GDK-Pixbuf packages from the distro. A bit of research led me to refreshing the GDK-Pixbuf cache (file loaders.cache somewhere under /usr/lib). Nevertheless building the cursors directory succeeds only when building as root, but fails for normal users. As I saw such effects have been an issue for years in various GTK based products and with various filetypes. Does anybody have some ideas how we can have them working and not breaking the GIMP build out of the box?

Thanks and kind regards,

Sven

2013-01-27 09:34:42 UTC (about 11 years ago)
postings
3

Compile GIMPv2.9.1 for Debian (Wheezy/Sid)

I didn't have any issues, other than having to uninstall as mentioned above.

Maybe I had something else installed that didn't require me to have what you had missing.

The only issue's I'm finding thus far, is the speed at which GIMP is running, rather slowly, and take a full 30 seconds to updated 5400+px wide image (I forget the vertical res). Mind you, this is the size of the RAW image converted to 16-bit tiff of my Camera.

I'm currently looking if there's any debugging, or other stuff that can be turned off, and recompiled, to speed things up. I'm running it on Debian GNU/Linux (Sid) on an AMD6Core 3.4GHZ, 16GB RAM, 3GB nVidia 580GTX, and SSD HD. I'd be open to suggestions to get GIMP working faster.

Michael Schumacher
2013-01-27 11:44:41 UTC (about 11 years ago)

Compile GIMPv2.9.1 for Debian (Wheezy/Sid)

On 27.01.2013 03:02, studiojunkyard wrote:

I recently compiled v2.9.1 GIMP on Debian (Wheezy/Sid), this is for Debian itself, not modified Debian Distro's (such as Ubuntu), though the instructions may work, I'm not responsible for breaking your system:

apt-get build-dep gimp

Will pull in all required libraries to build your distros gimp packages. Removing babl and gegl is optional, but probably necessary in your case because:

[babl]
./autogen.sh
make
make install

This will install to /usr/local, and can lead to conflicts with the libraries and gimp installed by your package management. You should pass a --prefix parameter to ./autogen.sh

Have a look at http://www.gimp.org/source/howtos/gimp-git-build.html for a different approach.

Regards,
Michael
2013-01-27 15:10:36 UTC (about 11 years ago)
postings
3

Compile GIMPv2.9.1 for Debian (Wheezy/Sid)

It looks as though the way you suggest, would pull in the dependencies for GIMP 2.8, which is the latest stable in the Repo.

What I described pulls the latest development files from git. Big difference. GIMP 2.8, doesn't support 16/32bit Editing, which was the reason for building v2.9.1 for me at least in the first place.

Though I agree that building as root can be dangerous.