SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-05-03 17:36:44

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Gimp 2.8 with single window mode

UPDATE June 2012: this howto is quite useless now.
Gimp 2.8 is in Debian testing and in Debian unstable now.
If you use strictly Debian stable (so without any programs from testing or unstable), you can't install gimp2.8 either, as it needs a newer version of libglib2.0.


I just installed the new GIMP. Apart from other new features, it has single window mode (as an option).
http://www.gimp.org/release-notes/gimp-2.8.html


UPDATE: GIMP 2.8 is in experimental repo now (2012-05-10)
ANOTHER UPDATE: GIMP 2.8 is available from Debian Sid  now (2012-05-14)


It isn't in the repos yet, so I had to build it from source.
I run into quite a lot of dependency problems, but in the end I've got it running.

I'll try to write a howto, but I'm sure it isn't complete. So if you run into an error, please post your output here and I (or someone else) will help you out.


GIMP 2.8 needs GLib >= 2.30.2 
Debian stable doesn't have this yet. If you want to know what versions are available on your system:

apt-cache policy libglib2.0-0

0. Backup your current gimp plug-ins, brushes, textures and fonts (you'll find these in ~/.gimp-2.6/)

1. install necessary packages (I'm not sure you need them all)

sudo apt-get install intltool libpng12-dev libglib2.0-dev libatk1.0-dev  libpango1.0-dev libfontconfig1-dev libcairo2-dev libgtk2.0-dev libtiff4-dev python-gtk2-dev libatk1.0-dev libpng15-15

Install python2.6-dev or python2.7-dev, depending on your version of python:

sudo apt-get install python2.6-dev

or:

sudo apt-get install python2.7-dev

2. download and install gegl and babl

wget ftp://ftp.gtk.org/pub/babl/0.1/babl-0.1.10.tar.bz2
tar -xvf babl-0.1.10.tar.bz2
cd babl-0.1.10/
./configure
make
sudo make install
wget ftp://ftp.gimp.org/pub/gegl/0.2/gegl-0.2.0.tar.bz2
tar -xvf gegl-0.2.0.tar.bz2
cd gegl-0.2.0/
./configure
make
sudo make install

3. remove old gimp (this will remove configuration files as well)

sudo apt-get purge libgimp2.0 gimp gimp-help-en gimp-help-common gimp-data libgimp2.0

4. Download gimp 2.8 and install

wget ftp://ftp.gimp.org/pub/gimp/v2.8/gimp-2.8.0.tar.bz2
tar -xvf gimp-2.8.0.tar.bz2
cd gimp-2.8.0
./configure
make
sudo make install

5. Reinstall libgimp

sudo apt-get install libgimp2.0

6. Run gimp (if you like to see possible errors, run it from terminal)

gimp

If you want single-window mode, you have to enable this from the Windows menu.


7. If you still see an error when running gimp, it might be necessary to reinstall some others as well:

gimp-help-en gimp-help-common gimp-data

Last edited by Tunafish (2012-06-12 17:48:58)


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

Be excellent to each other!

#2 2012-05-03 17:42:10

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: Gimp 2.8 with single window mode

....

Last edited by Tunafish (2012-05-03 17:46:40)


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#3 2012-05-03 17:49:25

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,726

Re: Gimp 2.8 with single window mode

Great how-to TunaFish!!

So I will need to make a back-up of my current plug-ins, brushes, textures and fonts?

Offline

#4 2012-05-03 18:23:24

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 3,103

Re: Gimp 2.8 with single window mode

Great stuff, thanks. I've tried twice to compile (alongside current install, as per a howto I found), but me and babl broke things pretty badly. Now I've got this old box to practice on I'll give it another go smile

Last edited by damo (2012-05-03 18:25:50)


Artwork at deviantArt;  Iceweasel Personas;  SLiM #! Themes;  Openbox themes

Offline

#5 2012-05-03 18:43:34

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: Gimp 2.8 with single window mode

falldown wrote:

Great how-to TunaFish!!

So I will need to make a back-up of my current plug-ins, brushes, textures and fonts?

Yes, you should do so. You also can try to install 2.8 without removing the old gimp and see what happens (I did this in the first place, but ended up with some errors, which can be solved afterwards as well).


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#6 2012-05-03 18:45:24

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: Gimp 2.8 with single window mode

damo wrote:

Great stuff, thanks. I've tried twice to compile (alongside current install, as per a howto I found), but me and babl broke things pretty badly. Now I've got this old box to practice on I'll give it another go smile

Please post your errors (mostly the last 10 lines of the output) and we'll solve it smile


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#7 2012-05-03 18:57:26

drmoris
#! Member
Registered: 2012-04-22
Posts: 53

Re: Gimp 2.8 with single window mode

Nice, will give it a try tomorrow))Great job Tunafish

