From 5f802a817938f45cf9441613608157008ec16175 Mon Sep 17 00:00:00 2001 From: chrik5 Date: Tue, 24 Jan 2017 12:22:37 +0100 Subject: [PATCH 1/4] copy_attach_detach_tags add API version to 5.0.0 --- contrib/copy_attach_detach_tags.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/copy_attach_detach_tags.lua b/contrib/copy_attach_detach_tags.lua index 52e85dd..c9a65e3 100644 --- a/contrib/copy_attach_detach_tags.lua +++ b/contrib/copy_attach_detach_tags.lua @@ -40,7 +40,7 @@ local dt = require "darktable" local debug = require "darktable.debug" local gettext = dt.gettext -dt.configuration.check_version(...,{3,0,0},{4,0,0}) +dt.configuration.check_version(...,{3,0,0},{4,0,0},{5,0,0}) -- Tell gettext where to find the .mo file translating messages for a particular domain gettext.bindtextdomain("copy_attach_detach_tags",dt.configuration.config_dir.."/lua/") From 19b71c57820a6ed776002d9098d46a00a2a87fb5 Mon Sep 17 00:00:00 2001 From: chrik5 Date: Tue, 24 Jan 2017 12:23:30 +0100 Subject: [PATCH 2/4] gimp add API version to 5.0.0 --- contrib/gimp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/gimp.lua b/contrib/gimp.lua index 1d2c29b..0f98407 100644 --- a/contrib/gimp.lua +++ b/contrib/gimp.lua @@ -68,7 +68,7 @@ require "official/yield" local gettext = dt.gettext -dt.configuration.check_version(...,{3,0,0},{4,0,0}) +dt.configuration.check_version(...,{3,0,0},{4,0,0},{5,0,0}) -- Tell gettext where to find the .mo file translating messages for a particular domain gettext.bindtextdomain("gimp",dt.configuration.config_dir.."/lua/") From cade6d5e0b09d7a26a8c07ba56ab0d61a25bea00 Mon Sep 17 00:00:00 2001 From: chrik5 Date: Tue, 24 Jan 2017 12:36:42 +0100 Subject: [PATCH 3/4] hugin add API version 5.0.0 --- contrib/hugin.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/hugin.lua b/contrib/hugin.lua index 6588e00..810c3c6 100644 --- a/contrib/hugin.lua +++ b/contrib/hugin.lua @@ -39,7 +39,7 @@ require "official/yield" local gettext = dt.gettext -- works with darktable API version 2.0.0 and 3.0.0 -dt.configuration.check_version(...,{2,0,0},{3,0,0},{4,0,0}) +dt.configuration.check_version(...,{2,0,0},{3,0,0},{4,0,0},{5,0,0}) -- Tell gettext where to find the .mo file translating messages for a particular domain gettext.bindtextdomain("hugin",dt.configuration.config_dir.."/lua/") @@ -115,7 +115,7 @@ local function create_panorama(storage, image_table, extra_data) --finalize dt.print_error(huginStartCommand) - if dt.control.execute( huginStartCommand) + if dt.control.execute(huginStartCommand) then dt.print(_("Command hugin failed ...")) end From eb774d37c6f410ddff842df262ad18e227944b8c Mon Sep 17 00:00:00 2001 From: chrik5 Date: Tue, 24 Jan 2017 12:43:30 +0100 Subject: [PATCH 4/4] hugin - fix error message hugin failed... --- contrib/hugin.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/hugin.lua b/contrib/hugin.lua index 810c3c6..77ff554 100644 --- a/contrib/hugin.lua +++ b/contrib/hugin.lua @@ -115,7 +115,7 @@ local function create_panorama(storage, image_table, extra_data) --finalize dt.print_error(huginStartCommand) - if dt.control.execute(huginStartCommand) + if not dt.control.execute(huginStartCommand) then dt.print(_("Command hugin failed ...")) end