mate-desktop / mate-control-center

Utilities to configure the MATE desktop
https://mate-desktop.org
GNU General Public License v2.0
68 stars 59 forks source link

timeadmin should not depend on systemd only #759

Open oz123 opened 5 months ago

oz123 commented 5 months ago

Actual behaviour

The commit https://github.com/mate-desktop/mate-control-center/commit/9c2e88747e09882537a7ca9b759fdaf37a42a2c2 locks timeadmin to systemd systems only. However, timeadmin only uses known D-Bus services ("org.freedesktop.timedate1.set-time", "org.freedesktop.timedate1.set-timezone" etc...).

Expected behaviour

One should be able to compile timeadmin on systems without systemd.

openrc-settingsd implements these knows services for OpenRC based systems.

https://gitlab.com/postmarketOS/openrc-settingsd/-

One could implement a check if openrc-settingsd is found on the system to enable it.

Steps to reproduce the behavior

Not relevant.

MATE general version

1.29

Package version

1.29

Linux Distribution

PostmarketOS, Gentoo (with OpenRC).

Link to bugreport of your Distribution (requirement)