Project

General

Profile

Feature #12436

Make noiseprofiling scripts aware of path to darktable-cli binary

Added by Alexey Akulov 10 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
12/03/2018
Due date:
% Done:

0%

Affected Version:
git master branch
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Attempting to make noise profiles to new camera, installed darktable from git into custom directory.

After getting some errors, sorted them out.

Scripts call darktable-cli and it is the old version executed that do not support new camera.

Had to do some hardcoding to make things work.

- in darktable-gen-noiseprofile had to add:

#darktable-cli "$image" "$xmp" "$pfm" --core --conf plugins/lighttable/export/iccprofile=image --conf plugins/lighttable/export/style=none
/path/to/darktable_git/bin/darktable-cli "$image" "$xmp" "$pfm" --core --conf plugins/lighttable/export/iccprofile=image --conf plugins/lighttable/export/style=none

- in subr.sh had to add:

#darktable-cli "$input" "$output" 1>/dev/null 2>&1
/path/to/darktable_git/bin/darktable-cli "$input" "$output" 1>/dev/null 2>&1

I am not so good at scripting to offer more elegant solution, so please think of a better way of making these scripts work when DT installed to custom paths.

Also available in: Atom PDF