I failed to build darktable with the latest git/master verstion of lensfun.
I've reverted it to 50d406677b80cca413af903c01ac40a4945a2605 and I've no more the problem.
FWIW, the code below could also include /usr/local/share...
I built/installed lensfun from source, which installs it to /usr/local.
I #ifdef'd out the path guessin in darktable "src/iop/lens.c" 2321L and created a softlink and all is well.
/** @brief Home lens database directory (something like "~/.local/share/lensfun") */staticconstchar*constUserLocation;/** @brief Home lens database directory for automatic updates (something * like "~/.local/share/lensfun/updates") */staticconstchar*constUserUpdatesLocation;/** @brief System lens database directory (something like "/usr/share/lensfun") */staticconstchar*constSystemLocation;/** @brief System lens database directory for automatic updates (something * like "/var/lib/lensfun-updates") */staticconstchar*constSystemUpdatesLocation;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As a quick workaround, you may use the environment variable
FWIW, the code below could also include /usr/local/share...
I built/installed lensfun from source, which installs it to /usr/local.
I #ifdef'd out the path guessin in darktable "src/iop/lens.c" 2321L and created a softlink and all is well.
This
should automatically point to $CMAKE_INSTALL_PREFIX/share/lensfun.
Maybe the path guessing of Darktable does not look for /usr/local?
Can this be closed?