How do I install UFRAW on a mac? Dummy Guide please

Started by classicbs, January 05, 2015, 02:36:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

classicbs

Hi so i've been using ETTR for time-lapse on a recent shoot for National Geographic.  I've kind of got my head around the XMP post de-flickering workflow but for my first time lapse of the shoot I accidentally created UFRAW side car files. I need to de-flicker this time-lapse as it looks amazing!  I have downloaded UFRAW version 0.20 from here: http://sourceforge.net/projects/ufraw/files/latest/download?source=files

I have unzipped (is that the right term?) the package and I now have a folder called ufraw-0.20 which contains lots of different files.  There is a 'read me' which to me is serious gobbledegook.  I really can't understand it, I'll reproduce the text below but could anyone walk me through instillation on a mac (OSX 10.9.5).  And then if you are super kind explain how to

(1)  De flicker the time-lapse
(2)  Batch reduce the exposure
(3)  Export to Jpeg

Many thanks and any replies in layman's terms would be much appreciated!

classicbs

Installation
============
(If building from CVS rather than a release see also "Building UFRaw
from CVS", below.)

Building UFRaw requires development packages for GLib >= 2.12 and lcms >= 1.14
(lcms 2.x is used if found). There are many optional dependencies which enable
building additional programs and adding features to existing programs.

The UFRaw build process expects Perl to be present (for pod2man). It is
needed only if you are changing ufraw.pod or if you are building from CVS.

A modern make is required. GNU make and BSD make both work currently.
In case of trouble, try GNU make.

Building UFRaw on the PowerPC platform requires GCC version 3.4 or newer.

The first step of the installation is to run the configure script:

./configure

At the end of the configuration you will get a summary of the
installation settings. If all optional dependencies are present it
will look like this:

configure: ====================== summary =====================
configure: color management support: lcms 2.x
configure: build GTK GUI: yes
configure: build GIMP plug-in: yes
configure: EXIF support using exiv2: yes
configure: JPEG support: yes
configure: JPEG2000 (libjasper) support: yes
configure: TIFF support: yes
configure: PNG support: yes
configure: FITS support: yes
configure: gzip compressed raw support: yes
configure: bzip2 compressed raw support: yes
configure: lens defects correction support using lensfun: yes

If some of the lines end with 'no' instead of 'yes', UFRaw can still
be built, but the named option will be disabled.

Development packages for GTK+ version 2.12 or higher and
GtkImageView version 1.6 or higher are required for the GUI.

Development packages for GIMP version 2.2 or higher is required to build
the GIMP plug-in.

The development package for exiv2 version 0.20 or higher is required for
reading the EXIF data. Among the supported formats are Canon (CRW, CR2),
Fuji (RAF), Minolta (MRW), Nikon (NEF), Pentax (PEF), Samsung (PEF),
Sony (SR2, ARW) and Adobe's DNG. If the configuration script does not find
this package EXIF support will be omitted.

The libjpeg development package is required for saving image in the
JPEG format in the stand-alone tool. It is also needed to support
Kodak DC120 and Adobe's lossy DNG. If the configuration script does not
find this package JPEG support will be omitted.

The libjasper development package is required to support image files from
Red movie cameras. If the configuration script does not find this package
support for such image files will be omitted.

The libtiff development package is required for saving images in the
TIFF format. If the configuration script does not find this package
TIFF support will be omitted.

The zlib development package is required for saving images in the TIFF
format with lossless compression. If the configuration script does not
find this package compressed TIFF support will be omitted. This pacakage
also enables loading of raw files compressed with gzip.

The libbz2 development package is required for loading of raw
files compressed with bzip2.

UFRaw is written in both C and C++, so if you set CFLAGS you should
also set CXXFLAGS. If you do not set them, then the default for
GNU C is "-W -Wall -g -O3 -fomit-frame-pointer".

Other options for the configuration script are:

--disable-openmp: don't try to use OpenMP support even if it is
        apparently present.

--enable-extras: build the extra binaries - dcraw, nikon-curve.

--enable-mime: install mime files (see mime section later on).

--enable-dst-correction: enable DST correction for file timestamps.

--enable-contrast: enable the contrast setting option.

--enable-interp-none: enable 'None' interpolation (mostly for debugging).

--enable-valgrind: enable debugging with valgrind

--with-prefix=PREFIX: use also PREFIX as input prefix for the build.

--enable-no-cygwin: add the -mno-cygwin flag to CFLAGS and CXXFLAGS
                    (only in Windows).

--with-dosprefix=PREFIX: PREFIX is the prefix in DOS format
                         (needed only in Windows).

To build UFRaw:
  make

To make a system wide installation:
  make install

Note that the GIMP plugin, if built, will be installed into UFRaw's prefix.
Thus, if UFRaw's prefix is different from GIMP's prefix, you may have to add
the plugin directory to the search path, add a symbolic link, or something
similar.

To use the UFRaw GIMP plugin, ensure that other raw converters
(e.g. rawphoto) are not installed because they may claim the raw file
first, preventing UFRaw from running.

If one of the packages (lcms, libjpeg, libtiff, zlib etc.) is not installed
on your system, and you can not install it using the normal packaging
system, you can build it locally and use UFRaw's configuration option
--with-prefix to point to its location.  To build any of the above
packages download the package and type:
  ./configure --prefix=$PREFIX
  make
  make install
If zlib is built only locally you will have to configure libtiff with
the command:
./configure --prefix=$PREFIX --with-zlib-include-dir=$PREFIX/include --with-zlib-lib-dir=$PREFIX/lib

Finally, you should configure UFRaw with the command:
./configure --prefix=$PREFIX --with-prefix=$PREFIX

Install mime files
==================
Your desktop can automatically generate thumbnails to raw files and
associate them with UFRaw by installing some mime file. To enable this
option you need to use the configuration option '--enable-mime'.
This options is limited to the GNOME desktop at the moment.

The file ufraw-mime.xml is already part of shared-mime-info 0.21.
If you are using an older version of this package, you should:

cp ufraw-mime.xml /usr/share/mime/packages/

To finish the installation you should use the following
(assuming you are using --prefix=/usr):

# Associate mime type to raw images:
$ (only needed if you are using shared-mime-info < 0.21)
update-mime-database /usr/share/mime
# Install UFRaw's thumbnails generator:
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule /usr/share/gconf/schemas/ufraw.schemas
# Associate UFRaw with the raw images mime types:
update-desktop-database

More information can be found at:
http://www.chauveau-central.net/page/c_raw.html
http://www.penguin.cz/~utx/gnome-dcraw