Here's the patch: http://gruenschloss.org/cinepaint/cinepaint-0.22-1-ubuntu-maverick.patch
You can apply the patch in the extracted source directory as follows:
patch -p1 < ../cinepaint-0.22-1-ubuntu-maverick.patch
Then you need to make sure to get over the configure hurdle. By default, the configure script of CinePaint tries to use the old GTK, using the deprecated gtk-config tool. Use a command similar to the following to enable the new version. And of course you also need to make sure you have all the other required dev-version libraries installed:
./configure --prefix=`pwd`/install --enable-gtk2 --disable-print
Afterwards, it will hopefully compile and install without errors. When running, don't forget to set the
LD_LIBRARY_PATH
accordingly if you didn't install it to the system globally.Here are some related links:
http://cinepaint.bigasterisk.com/SourceTarball/
http://ubuntuforums.org/showthread.php?t=806010
http://ohioloco.ubuntuforums.org/showthread.php?t=1470662
http://forum.ubuntu-fr.org/viewtopic.php?id=430656