Skip to content
Commit f3bc7a6e authored by Iñigo Martínez's avatar Iñigo Martínez
Browse files

build: Properly define giomoduledir and session_bus_services_dir

Following the recommendations[0], the `giomoduledir` and
`session_bus_services_dir` use the information from the `pc` files
where they are defined, gio-2.0.pc and dbus-1.pc. However, these
variables are relative to some other variable which is set to be
a directory under prefix, where the user should be able to write.

On the other hand, systemd related paths, `systemduserunitdir`
and `tmpfilesdir` can not use this approach because they use
absolute paths, so there is no way to set those paths to
directories under prefix.

The `gio_module_dir` and `dbus_services_dir` have also been removed
because they are not necessary anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=794365

[0] https://www.bassi.io/articles/2018/03/15/pkg-config-and-paths/
parent b8216b75
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