Skip to content

Commit

Permalink
locate darktable
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Feb 15, 2024
1 parent 08e213c commit 90e3324
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
10 changes: 8 additions & 2 deletions coders/dng.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ static Image *InvokeDNGDelegate(const ImageInfo *image_info,Image *image,
ImageInfo
*read_info;

MagickBooleanType
status;

/*
Convert DNG to TIFF with delegate program.
*/
Expand All @@ -237,16 +240,19 @@ static Image *InvokeDNGDelegate(const ImageInfo *image_info,Image *image,
image=AcquireImage(image_info);
read_info=CloneImageInfo(image_info);
SetImageInfoBlob(read_info,(void *) NULL,0);
(void) InvokeDelegate(read_info,image,"dng:decode",(char *) NULL,exception);
status=InvokeDelegate(read_info,image,"dng:decode",(char *) NULL,exception);
image=DestroyImage(image);
if (status == MagickFalse)
return(image);
*read_info->magick='\0';
(void) FormatLocaleString(read_info->filename,MagickPathExtent,"%s.tif",
read_info->unique);
sans_exception=AcquireExceptionInfo();
image=ReadImage(read_info,sans_exception);
(void) RelinquishUniqueFileResource(read_info->filename);
sans_exception=DestroyExceptionInfo(sans_exception);
if (image != (Image *) NULL)
(void) CopyMagickString(image->magick,read_info->magick,MagickPathExtent);
(void) RelinquishUniqueFileResource(read_info->filename);
read_info=DestroyImageInfo(read_info);
return(image);
}
Expand Down
6 changes: 3 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -5137,7 +5137,7 @@ MAGICK_PATCHLEVEL_VERSION=7

MAGICK_VERSION=6.9.13-7

MAGICK_GIT_REVISION=476beb52a:20240211
MAGICK_GIT_REVISION=08e213c65:20240214


# Substitute library versioning
Expand Down Expand Up @@ -5171,7 +5171,7 @@ PACKAGE_LIB_VERSION=0x69D

PACKAGE_LIB_VERSION_NUMBER=6,9,13,7

PACKAGE_RELEASE_DATE=2024-02-11
PACKAGE_RELEASE_DATE=2024-02-14


# Ensure that make can run correctly
Expand Down Expand Up @@ -34673,7 +34673,7 @@ BPGDecodeDelegateDefault='bpgdec'
BPGEncodeDelegateDefault='bpgenc'
BlenderDecodeDelegateDefault='blender'
BrowseDelegateDefault='xdg-open'
DNGDecodeDelegateDefault='ufraw-batch'
DNGDecodeDelegateDefault='darktable-cli'
DOCDecodeDelegateDefault='libreoffice'
GVCDecodeDelegateDefault='dot'
DVIDecodeDelegateDefault='dvips'
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3140,7 +3140,7 @@ BPGDecodeDelegateDefault='bpgdec'
BPGEncodeDelegateDefault='bpgenc'
BlenderDecodeDelegateDefault='blender'
BrowseDelegateDefault='xdg-open'
DNGDecodeDelegateDefault='ufraw-batch'
DNGDecodeDelegateDefault='darktable-cli'
DOCDecodeDelegateDefault='libreoffice'
GVCDecodeDelegateDefault='dot'
DVIDecodeDelegateDefault='dvips'
Expand Down

0 comments on commit 90e3324

Please sign in to comment.