Summary: | please update version of lensfun | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | jon33040 |
Component: | Bundle-AppImage | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bronger, caulier.gilles, metzpinguin |
Priority: | NOR | ||
Version: | 5.9.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 6.0.0 | |
Sentry Crash Report: |
Description
jon33040
2018-02-11 20:22:17 UTC
Install the lensfun-tools and run lensfun-update-data in the console. This installs the current database in the user directory. Maik Maik, Can we use this lensfun tool to update the database in the library as well. I suspect that DT do it already, as i remember to see this topic in the past somewhere in a Lensfun forum... Gilles Gilles, do you mean to run lensfun-update-date at the AppImage creation and copy the databases from the user directory to /usr/share/lensfun? But I think then it would be easier to use the git/master version away? Maik yes exactly, for all the bundle. The problem to use the git/master API is the non stabilized implementations. I already ask this question somewhere in Lensfun Forum, and it's not yet the best way to use the library... Gilles Under linux, a python3 script can update the lens database locally : [gilles@localhost apps]$ pwd /mnt/devel/GIT/lensfun-0.3.2/apps [gilles@localhost apps]$ ./lensfun-update-data Info: root privileges needed for updating the system database. Info: updating user DB in '/home/gilles/.local/share/lensfun/updates' Reading http://lensfun.sourceforge.net/db/versions.json … Reading http://wilson.bronger.org/lensfun-db/versions.json … Successfully updated the database in /home/gilles/.local/share/lensfun/updates/version_1. Gilles Caulier When I did this, I got something subtly different ... jon@whitestar:~/.local/share/lensfun/updates/version_2$ ls 6x6.xml compact-nikon.xml contax.xml mil-samsung.xml rf-leica.xml slr-pentax.xml slr-tamron.xml actioncams.xml compact-olympus.xml generic.xml mil-samyang.xml slr-canon.xml slr-ricoh.xml slr-tokina.xml compact-canon.xml compact-panasonic.xml mil-canon.xml mil-sigma.xml slr-hasselblad.xml slr-samsung.xml slr-ussr.xml compact-casio.xml compact-pentax.xml mil-fujifilm.xml mil-sony.xml slr-konica-minolta.xml slr-samyang.xml slr-vivitar.xml compact-fujifilm.xml compact-ricoh.xml mil-nikon.xml mil-tamron.xml slr-leica.xml slr-schneider.xml slr-zeiss.xml compact-kodak.xml compact-samsung.xml mil-olympus.xml mil-tokina.xml slr-nikon.xml slr-sigma.xml timestamp.txt compact-konica-minolta.xml compact-sigma.xml mil-panasonic.xml mil-zeiss.xml slr-olympus.xml slr-soligor.xml compact-leica.xml compact-sony.xml mil-pentax.xml misc.xml slr-panasonic.xml slr-sony.xml Note that it's version_2 rather than version_1 in your example. Also it doesn't work in the 5.8.0 release appimage or the 5.9.0 appimage I downloaded. The "Make", "Model" and "Lens" menus are all empty. The menus are populated in the copy of 5.6.0 which I have installed but don't pick up on the new data. Good news. Lensfun team provide an offcial alpha release 0.3.95 http://lensfun.sourceforge.net/news/ I checked DK code, and all compile fine with this new version of the library, event if a lots of deprecated functions are used in DK. So i can switch the bundles to use this new version. Gilles Caulier Git commit 3b4b466fec9921efba793c9ad26eed7b75082cca by Gilles Caulier. Committed on 03/07/2018 at 13:09. Pushed by cgilles into branch 'master'. use lensfun 3.95 alpha release with bundles M +5 -7 project/bundles/3rdparty/ext_lensfun/CMakeLists.txt D +0 -13 project/bundles/3rdparty/ext_lensfun/lensfun-regex-mxe.patch https://commits.kde.org/digikam/3b4b466fec9921efba793c9ad26eed7b75082cca Git commit 3f153706b81136b9f80385f541e948beccd86cfa by Gilles Caulier. Committed on 05/07/2018 at 09:15. Pushed by cgilles into branch 'master'. Lensfun 3.9 alpha use a new sub directory named "version_2" to host XML lens database R +0 -0 core/Mainpage.dox [from: Mainpage.dox - 100% similarity] M +14 -4 core/libs/dimg/filters/lens/lensfuniface.cpp https://commits.kde.org/digikam/3f153706b81136b9f80385f541e948beccd86cfa The last 6.0.0 pre release AppImage use now Lensfun 3.95 alpha version and it's suitable as well... |