Re: [darktable-user] Workaround: Pentax KP, liblensfun-data 0.2.8-3pmjdebruijn2~xenial

2017-09-30 Thread junkyardsparkle


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.
> 
> 
> 
> Ricoh Imaging Company, Ltd.
> Pentax
> Pentax KP
> KP
> Pentax KAF2
> 1.534
> 
> 
> 
> ~/.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  to  in slr-pentax.xml.
> 
> So I tried an own file kp.xml with . 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 darktable-user+unsubscr...@lists.darktable.org



[darktable-user] Workaround: Pentax KP, liblensfun-data 0.2.8-3pmjdebruijn2~xenial

2017-09-30 Thread Аl Воgnеr
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.



Ricoh Imaging Company, Ltd.
Pentax
Pentax KP
KP
Pentax KAF2
1.534



~/.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  to  in slr-pentax.xml.

So I tried an own file kp.xml with . Note there is no
version included!

Until now I didn't notice a problem.

Al

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] lensfun

2017-09-30 Thread junkyardsparkle


On Sat, Sep 30, 2017, at 04:37, Remco Viëtor wrote:
> On samedi 30 septembre 2017 12:18:00 CEST junkyardspar...@yepmail.net wrote:
> > On Sat, Sep 30, 2017, at 02:17, Roman Lebedev wrote:
> > > On Sat, Sep 30, 2017 at 1:48 AM,   wrote:
> > > > Remove the DOCTYPE declaration on the first line
> > > > 
> > > >  
> > > > 
> > > > and change the version to "1" in the line that follows
> > > > 
> > > >  
> > > 
> > > You do realize that changing version like that is not exactly
> > > guaranteed to work, right?
> > 
> > What exactly are the differences to watch out for? I seem to remember
> > digging into this before, but diffing some files from the backport and
> > master didn't turn anything up.
> 
> You might want to have a look here:
> http://lensfun.sourceforge.net/manual/dbformat.html

Thanks, I'm well aware of that page, as I create, add, and remove database 
files from my local lensfun db in the process of creating lens profiles from 
user submitted files via the github repository. Not only does that page not 
address my question about version differences between 1 and 2, but neither does 
the more specifically-intended-to page linked from it:

 http://lensfun.sourceforge.net/manual/db_versions.html

Hence my question, but it should have been posted at the lensfun list, not 
here. Sorry, disregard.

> From my understanding of what's written there, if you have to resort to the 
> tricks you describe (removing  might be using an old version of the library. 

This is simply the observable difference between the version 1 files as 
provided in bundles or via lensfun-update-data, and the files as they are 
currently in the master branch. It is the difference between the file being 
loaded by darktable or not, as empirically experienced by me during the course 
of juggling many of these files.

> And why should darktable worry or know about lensfun internals? The whole 
> reason of using a library is that you don't have to learn/understand all the 
> gritty details. Counterpart of that is that you shouldn't modify said 
> internals, and even less tell others to do so, unless you give a very good 
> reason for such modification (and "darktable may not like them (you'll see a 
> warning on the console output)" is /not/ a good reason...). 

The database files are *intended* to be user creatable, and are not library 
internals. The reason is the one stated above, and it's a very good reason. :)

-- 
jys

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] lensfun

2017-09-30 Thread Remco Viëtor
On samedi 30 septembre 2017 12:18:00 CEST junkyardspar...@yepmail.net wrote:
> On Sat, Sep 30, 2017, at 02:17, Roman Lebedev wrote:
> > On Sat, Sep 30, 2017 at 1:48 AM,   wrote:
> > > Remove the DOCTYPE declaration on the first line
> > > 
> > >  
> > > 
> > > and change the version to "1" in the line that follows
> > > 
> > >  
> > 
> > You do realize that changing version like that is not exactly
> > guaranteed to work, right?
> 
> What exactly are the differences to watch out for? I seem to remember
> digging into this before, but diffing some files from the backport and
> master didn't turn anything up.

You might want to have a look here:
http://lensfun.sourceforge.net/manual/dbformat.html

>From my understanding of what's written there, if you have to resort to the 
tricks you describe (removing 

Re: [darktable-user] Calling binaries

2017-09-30 Thread Tobias Ellinghaus
Am Freitag, 29. September 2017, 21:15:18 CEST schrieb Paul Deverson:
> I just can’t get this to work!
> 
> I’ve looked at the file structure and there’s no sign of darktable-cmstest
> in the same folder/directory as darktable-bin, darktable-chart,
> darktable-cli, etc.
> 
> Shouldn’t it be there?

No.

> I’m using 2.2.5 on a Mac.

darktable-cmstest is inherently useless on a Mac.

> Paul.

Tobias

signature.asc
Description: This is a digitally signed message part.


Re: [darktable-user] lensfun

2017-09-30 Thread junkyardsparkle


On Sat, Sep 30, 2017, at 02:17, Roman Lebedev wrote:
> On Sat, Sep 30, 2017 at 1:48 AM,   wrote:
> >
> > Remove the DOCTYPE declaration on the first line
> >
> >  
> >
> > and change the version to "1" in the line that follows
> >
> >  
> You do realize that changing version like that is not exactly
> guaranteed to work, right?

What exactly are the differences to watch out for? I seem to remember digging 
into this before, but diffing some files from the backport and master didn't 
turn anything up.

-- 
jys

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] lensfun

2017-09-30 Thread Roman Lebedev
On Sat, Sep 30, 2017 at 1:48 AM,   wrote:
>
>
> On Thu, Sep 28, 2017, at 07:05, darkta...@911networks.com wrote:
>>
>> I needed to  add some Fuji lenses. I checked:
>>
>> https://www.mankier.com/1/lensfun-update-data
>>
>> [froggy@dodoite ~]$ sudo lensfun-update-data
>> [sudo] password for froggy:
>> Reading http://lensfun.sourceforge.net/db/versions.json …
>> Reading http://wilson.bronger.org/lensfun-db/versions.json …
>> Info: No newer database was found for last installed Lensfun.
>>
>> archlinux:
>>
>> [froggy@dodoite ~]$ pacman -Q lensfun
>> lensfun 0.3.2-3
>>
>> Didn't work.
>>
>> I finally found:
>>
>> https://sourceforge.net/p/lensfun/code/ci/master/tree/data/db/
>>
>> downloaded the fuji to: ~/.local/share/lensfun/updates and magic
>> happened!
>>
>> Is there a better way?
>
> It looks like the new additions at github are getting pushed to the 
> sourceforge master branch db periodically, which means that if a lens was 
> added at github very recently, it may not appear at sourceforge yet. Aside 
> from that, the sourceforge files have probably been better checked for any 
> possible errors, etc, and are probably the best bet. In either case, you 
> should probably make the following changes to the .xml file:
>
> Remove the DOCTYPE declaration on the first line
>
>  
>
> and change the version to "1" in the line that follows
>
>  
You do realize that changing version like that is not exactly
guaranteed to work, right?
There was a fresh db dump for version_1, maybe it is still good:
http://lensfun.sourceforge.net/db/version_1.tar.bz2

> otherwise darktable may not like them (you'll see a warning on the console 
> output). You might want to put any that you add this way into 
> ~/.local/share/lensfun directly, rather than the updates directory, to 
> prevent it being clobbered by future runs of lensfun-update-data (although 
> hopfully any future successful updates using this method would make the added 
> file redundant anyway).
>
> --
> jys
Roman.

> 
> darktable user mailing list
> to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
>

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org