Offline

#8 2012-05-03 19:51:38

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: Gimp 2.8 with single window mode

drmoris wrote:

Great job

Wait till it works smile


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#9 2012-05-03 20:05:33

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,726

Re: Gimp 2.8 with single window mode

I think libtiff4-dev might be a better choice in place of libtiff-dev
and ran into

E: Unable to locate package python2.7-dev
E: Couldn't find any package by regex 'python2.7-dev'

I'm guessing that I need to add a source for the python dev.?

Offline

#10 2012-05-03 20:06:11

gurtid
#! Junkie
From: NEW ZEALAND
Registered: 2011-04-07
Posts: 378

Re: Gimp 2.8 with single window mode

@tf - i doubt i'll get the chance to give this a go but have been waiting for single window mode for ages. well done u and thx for sharing.


all your Base are belong to us

Offline

#11 2012-05-03 20:10:31

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: Gimp 2.8 with single window mode

gurtid wrote:

@tf - i doubt i'll get the chance to give this a go but have been waiting for single window mode for ages. well done u and thx for sharing.

I suppose gimp 2.8 will get into the debian repo at some time...


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#12 2012-05-03 20:22:31

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: Gimp 2.8 with single window mode

falldown wrote:

I think libtiff4-dev might be a better choice in place of libtiff-dev

Changed that in the first post. Thanks.

falldown wrote:
E: Unable to locate package python2.7-dev
E: Couldn't find any package by regex 'python2.7-dev'

I'm guessing that I need to add a source for the python dev.?

Try python2.6-dev.... I'm using the wheezy repo, you're probably using the squeeze repo. Does that work?


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#13 2012-05-03 20:23:00

Stanie
#! CrunchBanger
Registered: 2011-12-20
Posts: 225

Re: Gimp 2.8 with single window mode

Very nice HOW-TO Tunafish!

But as I wasn't patient enough to wait for this neat step by step I found another, easier way.

Gimp 2.8 is in siduction experimental repos (fork of aptosid - you can find there stuff from frickelplatz like latest gimp, wine, chromium-browser, towo-kernels,...)

So for those of you not comfortable with building packages from sources and impatient to wait for the update from debian sid, add at least 2 repos (siduction and experimental) to your sources.list from here:
http://packages.siduction.org/?Repositories
Then don't forget to add siduction-archive-keyring and do sudo apt-get update.

The recommended way is to first uninstall your existing 2.6.x gimp and only after that install 2.8 version. But I risked an upgrade anyway, just to see if it could be done. And yes, I was lucky. Everything works. Just one big caution though - if you use gimp-plugin-registry, you definitely have to uninstall this package before upgrade!!!

And I have to say another huge improvement apart from the single-window mode, it starts at least twice faster than 2.6.12.


A secure alternative to Dropbox with complete privacy = SpiderOak. Join it using my referral and get a total of 3 GB to start with.

Offline

#14 2012-05-03 23:46:53

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,726

Re: Gimp 2.8 with single window mode

I had an issue with needing a newer version of GLIB.. something like 2.24.
I was reading how messing with GLIB can really boink your system if done incorrectly.
I will read up on it more and hopefully give it another try. big_smile

EDIT
TunaFish you were correct on the python 2.6 dev.
I'm doing this on my stable partition.  Thank you.

Last edited by falldown (2012-05-03 23:49:37)

Offline

#15 2012-05-04 09:49:24

schorem
Member
From: The Netherlands
Registered: 2011-10-03
Posts: 19

Re: Gimp 2.8 with single window mode

Gimp 2.8 has (finaly) been officially released.

Install GIMP 2.8 in Debian Wheezy / #! Waldorf as follows:

1. Add the following line in /etc/apt/sources.list:

Well, it ruined my system :)

2. Do a safe-upgrade

