Add systemd support into the clock KCM as an optional dependency
The current time setting helper is incredibly broken. It manually tries to run a range of NTP utilities, all of which are deprecated. We can just call timedated directly and cut out the middleman as it has uses polkit anyway. This is currently an optional dependency, and the original helper still exists. It makes the code messy, but we have users to support for now. Detection is done at runtime BUG: 196316 BUG: 311286 BUG: 317784 BUG: 319072 BUG: 337012 BUG: 339582 BUG: 241817 BUG: 178968 BUG: 320456 BUG: 317999 FEATURE: 337659 REVIEW: 122400
Showing
- kcms/dateandtime/CMakeLists.txt 5 additions, 1 deletionkcms/dateandtime/CMakeLists.txt
- kcms/dateandtime/dateandtime.ui 22 additions, 12 deletionskcms/dateandtime/dateandtime.ui
- kcms/dateandtime/dtime.cpp 44 additions, 30 deletionskcms/dateandtime/dtime.cpp
- kcms/dateandtime/dtime.h 2 additions, 1 deletionkcms/dateandtime/dtime.h
- kcms/dateandtime/main.cpp 80 additions, 7 deletionskcms/dateandtime/main.cpp
- kcms/dateandtime/main.h 5 additions, 1 deletionkcms/dateandtime/main.h
- kcms/dateandtime/timedated1.xml 43 additions, 0 deletionskcms/dateandtime/timedated1.xml
Loading
Please register or sign in to comment