Package Details: lensfun-git 0.3.2.r1088.g28285fe-1

Git Clone URL: https://aur.archlinux.org/lensfun-git.git (read-only)
Package Base: lensfun-git
Description: Database of photographic lenses and a library that allows advanced access to the database
Upstream URL: http://lensfun.sourceforge.net
Licenses: LGPL3
Conflicts: lensfun
Provides: lensfun=0.3.0
Submitter: zhuqin
Maintainer: hcartiaux
Last Packager: hcartiaux
Votes: 9
Popularity: 0.000000
First Submitted: 2014-06-13 16:23
Last Updated: 2017-09-05 08:22

Dependencies (6)

Required by (11)

Sources (1)

Latest Comments

hcartiaux commented on 2017-09-05 08:22

Updated (and synced with extra/lensfun)

dllu commented on 2017-09-05 02:38

It turns out that lensfun has some cmake configuration thing that defines some C macros based on CMAKE_INSTALL_PREFIX. If you set -DCMAKE_INSTALL_PREFIX=$pkgdir/usr, then the C API for lensfun will fail to find the databse. Here are my changes to PKGBUILD to fix it:

24c24
< cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/usr \
---
> cmake -DCMAKE_INSTALL_PREFIX=/usr \
33c33
< make INSTALL_PREFIX="$pkgdir/" install
---
> make DESTDIR="$pkgdir/" install

dllu commented on 2017-09-04 02:45

It seems that lensfun-git breaks darktable-git currently. With the current version, darktable emits the following warning:

[iop_lens]: could not load lensfun database in `/usr/share'!
[iop_lens]: could not load lensfun database in `/usr/share'!

and it becomes impossible to use lensfun corrections in darktable. This issue does not occur with extra/lensfun.

I've checked that all the xml files are available in /usr/share/lensfun/version_1/. The main differences between aur/lensfun-git and extra/lensfun are that extra/lensfun does not have the following files:

< /usr/bin/lensfun-convert-lcp
< /usr/share/lensfun/version_1/lensfun-database.dtd
< /usr/share/lensfun/version_1/lensfun-database.xsd
< /usr/share/lensfun/version_1/mil-tokina.xml

hcartiaux commented on 2016-10-05 11:58

I've updated the PKGBUILD, sorry for the inconvenience...

Nestor_013 commented on 2016-10-05 10:58

Hi Wile,

Indeed lensfun installs in /usr/lib64. For me it even break the soft link to /usr/lib and generate a panic on next reboot...

To solve this, just add the following line in the build() section of the PKGBUILD (ie: line 34)

-DCMAKE_INSTALL_LIBDIR=lib \

wilecoyote commented on 2016-07-25 19:04

Hello!
Lensfun still installs to /usr/lib64, but shouldn't libs be installed to /usr/lib?
Consequently, the library is not found by ld so that that darktable cannot be compiled on my system (Arch x64 with recent updates).

hcartiaux commented on 2016-01-13 09:41

Should be fixed...

soupault commented on 2016-01-13 09:11

==> Entering fakeroot environment...
==> Starting package()...
[ 93%] Built target lensfun
[100%] Built target python-package
Install the project...
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:36 (file):
file cannot create directory: /usr/local/include/lensfun. Maybe need
administrative privileges.


Makefile:137: recipe for target 'install' failed
make: *** [install] Error 1
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build lensfun-git.

zhuqin commented on 2014-12-22 01:09

updated

nanomad commented on 2014-12-21 15:30

Hi,

I've fixed the provides so that it doesn't break darktable dependencies.

Here's the updated version: http://lpaste.net/116964

All comments