libeventd-plugin: Remove macro usage

It’s uselessly hiding symbols to quick parsing

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
dbus: Cache capabilities and server information

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
nd/style: Rework style update

Now properly check every property and handle the main style update
without segfaulting

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
nd/style: Ignore minimum width if larger than the maximum

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
nd/cairo: Small reordering

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
nd/icon: Small reordering

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
nd/cairo: Give extra space to the text if possible

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
nd/cairo: Shrink the text if needed

Also do not try to draw the image at all in this case

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
nd/icon: Draw image and icon only if enough space

We try to draw the image first, since the icon is less important

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
autotools: Move all directories logic to autoconf

This way we can use our directories variables in all places
Also use eventdir instead of pkgdatadir for plugins default events

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
eventd: The main pkg-config file is arch-independant

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
eventd, nd: Fix leaking opened directories

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>