[Digikam-users] updating dcraw for Pentax K10D PEF format

scott chevalley avalon at osguru.org
Tue Apr 10 21:52:31 BST 2007


Guillaume Castagnino wrote:
> Le Mon, 09 Apr 2007 11:04:20 -0400, scott chevalley a écrit:
>
>   
>> Hi,
>>
>> I have a Pentax K10d and I shoot in Raw format primarily.  I've done
>> some research and found that the version of dcraw that digikam uses is
>> 8.41 which does not yet support this format, but version 8.69, which is
>> the newest, does.  I looked through the online svn and found
>> instructions for updating the dcraw.c file and followed them using the
>> source rpm for digikam 9.1 and modifying the dcraw.c file and putting it
>> where it goes.
>>
>> digikam rebuilds fine and works and I can see the .PEF files and view
>> them, but if I try to edit them in showfoto I get a dialog saying the
>> version of digikamdcraw is too old.  I have looked through all the
>> source to see what showfoto is looking for to determine version of
>> digikamdcraw, but I can't find anything in the new file that would break
>> the version check.
>>
>> does anyone have any ideas of how to get this to work?
>>
>> thanks
>> Scott
>>     
>
> Hi,
>
> You can apply this patch against dcraw 8.69 that make it works with 
> digikam 0.9.1 by maintaining the interface just like 8.41 (and 
> backporting bilateral noise filter feature used by digikam dialog) :
> http://gentoo.xwing.info/media-gfx/dcraw/files/dcraw-8.69-backward-
> compat.patch
>
> Then :
> - either integrate the patched version of dcraw in digikam 0.9.1 as you 
> did ;
> - or use this patch http://gentoo.xwing.info/media-gfx/digikam/files/
> digikam-0.9.1-external-dcraw.patch against digikam 0.9.1 to use external 
> backported dcraw (I personally prefer this solution, even if it force me 
> to maintain myself backward compatibility of dcraw to work with the 
> current digikam version)
>
> Other solution of course is as Gilles said to use svn version that 
> integrate a more recent version of dcraw
>
> Chears,
> Guillaume
>
>   
So if I understand correctly, I would apply the 
dcraw-8.69-backward-compat patch to dcraw and then apply the external 
dcraw patch to digikam, which would then allow my to just keep the 
external dcraw updated instead of having to rebuild digikam when dcraw 
was updated...

Am I understanding correctly?

Thanks
Scott




More information about the Digikam-users mailing list