Am Fri, 08 Dec 2017 17:25:31 -0800
schrieb [email protected]:

> One other thing you might want to check is that at least one of the
> slr-pentax.xml files somewhere in one of the database paths has all
> the mappings (<compat> tags) between the many Pentax K-something
> mounts, as found at the top of the current git version:
> 
>  https://github.com/lensfun/lensfun/blob/master/data/db/slr-pentax.xml

See below, what is in /usr/share/lensfun/slr-pentax.xml

> The copy of this file shipped with 0.2.8 is very old, and incomplete
> in this regard.

Can I simply change this in my /usr/share/lensfun/slr-pentax.xml until
the first camera?

> If you've updated with the lensfun-update-data
> script,

Not sure, but there are reports, that it doesn't work with Ubuntu
16.04. I cannot find this script in my system. Where should it be? What
is the exact name with 0.2.8?

I use 0.2.8-3pmjdebruijn3~xenial I tried to compile 0.3.2 and ended
with errors. What I found out by searching, that it is not so easy to
use 0.3.2 with Ubuntu Xenial.

> it should have taken care of that, but it could be one reason
> that valid profiles don't show up even for manual selection with a
> given camera.

Your profile can now be selected manually (only). I have put it
~/.local/share/lensfun But it is not recognized automatically.

> The attached database file works for autoselection on my darktable
> built against lensfun 0.3.2, both with the provided samples and the
> others I found. Good luck!

Thanks a lot.

At the moment I have:

<lensdatabase>
    <mount>
        <name>Pentax K</name>
        <name lang="ru">Байонет K</name>
        <compat>Pentax KA</compat>
        <compat>Pentax KAF</compat>
        <compat>Pentax KAF2</compat>
        <compat>Pentax KAF3</compat>
        <compat>Pentax KAF4</compat>
        <compat>M42</compat>
        <compat>M39/1</compat>
        <compat>DKL</compat>
        <compat>T2</compat>
        <compat>Tamron Adaptall</compat>
        <compat>Generic</compat>
    </mount>
    <mount>
        <name>Pentax KA</name>
        <compat>Pentax K</compat>
        <compat>Pentax KAF</compat>
        <compat>Pentax KAF2</compat>
        <compat>Pentax KAF3</compat>
        <compat>Pentax KAF4</compat>
        <compat>M42</compat>
        <compat>M39/1</compat>
        <compat>DKL</compat>
        <compat>T2</compat>
        <compat>Tamron Adaptall</compat>
        <compat>Generic</compat>
    </mount>
    <mount>
        <name>Pentax KAF</name>
        <compat>Pentax K</compat>
        <compat>Pentax KA</compat>
        <compat>Pentax KAF2</compat>
        <compat>Pentax KAF3</compat>
        <compat>Pentax KAF4</compat>
        <compat>M42</compat>
        <compat>M39/1</compat>
        <compat>DKL</compat>
        <compat>T2</compat>
        <compat>Tamron Adaptall</compat>
        <compat>Generic</compat>
    </mount>
    <mount>
        <name>Pentax KAF2</name>
        <compat>Pentax K</compat>
        <compat>Pentax KA</compat>
        <compat>Pentax KAF</compat>
        <compat>Pentax KAF3</compat>
        <compat>Pentax KAF4</compat>
        <compat>M42</compat>
        <compat>M39/1</compat>
        <compat>DKL</compat>
        <compat>T2</compat>
        <compat>Tamron Adaptall</compat>
        <compat>Generic</compat>
    </mount>
    <mount>
        <name>Pentax KAF3</name>
        <compat>Pentax K</compat>
        <compat>Pentax KA</compat>
        <compat>Pentax KAF</compat>
        <compat>Pentax KAF2</compat>
        <compat>Pentax KAF4</compat>
        <compat>M42</compat>
        <compat>M39/1</compat>
        <compat>DKL</compat>
        <compat>T2</compat>
        <compat>Tamron Adaptall</compat>
        <compat>Generic</compat>
    </mount>
    <mount>
        <name>Pentax KAF4</name>
        <compat>Pentax K</compat>
        <compat>Pentax KA</compat>
        <compat>Pentax KAF</compat>
        <compat>Pentax KAF2</compat>
        <compat>Pentax KAF3</compat>
        <compat>M42</compat>
        <compat>M39/1</compat>
        <compat>DKL</compat>
        <compat>T2</compat>
        <compat>Tamron Adaptall</compat>
        <compat>Generic</compat>
    </mount>
    <camera>
        <maker>Pentax</maker>
        <model>35mm film: full frame</model>
        <mount>Pentax KAF2</mount>
        <cropfactor>1</cropfactor>
    </camera>
    <camera>
        <maker>Pentax Corporation</maker>
        <maker lang="en">Pentax</maker>
        <model>Pentax *ist DL2</model>
...

Al

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lensfun-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lensfun-users

Reply via email to