Commit 2240ee6b authored by Sam Thursfield's avatar Sam Thursfield

Need to set GIO_EXTRA_MODULES when running from a prefix

Otherwise the DConf GIO module is not loaded by subprocesses that
we launch, which prevents them interacting with DConf.

We currently launch `gsettings` as a subprocess from trackerappdomain
as a workaround for the issue that the GSettings API doesn't let us
manage multiple DConf profiles within a single process.
parent fa232174
Pipeline #21448936 failed with stage
in 15 minutes and 25 seconds
......@@ -11,7 +11,7 @@ How to build and run:
mkdir build
meson .. --prefix=/opt/tagcloud
ninja install
env LD_LIBRARY_PATH=/opt/tagcloud/lib64 GI_TYPELIB_PATH=/opt/tagcloud/lib64/girepository-1.0:/opt/lib64/girepository-1.0 /opt/tagcloud/bin/tagcloud
env LD_LIBRARY_PATH=/opt/tagcloud/lib64 GI_TYPELIB_PATH=/opt/tagcloud/lib64/girepository-1.0:/opt/lib64/girepository-1.0 GIO_EXTRA_MODULES=/usr/lib64/gio/modules /opt/tagcloud/bin/tagcloud
When you make changes to the source tree you must rerun `ninja install`. This
should be fast.
......
......@@ -48,7 +48,7 @@ like this from the Tagcloud source tree:
You can then run Tagcloud like this:
env LD_LIBRARY_PATH=/opt/tagcloud/lib64 GI_TYPELIB_PATH=/opt/tagcloud/lib64/girepository-1.0:/opt/lib64/girepository-1.0 /opt/tagcloud/bin/tagcloud
env LD_LIBRARY_PATH=/opt/tagcloud/lib64 GI_TYPELIB_PATH=/opt/tagcloud/lib64/girepository-1.0:/opt/lib64/girepository-1.0 GIO_EXTRA_MODULES=/usr/lib64/gio/modules /opt/tagcloud/bin/tagcloud
Tracker domains
---------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment