Gimp 2.8 ppa not working
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
Hi I tried to install gimp 2.8 from a ppa (ppa:otto-kesselgulasch/gimp) but when I try to update gimp 2.6 to gimp 2.8 say gimp is already on the newest version.
How can I get gimp to upgrade to 2.8?
First a word of warning, the ubuntu ppas could contain non-free software. They often also feature technically unstable versions etc. These might or might not be the case here.
Having said that, how did you go about the install attempt? This might work:
sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt-get update
sudo apt-get upgrade
Thank you for the response, The install procedure you listed was the one I followed through on.
The answer is on that ppa's homepage here (the first hit on 'ppa otto kesselgulasch' on Duck Duck Go.)
https://launchpad.net/~otto-kesselgulasch/+archive/gimp
There are known dependency problems with it and Oneiric which Brigantia is based on.
The next release of Trisquel will be based on Precise. So have a try then, it may be as little as a month away (see elsewhere on this forum for the caveats about that.)
In case you feel like building GIMP 2.8 yourself, here are the packages I needed on my Dagda system.
atk -- git://git.gnome.org/atk
babl -- git://git.gnome.org/babl
cairo -- git://anongit.freedesktop.org/cairo
gdk-pixbuf -- git://git.gnome.org/gdk-pixbuf
gegl -- git://git.gnome.org/gegl
glib -- git://git.gnome.org/glib
gtk+ -- git clone git://git.gnome.org/gtk+
pango -- git://git.gnome.org/pango
pixman -- git://anongit.freedesktop.org/pixman
gimp -- git://git.gnome.org/gimp
To meet dependencies, some of the packages need to be built before others. Unfortunately, when I was building everything, I didn't make note of the order.
First, I installed git:
sudo apt-get install git
Then I followed Martin Nordholts' instructions on how to set up the build environment and prefix for installation:
http://www.chromecode.com/2009/12/best-way-to-keep-up-with-gimp-from-git_26.html
I chose to install GIMP to /opt rather than my home directory.
After setting up the build environment, the process generally went something like this for each package:
export PREFIX=/opt/gimp-git
source $PREFIX/share/config.site
git clone git://git.repository.blah.blah/blah
./autogen.sh --prefix=$PREFIX
make
make install
When GIMP 2.8 is built with any prefix other than /usr
or /usr/local
, a lot of plug-ins won't work.
I asked about this in the GIMP IRC channel today, and user mikachu helped me fix it with a simple edit:
Add the following to the "Libs:" line in the file gimp-2.0.pc
:
-Wl,-rpath,${libdir}
In other words, change
Libs: -L${libdir} -lgimp-@GIMP_API_VERSION@ -lgimpmath-@GIMP_API_VERSION@ -lgimpconfig-@GIMP_API_VERSION@ -lgimpcolor-@GIMP_API_VERSION@ -lgimpbase-@GIMP_API_VERSION@ @RT_LIBS@
to
Libs: -Wl,-rpath,${libdir} -L${libdir} -lgimp-@GIMP_API_VERSION@ -lgimpmath-@GIMP_API_VERSION@ -lgimpconfig-@GIMP_API_VERSION@ -lgimpcolor-@GIMP_API_VERSION@ -lgimpbase-@GIMP_API_VERSION@ @RT_LIBS@
You can make this change before or after you build GIMP.
To change it before you build, edit the file gimp-2.0.pc
located in the root of the source directory.
To change it after you've already built it, the file is lib/pkgconfig/gimp-2.0.pc
Thank you for all of the responses! I'll try the solution you gave me tomorrow morning and I'll report back on how it went.
One last note that should have been included in my first reply:
Before trying to build GIMP, install at least the following.
sudo apt-get install fontconfig gtk-doc-tools intltool libcairo2 libdbus-glib-1-2 libexif-dev libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libgtk-3-0 libjasper-dev libjpeg62-dev liblcms1-dev liblcms-dev libmng-dev libopenexr-dev libpango1.0-0 libpng-dev libpoppler-dev librsvg2-common librsvg2-dev libtiff4-dev libtiff-tools libtool libwebkit-dev libwmf-dev pkg-config python-dev python-gtk2-dev ruby libgirepository1.0-dev gobject-introspection libpoppler-glib-dev libgfs-1-dev libcroco3-dev
- Vous devez vous identifier ou créer un compte pour écrire des commentaires