SEARCH

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

You are not logged in.

#1 2013-04-04 00:04:31

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

How to compile the latest GIMP 2.9

mkdir ~/gimp-2.9

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

Last edited by damo (2015-03-28 17:29:07)

Offline

Help fund CrunchBang, donate to the project!

#2 2013-11-28 15:57:22

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

Re: How to compile the latest GIMP 2.9

You did this on wheezy?

I get this from gegl;

*** GLIB 2.36.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/.

Offline

#3 2013-11-28 16:30:30

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

Re: How to compile the latest GIMP 2.9

#!/bin/bash
##
## Set up pre-build environment for GIMP-2.9 (set up env variables, install dependencies)
#
# Needs ~/gimp-2.9 to be present

# set up environment variables
export PREFIX=`echo ~/gimp-2.9`
export PATH=$PREFIX/bin:$PATH
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig

Offline

#4 2013-11-29 14:15:32

iann
#! Die Hard
Registered: 2010-09-10
Posts: 720

Re: How to compile the latest GIMP 2.9

Rather than keep two versions in different places, you might want to create a deb package from your build to keep things tidy.  Or at least a pseudo-package using something like checkinstall.  I don't know if the Gimp makefiles provide a package build option.

Offline

#5 2013-11-29 14:28:21

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

Re: How to compile the latest GIMP 2.9

Offline

#6 2014-02-26 12:04:32

tonyoptical
#! CrunchBanger
Registered: 2009-09-08
Posts: 226

Re: How to compile the latest GIMP 2.9

Hi

I just made a big mistake ... downloaded the sources for 2.8.10 and just compiled it.
Now i can't run the old original one which came with CB defaultwise anymore. This is the error message:

Libgimp version mismatch!

The GIMP binary cannot run with a libgimp version
other than its own. This is GIMP 2.8.10, but the
libgimp version is 2.8.2.

Maybe you have GIMP versions in both /usr and /usr/local ?

I can only run the new one by launching a gimp-2.8 shell script which i found in the subdirectory "app" of "gimp-2.8.10" directory where i built this thing which is a pity because i can't print (Gutenprint & Turboprint) or scan (Canon 8.800F) in 2.8.10 anymore.

Any ideas how to fix this? Any help is highly appreciated.
I prefer to remove the 2.8.10 and just continue using the stock wheezy version again.
Thx.

Last edited by tonyoptical (2014-02-26 18:19:35)

Offline

#7 2014-02-26 18:49:24

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

Re: How to compile the latest GIMP 2.9

If you want to run different versions of GIMP you need to install them to different places, as described for 2.9

Have you tried purging GIMP and reinstalling?

Offline

#8 2014-02-27 13:46:48

tonyoptical
#! CrunchBanger
Registered: 2009-09-08
Posts: 226

Re: How to compile the latest GIMP 2.9

@damo
Yes - i tried that already. Complete removal in synaptic - no success. 2.8.10 is still coming up.
In a desparate attempt i tried to delete all instances of gimp files i could find. No success -  faulty gimp w/o menu's is still coming up.
New install of gimp via synaptic - no success - still everything messed up. I am starting to think why this gimp thing is so deeply rooted in the system that you can't make it go away or re-install it ... I don't want a fresh install of Waldorf just because i broke Gimp by my own stupidity.

Last edited by tonyoptical (2014-02-27 13:47:04)

Offline

#9 2014-02-27 22:45:13

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

Re: How to compile the latest GIMP 2.9

I think you will need help from someone who knows their way around compiling/installing better than me. The package manager won't know about your compiled application, so it has just removed gimp 2.8.2, and left the broken gimp 2.8.10.

GIMP isn't "deeply embedded", because it is easily removed with synaptic/apt-get - it is the files that you have installed which are causing the problem.

Can you install the required version of libgimp?

(What does 2.8.10 have that makes 2.8.2 undesirable? I use the repo gimp for stability, and 2.9 for the new features, although it is definitely NOT stable)

Offline

#10 2014-03-01 21:08:03

tonyoptical
#! CrunchBanger
Registered: 2009-09-08
Posts: 226

Re: How to compile the latest GIMP 2.9

@damo

Thx. for your message. Actually i was perfectly happy with my stock gimp installed.
I could scan, i could print unsing turboprint, i could use my drawing tablet ... i could manipulate my digital images ... i did not miss anything.

As a matter of fact my father (73 yrs) dropped me a message that the new gimp creates better quality outputs because of it's capability to use a higher bit-depth. It was my fault that i did not question this and just downloaded and compiled the sources ...

Offline

#11 2014-03-01 21:20:01

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

Re: How to compile the latest GIMP 2.9

GIMP 2.8.x is still only 8-bit - it is the development version which has higher depth support. It is available with 2.9, and hopefully the next stable release (2.10) will be in the near future. The image menu has a new "Precision" entry in which you choose what you want.

Offline

#12 2014-03-23 16:55:38

beefsteak
New Member
Registered: 2014-03-23
Posts: 1

Re: How to compile the latest GIMP 2.9

Thanks for the intructions, damo, those were very helpful. I compiled it on Ubuntu 13.10 but had to install some extra packages though:

libgexiv2-dev
libbz2-dev
liblcms2-dev

Offline

#13 2014-03-23 17:30:36

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

Re: How to compile the latest GIMP 2.9

I've been working on making a couple of scripts - gimp-build and gimp-update - which do the whole thing. It's working fine using the jessie repos, but I'm having trouble with stable (GLIB version issues). I knew about the libgexiv2, but I'll have another look at the others you mentioned.

I think Ubuntu 14 has a ppa for GIMP 2.9

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.
Server: bleh

Debian Logo