README: Reword plugin search directory section to be more accurate

This commit is contained in:
Evangelos Ribeiro Tzaras
2021-06-04 15:21:14 +02:00
parent f81ed3d063
commit 9b5508c627

View File

@@ -41,7 +41,7 @@ command-line option. For example, to run with the dummy backend and
some useful debugging output: some useful debugging output:
export G_MESSAGES_DEBUG=all export G_MESSAGES_DEBUG=all
/usr/bin/gnome-calls -p dummy /usr/local/bin/gnome-calls -p dummy
If using ModemManager, Calls will wait for ModemManager to appear on If using ModemManager, Calls will wait for ModemManager to appear on
D-Bus and then wait for usable modems to appear. The UI will be D-Bus and then wait for usable modems to appear. The UI will be
@@ -49,14 +49,18 @@ inactive and display a status message until a usable modem appears.
### Running from the build directory ### Running from the build directory
You can run calls without having to install it by executing the run script in You can run calls without having to install it by executing the run script in
the build folder, i.e. `_build/run` the build folder, i.e. `_build/run`. This script will setup the needed environment
and start Calls.
When running from the build tree you can use `CALLS_PLUGIN_DIR` environment ### Call provider backends
varible to specify the directroy from where plugins are loaded. To e.g. load Call provider backends are compiled as plugins and can be loaded and unloaded at runtime
the dummy plugin from the build tree: using the `-p` command line flag, followed by the plugin name.
Setting the `CALLS_PLUGIN_DIR` environment variable will include the specified
directory in the plugin search path. F.e.
export CALLS_PLUGIN_DIR=_build/plugins/ export CALLS_PLUGIN_DIR=_build/plugins/
_build/run -p dummy /usr/local/bin/gnome-calls -p dummy
### oFono ### oFono