Building UFRaw on Ubuntu

UFRaw is a free converter for RAW images. Like so many others it is based on DCRaw. The latest official release is from late 2007. This is more or less what is provided by Ubuntu.

The current CVS holds a few interesting additions, most noticeable the use of lensfun for doing lens corrections. There is a demo.

The following steps made the CVS compile for me. The result will be placed within the confines of /opt/ufraw-cvs/ and dpkg.

First we need to get the lensfun packages. I found some at this location. Add the following lines to /etc/apt/sources.list (use su to become a privileged user):

# lensfun
deb http://mirror.pcode.nl/ubuntu/ hardy lensfun

Next, install needed deb packages:

sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install lensfun-data lensfun-manual liblensfun0 liblensfun0-dev
sudo apt-get install libgtkimageview-dev libgtkimageview0

In case you don’t have a /opt directory:

sudo mkdir /opt

Then build the programs:

cd /tmp
cvs -d:pserver:anonymous@ufraw.cvs.sourceforge.net:/cvsroot/ufraw login
cvs -z3 -d:pserver:anonymous@ufraw.cvs.sourceforge.net:/cvsroot/ufraw co ufraw
cd ufraw
./autogen.sh
./configure --prefix=/opt/ufraw-cvs
make
sudo make install

And you should then be able to run UFRaw:

/opt/ufraw-cvs/bin/ufraw

Advertisements

Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: