Thread: How to use GIMP 2.8 on Lucid 10.04.4 LTS
hi
post people who
- excited features on new gimp 2.8 , want upgrade it
- want stick ubunutu lucid 10.04.4 lts it's rock solid, unsoiled unity , supported year
- don't want go whole hog , install/ upgrade gimp , other dependencies, risking breaking system
- have limited experience compiling apps, know installing stuff standard repositories , tinkering terminal
pretty small subset guess! anyway...
firstly, of credit info goes facebook.com/andrea.roscioli install script, found here. i've tweaked bit , tried make easier noobs me.
let's begin.
prerequisites:
need install few things, these standard lucid repositories there little chance break anything. terminal do:
there few optional bits install synaptic package manager. can leave these out if wish provide few necessary capabilities gimp:code:sudo apt-get build-dep gimp sudo apt-get install git-core sudo apt-get install libtool
- libbz2-dev: compression
- libjasper-dev: jpeg 2000 format support
- libgs-dev: ghostscript, pdf support
- libcurl4-gnutls-dev, libgudev-1.0-dev: damned if know for
also, check if system has these standard lucid reporsitories: pkg-config, intltool, fontconfig, libfreetype6
in addition have bunch of things installed may not installed on system (can think of exiftool , latest rawtherapee build example) may have come , install few more dependencies depending on gimp compilation reports (towards end).
preparation:
onwards can perform rest of update without ever using sudo/ admin privileges, ensuring rest of steps not break other existing applications.
- create folder structure hold gimp 2.8 code , build in folder on have free read, write, execute privileges. i've created following under home folder:
- i'll reference these in rest of notes, change suit folder structure wherever appropriate.code:/home/user/gimp --> gimp2.8 ----> src ----> build
- download following source files locations given. if have alternate trusted source please feel free use that.
- gimp-2.8.0.tar.bz2 gimp.org or mirrors
- gegl-0.2.0.tar.bz2 ftp://ftp.gimp.org/pub/gegl/0.2
- babl-0.1.10.tar.bz2 ftp://ftp.gimp.org/pub/babl/0.1/
- gtk+-2.24.10.tar.xz ftp://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/
- glib-2.31.18.tar.xz ftp://ftp.gnome.org/pub/gnome/sources/glib/2.31/
- gdk-pixbuf-2.24.1.tar.xz ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.24/
- pango-1.29.5.tar.xz ftp://ftp.gnome.org/pub/gnome/sources/pango/1.29/
- cairo-1.10.2.tar.gz http://cairographics.org/releases/
- pixman-0.24.4.tar.gz http://cairographics.org/releases/
- atk-2.3.95.tar.xz ftp://ftp.gnome.org//pub/gnome/sources/atk/2.3
- optionally, can download these, if want support svg format files (i needed did)
- librsvg-2.36.1.tar.xz ftp://ftp.gnome.org/pub/gnome/sources/librsvg/2.36/
- libcroco-0.6.5.tar.xz ftp://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/
- gobject-introspection-1.31.22.tar.xz ftp://ftp.gnome.org/pub/gnome/source...spection/1.31/
- copy/ move these files gimp2.8 src directory (/home/user/gimp/gimp2.8/src me)
- open src folder, select downloaded files, right click , select 'extract here' context menu. unzip files in src folder creating new sub-folders each package appropriate package name, example "/home/user/gimp/gimp2.8/src/gimp-2.8.0/"
compile , install:
- next need compile source files downloaded , extracted in src subdirectory. of these installed in build subdirectory, leaving rest of system untouched
- open new terminal window , issue following commands (replace folder names folder structure created above)
- note these environment variables hold given terminal session you've started, if take break, close , start new session need issue these commands again.code:export pkg_config_path=/home/user/gimp/gimp2.8/build/lib/pkgconfig export ld_library_path=/home/user/gimp/gimp2.8/build/lib
- navigate src directory, me that's done using
- first compile babl package, located in babl-0.1.10 subfolder under src. execute following commands same terminal window, change folder after "--prefix" necessary.code:cd /home/user/gimp/gimp2.8/src
- few notes on abovecode:cd babl-0.1.10 ./autogen.sh --prefix=/home/user/gimp/gimp2.8/build make -j3 make install -j3
- the second command (autogen.sh) may generate errors indicating 1 or other dependency/ package missing. think we've covered dependencies if happens, ask google error message.
- if autogen.sh command completes without errors, remaining 2 should go thru fine well. in unlikely event face error make or make install, need explore interwebs bit more.
- the make , make install commands followed "-j3". number 3 number of cores on system (as reported system monitor) want use compiling + 1. have core2 duo , don't want browse/ play video during have set 2+1=3. if you're unsure, leave "-j3" bit out command.
- assuming completed babl install fine, need compile (from src folder) , install (in build folder) other downloaded packages, in following order (from same terminal window). note second command of these (configure) different 1 babl (autogen.sh) plays same role can apply notes above babl install of these.
- optionally, svg support, need following. note configure command librsvg different.code:cd ../glib-2.31.18/ ./configure --prefix=/home/user/gimp/gimp2.8/build make -j3 make install -j3 cd ../gegl-0.2.0/ ./configure --prefix=/home/user/gimp/gimp2.8/build make -j3 make install -j3 cd ../atk-2.3.95/ ./configure --prefix=/home/user/gimp/gimp2.8/build make -j3 make install -j3 cd ../pango-1.29.5/ ./configure --prefix=/home/user/gimp/gimp2.8/build make -j3 make install -j3 cd ../gdk-pixbuf-2.24.1/ ./configure --prefix=/home/user/gimp/gimp2.8/build make -j3 make install -j3 cd ../pixman-0.24.4/ ./configure --prefix=/home/user/gimp/gimp2.8/build make -j3 make install -j3 cd ../cairo-1.10.2/ ./configure --prefix=/home/user/gimp/gimp2.8/build make -j3 make install -j3 cd ../gtk+-2.24.10/ ./configure --prefix=/home/user/gimp/gimp2.8/build make -j3 make install -j3
- assuming of goes thru , succesfully navigate errors come up, ready compile , install gimp 2.8! issue following commands (from same terminal window) , little patient...code:cd ../libcroco-0.6.5/ ./configure --prefix=/home/user/gimp/gimp2.8/build make -j3 make install -j3 cd ../gobject-introspection-1.31.22/ ./configure --prefix=/home/user/gimp/gimp2.8/build make -j3 make install -j3 cd ../librsvg-2.36.1/ ./configure --prefix=/home/user/gimp/gimp2.8/build --disable-introspection make -j3 make install -j3
- once configure command finishes (assuming mandatory dependencies met, if not search) produce summary of optional features/ plug-ins/ modules available (or not). have see if must have missing, if search in order!code:cd ../gimp-2.8.0/ ./configure --prefix=/home/user/gimp/gimp2.8/build
- main thing should see missing webkit. gimp 2.8 needs webkit 1.6.1 or above, lucid 10.04.4 has 1.2.7. installing latest webkit can break stuff , compiling whole post i'll leave as-is. didn't bother lose online integration within gimp 2.8. can access online browser anyway it's not big loss.
- assuming got must-have features/ modules/ plug-ins supported, can following , go grab drink.
- assuming see no errors, you're done!!!code:make -j3 make install -j3
running gimp 2.8
- without closing terminal used while, go bin folder under build subdirectory. me that's done by
- , run crossing fingers , running commandcode:cd /home/user/gimp/gimp2.8/build/bin
- run through few basic open image, edit , save commands. note output in terminal, solve problems come across. didn't farcode:./gimp-2.8. , exit
- make bit easier run, i've created small text file in home directory "/home/user/" called gimp28.sh, contains following shell script. (remember run chmod +x gimp28.sh after creating it, has execute capability)
- next dragged existing gimp shortcut top left menu tree onto desktop, right clicked on , selected "properties", changed following , clicked 'ok'code:#!/bin/sh export ld_library_path=/home/user/gimp/gimp2.8/build/lib:$ld_library_path /home/user/gimp/gimp2.8/build/bin/gimp-2.8 exit 0
- the name "gimp 2.8"
- the command "/home/user/gimp28.sh"
- double click shortcut use gimp 2.8!!
![]()
even after setting edit -> preferences -> system -> browser "web browser" still doesn't open online in browser (firefox in case) complaining missing gvfs backend components.
despite fact "configure" command while compiling gimp-2.8.0 produced output:
so justcode:optional plug-ins: ... uri: yes (using gio/gvfs)
- downloaded gimp-help-2.6.0-html-en.tar.bz2 ftp://ftp.gimp.org/pub/gimp/help/. files in other languages can downloaded well.
- created subfolder 'help' under /home/user/gimp/gimp2.8/build/share/gimp/2.0
- extracted contents of gimp-help-2.6.0-html-en.tar.bz2 new /home/user/gimp/gimp2.8/build/share/gimp/2.0/help folder
- moved "en" folder under gimp-help-2/html (created subfolders in folder) folder. should see /home/user/gimp/gimp2.8/build/share/gimp/2.0/help/en folder containing "index.html" , other files. if language french should see index.html in /home/user/gimp/gimp2.8/build/share/gimp/2.0/help/fr
- started gimp 2.8 , under edit -> preferences -> system set
- user manual: "use locally installed copy". little message below should state "there's local installation of user manual."
- help browser "web browser"
in case little message says there no local installation of user manual check language selected under edit -> preferences -> interface -> language, matches language of files downloaded.
Forum The Ubuntu Forum Community Other Discussion and Support Tutorials [SOLVED] How to use GIMP 2.8 on Lucid 10.04.4 LTS
Ubuntu
Comments
Post a Comment