Bundle lua-scripts into the darktable release #19899
Draft
+29
−357
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR enables bundling the lua-scripts with the darktable release, removing the last barrier to entry for using the scripts.
The bundled scripts are the choice of last resort, so if the user already has the lua-scripts installed the user version takes priority.
The scripts can also run in a "hybrid" mode where the bundled scripts are used and selected scripts can be added by placing them in the users lua directory.
This PR is a work in progress. One final piece is needed to make it work and that is a modified script_manager. That will be merged separately into the lua-scripts repository and then accessed through the external/lua-scripts submodule.
For testing I'm included a modified script_manager that needs to replace /share/darktable/lua-scripts/tools/script_manager.lua