Some methods and signals belonging to mce D-Bus interface are
not declared in mce-dev package. And what is declared is not
grouped in a manner that would make the context of constants
clear.
Add missing method/signal/argument constants.
Group constants by context.
Add references from methods/signals to relevant argument
constants.
Do not refer to glib types when explaining a D-Bus interfaces.
Where needed update the explanatory comments.
Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
Doxygen is rather verbose and scanning .git subdirectory produces a
lot of noise.
Limit scanning only to to subdirectories that have data for doxygen.
Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
Things are grouped by association within source files. Sorting by
name effectively breaks the grouping in the resulting documentation.
Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
Doxygen is noisy and can't be asked to be less verbose, but
hiding all output from it to a log file hides any real issues
it is facing.
Redirect only stdout which is where doxygen writes progress
noise, let warnings and such output to stderr stay visible.
Also follow makefile conventions by adding standard make
targets and using DESTDIR macro only in install rule.
Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
Add names of D-Bus method calls and signals related to querying and
tracking of battery/charging related information.
Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
The mce-dev version information is recorded in several files. To keep
these in sync, there is a script that will cause rpm builds to fail unless
all of the places have the same version.
While this is good for making sure releases do not end up using out of
sync version numbers, it also makes it impossible to do builds in OBS
without creating explicit version tag.
The same way as mce itself already does, relax the version checking for
spec file so that versions constructed from matching version + extra git
hash identification are also accepted.
The Makefile explicitly assigns file ownership to root. There is a rpm
build time patch to change this while it should not be needed even for
the debian builds.
Apply the patch to code tree and remove the patch file.
[packaging] Remove rpm build time patch for file ownership
New method calls:
* get_display_blanking_pause
* get_display_blanking_inhibit
New signals:
* display_blanking_pause_ind
* display_blanking_inhibit_ind
[mce] Add D-Bus constants for exposing blanking pause and inhibit states. Contributes to JB#28929
Allows resetting mce settings back to defaults without needing to
know what the defaults are and/or stopping mce service.
[mce] Add dbus method for requesting settings reset. Contributes to JB#24286
Allows ui components to have an option to blank via low power mode
instead of just powering off the display.
[mce] Add dbus method for requesting display low power mode. Contributes to JB#20906