GIMP from CVS with stable GIMP on gentoo
I suppose you have gentoo-2006.0. If so you should have new packages required by gimp. If not emerge them. I also had to emerge gtk-doc and cvs.
First get sources from CVS. On
this page we have 2 links.
So we start with
Get The Stable GIMP from CVS. Save
this file in our home directory (~/.cvsrc). Than run commands:
mkdir cvs;
cd cvs;
export CVSROOT=':pserver:anonymous@anoncvs.gimp.org/cvs/gnome';
cvs login; (press enter and blank password for anonymous will be stored in ~/.cvspass)
cvs checkout gimp; (this will copy gimp directory with newest files from server to our disk)
Now let's go to
Build The Stable GIMP from CVS. Gentoo has different paths as descibed above so we put ours:
export PRE="/usr";
export ACLOCAL_FLAGS="-I $PRE/share/aclocal";
Let's check if this is ok:
ls ${PRE}/${ACLOCAL_FLAGS};
And another variable:
export PKG_CONFIG_PATH="$PRE/lib/pkgconfig"
And check
ls ${PKG_CONFIG_PATH}
If you don't have gimp-print installed emerge it or add to autogen.sh parameter -disable-print
Now let's go to our downloaded gimp and run autogen:
cd gimp;
./autogen.sh --prefix=/opt/gimp-2.3
If everything goes ok we will have to just run:
make;
make install;
To run this new gimp let's have a look at
this page. We are told to make wraper script gimp-2.3 which sets all needed variables and place it in /usr/bin. So here it is:
#!/bin/sh
PATH=/opt/gimp-2.3/bin:$PATH
export PATH
LD_LIBRARY_PATH=/opt/gimp-2.3/lib
export LD_LIBRARY_PATH
/opt/gimp-2.3/bin/gimp-2.3 "$@"