aptitude update & aptitude safe-upgrade

The current version is automatically updated to 2.8.

Last edited by schorem (2012-05-04 12:45:04)


Minus | I am not as dumb as I look

Offline

#16 2012-05-04 09:54:22

bozhkov
#! Junkie
Registered: 2009-12-29
Posts: 463

Re: Gimp 2.8 with single window mode

@schorem prepare for a bash for suggesting ubuntu ppa's big_smile

Offline

#17 2012-05-04 12:23:09

schorem
Member
From: The Netherlands
Registered: 2011-10-03
Posts: 19

Re: Gimp 2.8 with single window mode

I know, I know, but it still works.... lol


Minus | I am not as dumb as I look

Offline

#18 2012-05-04 12:31:23

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: Gimp 2.8 with single window mode

Oh my @schorem. Work or no, ppa's are not the way to go hmm

Offline

#19 2012-05-04 12:46:04

schorem
Member
From: The Netherlands
Registered: 2011-10-03
Posts: 19

Re: Gimp 2.8 with single window mode

@omns, how can I get the latest version then? I do not know how to compile it...

Never mind, guess reading is a trade not easily learned

Last edited by schorem (2012-05-04 12:48:31)


Minus | I am not as dumb as I look

Offline

#20 2012-05-04 15:16:43

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: Gimp 2.8 with single window mode

schorem wrote:

@omns, how can I get the latest version then? I do not know how to compile it...

Never mind, guess reading is a trade not easily learned

Haha.... let me know if the howto (post 1) works for you.


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#21 2012-05-04 16:13:46

bozhkov
#! Junkie
Registered: 2009-12-29
Posts: 463

Re: Gimp 2.8 with single window mode

Maybe not the time or the thread, but I have to say I have, on occasions, enjoyed the guilty pleasure of using ppas in debian and I have never had problems with that. smile Surely, even if I'm not at all that knowledgeable, more than 6 years with the pink swirl have made me a seasoned user big_smile

Offline

#22 2012-05-04 17:31:23

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,726

Re: Gimp 2.8 with single window mode

Hey Tuna
So I decided to leave my stable alone for the time being.
I did however compile Gimp 2.8 for my Waldorf lastnight.
The whole process went smoothly without error, but when trying to run it I get this error:

error while loading shared libraries: libgimpwidgets-2.0.so.0: cannot open shared object file: No such file or directory

I'm looking into it right now and will hopefully post a solution. big_smile

EDIT
I do have all the libraries.. just not in the right paths..
and not sure what all is out of place.

Last edited by falldown (2012-05-04 18:41:35)

Offline

#23 2012-05-04 20:13:50

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: Gimp 2.8 with single window mode

@falldown:
You can solve the error by reinstalling libgimp2.0

sudo apt-get install libgimp2.0

If you still receive errors, you can try this:

sudo apt-get purge gimp-help-en gimp-help-common gimp-data libgimp2.0
sudo apt-get install gimp-help-en gimp-help-common gimp-data libgimp2.0

I also have an error:

(gimp:10297): Gimp-Widgets-CRITICAL **: gimp_device_info_set_device: assertion `(info->device == NULL && GDK_IS_DEVICE (device)) || (GDK_IS_DEVICE (info->device) && device == NULL)' failed

but it doesn't seem critical at all....

Last edited by Tunafish (2012-05-04 20:18:25)


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#24 2012-05-04 20:19:38

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,726

Re: Gimp 2.8 with single window mode

Tunafish did you just add the libpng15-15 today?
I decided to purge and try again and I'm not finding libpng15-15 in the wheezy/testing repos.

falldown@waldorf:~$ sudo apt-get install libpng15-15
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libpng15-15

Last edited by falldown (2012-05-04 20:30:03)

Offline

Help fund CrunchBang, donate to the project!

#25 2012-05-04 20:22:38

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,726

Re: Gimp 2.8 with single window mode

Tunafish wrote:

@falldown:
You can solve the error by reinstalling libgimp2.0

sudo apt-get install libgimp2.0

If you still receive errors, you can try this:

sudo apt-get purge gimp-help-en gimp-help-common gimp-data libgimp2.0
sudo apt-get install gimp-help-en gimp-help-common gimp-data libgimp2.0

Darn I should have been more patient.. big_smile

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo