Skip to content

configure plugin directories without autoload

Drew Parsons requested to merge dparsons/paraview:plugin_path_no_autoload into master

Currently cmake option PARAVIEW_PLUGIN_LOADER_PATHS can be used to define directories containing plugins intended to be autoloaded (processed by vtkPVPluginLoader).

Plugins not intended to be autoloaded can be listed in XML plugin config files, which requires writing the XML conf files. This is processed by vtkPVPluginTracker.

This patch provides a new cmake option PARAVIEW_PLUGIN_CONF_EXTRA_PATHS that defines directories containing plugins which are not intended to be autoloaded. The found plugins can be activated manually in PluginManager.

Example usage:

cmake -DPARAVIEW_PLUGIN_CONF_EXTRA_PATHS="/usr/share/paraview/plugins"

Taken from debian patch unloaded_dir_in_plugin_conf.patch https://salsa.debian.org/science-team/paraview/-/blob/f73bf1ec95d108ae7b17da9a5a80f43b3058269a/debian/patches/unloaded_dir_in_plugin_conf.patch

and plugin_conf_path_no_autoload.patch https://salsa.debian.org/science-team/paraview/-/blob/f73bf1ec95d108ae7b17da9a5a80f43b3058269a/debian/patches/plugin_conf_path_no_autoload.patch

Merge request reports

Loading