Skip to content

Issue #10572: Use new Darktable API

Alx Sa requested to merge alxsa-darktable-api into master

This patch attempts to resolve issue #10572 (sorry for the delay @jenshannoschwalm and @Jehan !)

As noted in the report, Darktable has updated the format of their version output. This broke the current regex check that GIMP uses to verify Darktable is installed. This patch utilizes the new Darktable API darktable --gimp version to check; if it fails, we fall back to the original regex code to keep support for older versions of Darktable.

This patch has been tested under the following conditions on Windows:

  • No Darktable installed (no plug-ins are set up)
  • Darktable 4.7 installed (works)
  • Darktable 3.8 installed (works)

If anyone is willing to test on other platforms, it would be appreciated!

Merge request reports