On Sat, Sep 30, 2017, at 13:44, Аl Воgnеr wrote:
> Maybe someone is interested how to use the Pentax KP with Ubuntu 16.04.
> I discussed this with Thorsten Bronger from lensfun privately and
> finally this worked in an own file.
> 
> <lensdatabase>
>     <camera>
>         <maker>Ricoh Imaging Company, Ltd.</maker>
>         <maker lang="en">Pentax</maker>
>         <model>Pentax KP</model>
>         <model lang="en">KP</model>
>         <mount>Pentax KAF2</mount>
>         <cropfactor>1.534</cropfactor>
>     </camera>
> </lensdatabase>
> 
> ~/.local/share/lensfun$ ls -1
> compact-canon.xml
> compact-panasonic.xml
> compact-pentax.xml
> compact-ricoh.xml
> compact-sony.xml
> kp.xml
> mil-canon.xml
> mil-pentax.xml
> mil-sony.xml
> mil-tamron.xml
> slr-canon.xml
> slr-pentax.xml
> slr-ricoh.xml
> slr-sigma.xml
> slr-sony.xml
> slr-tamron.xml
> 
> I have some files from git in ~/.local/share/lensfun , but it didn't
> help to add the part from <camera> to </camera> in slr-pentax.xml.
> 
> So I tried an own file kp.xml with <lensdatabase>. Note there is no
> version included!

Yes, the version declaration for versions <2 isn't required (and I don't bother 
adding it to the files I'm working with up to this point); my suggestion in the 
earlier thread to change it to "1" was simply because that's what the official 
backported files do. It doesn't hurt. :)

-- 
jys
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to