Package Details: lensfun-git 0.3.2.r2592.gec9412d2-1

Git Clone URL: https://aur.archlinux.org/lensfun-git.git (read-only, click to copy)
Package Base: lensfun-git
Description: Database of photographic lenses and associated library
Upstream URL: https://lensfun.github.io/
Licenses: LGPL3
Conflicts: lensfun
Provides: lensfun
Submitter: None
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 26
Popularity: 0.34
First Submitted: 2014-06-13 16:23 (UTC)
Last Updated: 2022-12-28 20:45 (UTC)

Dependencies (7)

Required by (22)

Sources (1)

Latest Comments

1 2 3 Next › Last »

eclairevoyant commented on 2022-11-21 00:47 (UTC) (edited on 2022-11-21 00:53 (UTC) by eclairevoyant)

@RubenKelevra This is what I've found so far (I use aurutils which builds in a clean chroot):

$ strings /usr/lib/liblensfun.so.0.3.95 | grep -F '/build'
/build/lensfun-git/src/lensfun/libs/lensfun/database.cpp

I didn't find any uses of the __FILE__ or __BASE_FILE__ macros in the code, nor any other leads on why this happens. Regardless, I've found the same issue with the official lensfun package in [extra], so you'll have to take it up with upstream.

BTW, I see this issue with another file as well:

$ strings /usr/lib/python3.10/site-packages/lensfun/__pycache__/__init__.cpython-310.pyc | grep -F '/build'
X/build/lensfun-git/pkg/lensfun-git//usr/lib/python3.10/site-packages/lensfun/__init__.py

RubenKelevra commented on 2022-04-05 11:55 (UTC)

There's a warning printed while building:

==> WARNING: Package contains reference to $srcdir
usr/lib/liblensfun.so.0.3.95

hcartiaux commented on 2021-02-11 12:39 (UTC) (edited on 2021-03-15 14:58 (UTC) by hcartiaux)

Good catch, updated.

Note that I don't test this package regularly (all my lenses are implemented in the last release). If anyone is interested, you can ask to be a co-maintainer !

dbermond commented on 2021-02-07 01:18 (UTC) (edited on 2021-02-07 01:19 (UTC) by dbermond)

@hcartiaux Missing 'git' on makedepends, otherwise the package will not build in a system without git installed (or in a clean chroot with devtools). Please add it.

ctouze commented on 2019-05-01 21:06 (UTC)

Lensfun is moving to GitHub

ohmyarch commented on 2019-05-01 16:23 (UTC)

access denied or repository not exported: /p/lensfun/code

hcartiaux commented on 2017-09-05 08:22 (UTC)

Updated (and synced with extra/lensfun)

dllu commented on 2017-09-05 02:38 (UTC)

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 (UTC)

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 (UTC)

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