[subscriber] cache value

If value is not changed use one read previously

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
use is_subscribed_ to control subscription

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[server] better config monitor initialization

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
cosmetic changes

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[server] fix: start monitor before getattr too

It was started for root before readdir but also should be started before
getattr

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[qt] join qt threads using wait()

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[systemd] user session service

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[pkgconfig] statefs*.pc -> src dir

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[packaging] moving statefs-contextkit to separate repo

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[config] extracting reusable part

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[cmake] install exact public headers

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[config] touch configuration directory

to be sure watcher is kicked

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[config] using mtime to compare config files

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[config] first removing provider, then adding

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[server] check plugin pointer on add/rm

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[systemd] preset some env vars

This is the workaround. If nemo user environment is not providing 'em
some providers can fail, so preventing it

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[api] using statefs typedefs in the public api

Also changing off_t/size_t/ssize_t to (unsigned) long because this types
size depends on declaration.

TODO: check api types sizes
Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[service] do not setup environment

while this workaround works in some environments it should not
exist. It is better to fix broken environment

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
[pkgconfig] configure .pc files

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
fix: non-compat providers: no introspection

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>