Help test lensfun DB

If you can compile RawTherapee yourself, help test whether the lensfun DB is picked up and used correctly.

Checkout commit c0e2ee1b9 or newer.

Either compile letting CMake automatically find your system lensfun installation, or specify a custom one using LENSFUNDBDIR as described here:
http://rawpedia.rawtherapee.com/Linux#CMake

Check that the Profiled Lens Correction combo boxes are populated correctly.

This needs to be tested before February 1.

Mention which LENSFUNDBDIR setting and which operating system you tested.

1 Like

Tested with

LENSFUNDBDIR=

Seems to work fine :slight_smile:

Have fun!
Claes in Lund, Sweden

Can somebody please explain what is lensfun DB location? For example, I have:

/usr/share/lensfun/version_1
/home/andrew/.local/share/lensfun/updates/version_1

My Nikon Z6 is only in this file:

$ grep Z6 /home/andrew/.local/share/lensfun/updates/version_1/mil-nikon.xml
Nikon Z6
Z6

What should I specify for LENSFUNDBDIR?

Should you need to use a Lensfun database in a custom location, you can point RawTherapee to it by editing the options file and setting the DBDirectory key’s value to the absolute path of the custom Lensfun database file.

1 Like

@Morgan_Hardwood no impact on Windows build

1 Like

Fedora 31, with distro lensfun-0.3.2-22.fc31 package.
RT built under mock, no customisations.
Seems OK, Nikon D7500 is not listed, older bodies are listed, lens correction works.

Bit late, but latest pulled latest and compiled:

-- Checking for module 'lensfun>=0.2'
--   Found lensfun, version 0.3.2.0

-- Performing Test LENSFUN_HAS_LOAD_DIRECTORY
-- Performing Test LENSFUN_HAS_LOAD_DIRECTORY - Success

Camera and lens profile picked up fine.