From e1539376bde141a8e479c84a0fb6ae297240a9d4 Mon Sep 17 00:00:00 2001 From: Pascal Obry Date: Wed, 17 Jan 2024 09:26:41 +0100 Subject: [PATCH] Add lua as sub-module to support translation. This makes the Lua scripts first-class citizen in darktable. --- .gitmodules | 3 ++ po/POTFILES.in | 83 +++++++++++++++++++++++++++++++++++++++- src/external/lua-scripts | 1 + 3 files changed, 85 insertions(+), 2 deletions(-) create mode 160000 src/external/lua-scripts diff --git a/.gitmodules b/.gitmodules index bf9defc57b06..06a31cc63826 100644 --- a/.gitmodules +++ b/.gitmodules @@ -17,3 +17,6 @@ [submodule "src/external/LibRaw"] path = src/external/LibRaw url = https://github.com/LibRaw/LibRaw.git +[submodule "src/external/lua-scripts"] + path = src/external/lua-scripts + url = https://github.com/darktable-org/lua-scripts.git diff --git a/po/POTFILES.in b/po/POTFILES.in index e825dbd5fb4e..168719740c3d 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -23,13 +23,13 @@ build/lib/darktable/plugins/introspection_colorbalancergb.c build/lib/darktable/plugins/introspection_colorchecker.c build/lib/darktable/plugins/introspection_colorcontrast.c build/lib/darktable/plugins/introspection_colorcorrection.c +build/lib/darktable/plugins/introspection_colorequal.c build/lib/darktable/plugins/introspection_colorin.c build/lib/darktable/plugins/introspection_colorize.c build/lib/darktable/plugins/introspection_colormapping.c build/lib/darktable/plugins/introspection_colorout.c build/lib/darktable/plugins/introspection_colorreconstruction.c build/lib/darktable/plugins/introspection_colortransfer.c -build/lib/darktable/plugins/introspection_colorequal.c build/lib/darktable/plugins/introspection_colorzones.c build/lib/darktable/plugins/introspection_crop.c build/lib/darktable/plugins/introspection_defringe.c @@ -94,6 +94,85 @@ build/lib/darktable/plugins/introspection_zonesystem.c build/share/darktable/org.darktable.darktable.desktop.in data/org.darktable.darktable.appdata.xml.in data/org.darktable.darktable.desktop.in +src/external/lua-scripts/contrib/AutoGrouper.lua +src/external/lua-scripts/contrib/CollectHelper.lua +src/external/lua-scripts/contrib/HDRMerge.lua +src/external/lua-scripts/contrib/LabelsToTags.lua +src/external/lua-scripts/contrib/OpenInExplorer.lua +src/external/lua-scripts/contrib/RL_out_sharp.lua +src/external/lua-scripts/contrib/auto_snapshot.lua +src/external/lua-scripts/contrib/autostyle.lua +src/external/lua-scripts/contrib/change_group_leader.lua +src/external/lua-scripts/contrib/clear_GPS.lua +src/external/lua-scripts/contrib/color_profile_manager.lua +src/external/lua-scripts/contrib/copy_attach_detach_tags.lua +src/external/lua-scripts/contrib/cr2hdr.lua +src/external/lua-scripts/contrib/cycle_group_leader.lua +src/external/lua-scripts/contrib/dbmaint.lua +src/external/lua-scripts/contrib/enfuseAdvanced.lua +src/external/lua-scripts/contrib/exportLUT.lua +src/external/lua-scripts/contrib/ext_editor.lua +src/external/lua-scripts/contrib/face_recognition.lua +src/external/lua-scripts/contrib/fujifilm_dynamic_range.lua +src/external/lua-scripts/contrib/fujifilm_ratings.lua +src/external/lua-scripts/contrib/geoJSON_export.lua +src/external/lua-scripts/contrib/geoToolbox.lua +src/external/lua-scripts/contrib/gimp.lua +src/external/lua-scripts/contrib/gpx_export.lua +src/external/lua-scripts/contrib/harmonic_armature_guide.lua +src/external/lua-scripts/contrib/hif_group_leader.lua +src/external/lua-scripts/contrib/hugin.lua +src/external/lua-scripts/contrib/image_stack.lua +src/external/lua-scripts/contrib/image_time.lua +src/external/lua-scripts/contrib/jpg_group_leader.lua +src/external/lua-scripts/contrib/kml_export.lua +src/external/lua-scripts/contrib/passport_guide.lua +src/external/lua-scripts/contrib/passport_guide_germany.lua +src/external/lua-scripts/contrib/pdf_slideshow.lua +src/external/lua-scripts/contrib/photils.lua +src/external/lua-scripts/contrib/quicktag.lua +src/external/lua-scripts/contrib/rate_group.lua +src/external/lua-scripts/contrib/rename-tags.lua +src/external/lua-scripts/contrib/rename_images.lua +src/external/lua-scripts/contrib/select_non_existing.lua +src/external/lua-scripts/contrib/select_untagged.lua +src/external/lua-scripts/contrib/slideshowMusic.lua +src/external/lua-scripts/contrib/transfer_hierarchy.lua +src/external/lua-scripts/contrib/video_ffmpeg.lua +src/external/lua-scripts/examples/api_version.lua +src/external/lua-scripts/examples/darkroom_demo.lua +src/external/lua-scripts/examples/gettextExample.lua +src/external/lua-scripts/examples/gui_action.lua +src/external/lua-scripts/examples/hello_world.lua +src/external/lua-scripts/examples/lighttable_demo.lua +src/external/lua-scripts/examples/moduleExample.lua +src/external/lua-scripts/examples/multi_os.lua +src/external/lua-scripts/examples/panels_demo.lua +src/external/lua-scripts/examples/preferenceExamples.lua +src/external/lua-scripts/examples/printExamples.lua +src/external/lua-scripts/examples/running_os.lua +src/external/lua-scripts/examples/x-touch.lua +src/external/lua-scripts/lib/dtutils.lua +src/external/lua-scripts/lib/dtutils/debug.lua +src/external/lua-scripts/lib/dtutils/file.lua +src/external/lua-scripts/lib/dtutils/log.lua +src/external/lua-scripts/lib/dtutils/string.lua +src/external/lua-scripts/lib/dtutils/system.lua +src/external/lua-scripts/official/check_for_updates.lua +src/external/lua-scripts/official/copy_paste_metadata.lua +src/external/lua-scripts/official/delete_long_tags.lua +src/external/lua-scripts/official/delete_unused_tags.lua +src/external/lua-scripts/official/enfuse.lua +src/external/lua-scripts/official/generate_image_txt.lua +src/external/lua-scripts/official/image_path_in_ui.lua +src/external/lua-scripts/official/import_filter_manager.lua +src/external/lua-scripts/official/import_filters.lua +src/external/lua-scripts/official/save_selection.lua +src/external/lua-scripts/official/selection_to_pdf.lua +src/external/lua-scripts/tools/executable_manager.lua +src/external/lua-scripts/tools/get_lib_manpages.lua +src/external/lua-scripts/tools/get_libdoc.lua +src/external/lua-scripts/tools/script_manager.lua src/bauhaus/bauhaus.c src/chart/main.c src/cli/main.c @@ -219,13 +298,13 @@ src/iop/colorbalancergb.c src/iop/colorchecker.c src/iop/colorcontrast.c src/iop/colorcorrection.c +src/iop/colorequal.c src/iop/colorin.c src/iop/colorize.c src/iop/colormapping.c src/iop/colorout.c src/iop/colorreconstruction.c src/iop/colortransfer.c -src/iop/colorequal.c src/iop/colorzones.c src/iop/crop.c src/iop/defringe.c diff --git a/src/external/lua-scripts b/src/external/lua-scripts new file mode 160000 index 000000000000..3d1f12fe4436 --- /dev/null +++ b/src/external/lua-scripts @@ -0,0 +1 @@ +Subproject commit 3d1f12fe4436d288666c77301a88910262c84328