plugins: location: implement either search-path or option for configuration file
Hi,
in the process of packaging gajim plugins systemwide, we need your collaboration. Right now gajim assumes one path. With Guix (either in a foreign OS or on its own in GuixSD) we need to reference more than just one location.
To quote https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00169.html :
Gajim assumes that there is a single plugin directory, which has to be set at configuration time. This means that you cannot even default it to ~/.guix-profile/share/gajim/plugins, because people might use different profile directories.
The best way to fix this is upstream by sending them a patch that would make Gajim look for plugins in other directories, either by implementing a search path environment variable or by adding a key to the configuration file.
This would not only help Guix, but also Nix/NixOS who are (I assume) in a similar position.
What I propose is comparable to for example $ZATHURA_PLUGIN_PATH
, but having an configuration file option would help aswell.