lensfun
0.3.0.0
|
New lenses and cameras arrive at lensfun every week. So, it is desirable to update your copy of lensfun's database to stay up-to-date. In particular, if you have sent calibration pictures to Torsten's calibration service, you must update your local lensfun database after the calibration in order to be able to use the new calibrations.
For this purpose, there exists a simple command-line tool called “update‑lensfun‑data”. If you call it (it doesn't need parameters), just wait for a second and the database is updated. It will report whether an update was necessary.
However, if an update is necessary, the program needs root privileges. So call the program with “sudo lensfun‑update-data” and enter your root password. There exists a second version of the programm called “g‑lensfun‑update‑data”. It will let you enter the root password – if new data is available – in a neat window. This version is especially useful for GUI programs, which can call it in the background.
If a calling program just wants to know whether an update is necessary, it should call lensfun‑update-data without root privileges and check its return code: A return code of 1 means that no newer database is available, a return code of 2 means that there is a newer version.