Add support for mce-plugin-libhybris

The mce-hybris module provides interface that can use Android
libhardware functionality via libhybris if mce-plugin-libhybris
package is installed on the device.

[mce] Added support for mce-plugin-libhybris
Add support for display brightness control via libhybris

If mce-plugin-libhybris is installed and able to control
display brightness, it will be used instead of direct sysfs
writes.

[display.so] Supports display brightness control via libhybris
Add RPM control files to mce source tree

Copied mce.spec and mce.changes from OBS.

The changes file is for reference purposes only and should
not be edited manually anymore.

[packaging] mce.spec and mce.changes included in mce source tree
Fix multitouch evdev input probing

Multitouch devices that do not support single touch protocol
were detected as "user input only" sources. Fixing this allows
mce to ignore touch events when appropriate.

[mce] Detect also multitouch only devices as touchsreens
Allow overriding default builtin-gconf values via config files

MCE reads files pattern "/etc/mce/[0-9][0-9]<feature>.conf" and uses
the content to modify defaults of builtin-gconf values.

The processing is done in alphabetical order. If several files modify
the same key, the value from the latest one will be used.

The /var/lib/mce/builtin-gconf.values will hold delta to the situation
after processing the config files in /etc/mce directory.

[mce] Allow changing config defaults via installing files to /etc/mce
Example configuration files to modify default autosuspend policy

10.autosuspend_early.conf - allow early suspend, but not late suspend
20.autosuspend_disabled.conf - disable whole autosuspend policy
Do not use optional ABS_MT_TOUCH_MAJOR for multitouch detection

ABS_MT_TOUCH_MAJOR is not a mandatory feature for the multi-touch protocol,
and may be missing in some implementations.
Merge pull request #44 from spiiroin/use-mce-plugin-libhybris

Add support for mce-plugin-libhybris
Merge pull request #45 from spiiroin/display-brightness-via-libhybris

Add support for display brightness control via libhybris
Merge pull request #46 from spiiroin/rpm_packaging

Add RPM control files to mce source tree
Merge pull request #47 from spiiroin/multitouch_probe

Fix multitouch evdev input probing
Merge pull request #48 from spiiroin/override_config

Allow overriding default builtin-gconf values via config files
Use mce-plugin-libhybris for proximity sensor input

If mce-plugin-libhybris is installed and support for proximity
sensor is available, the mce proximity plugin will utilize it.

[mce] Support proximity sensor via mce-plugin-libhybris
Use mce-plugin-libhybris for ambient light sensor input

If mce-plugin-libhybris is installed and support for ambient light sensor
is available, the mce filter-brightness-als plugin will utilize it.

[mce] Support ambient light sensor via mce-plugin-libhybris
Do not resolve mce-plugin-libhybris symbols from mce binary

The mce-plugin-libhybris DSO and mce executable have common
dynamic symbol names by design, but references from the plugin
side must not be resolved to mce side functions.
Do not count ALS and PS input event sources as user activity

Since mce does not have functionality for directly handling
evdev based ALS / PS events, they must be excluded from
user activity tracking list. Otherwise enabling the sensors
via libhybris might cause a situation where inactivity timeouts
never trigger due to sensor noise.
Updated header file dependecies
Fix %setup in mce.spec

Use %{name}-%{version}

[packaging] Fix %setup in mce.spec
Merge pull request #49 from spiiroin/sensors_via_libhybris

Use proximity and ambient light sensors via libhybris