Skip to content

Commit

Permalink
[sensorfw] Restore mce configuration.
Browse files Browse the repository at this point in the history
Listening to mce provides handling of some situations when the display is
off, although sensord still does not appear to completely go to sleep.
  • Loading branch information
rburchell committed Oct 4, 2013
1 parent 12cdf23 commit b6ad616
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 4 additions & 1 deletion rpm/sensorfw-qt5.spec
Expand Up @@ -19,6 +19,7 @@ Source1: sensorfw-rpmlintrc
Source2: sensord.service
Source3: sensord-daemon-conf-setup
Source100: sensorfw-qt5.yaml
Requires: mce
Requires: qt5-qtcore
Requires: GConf-dbus
Requires: %{name}-configs
Expand All @@ -33,6 +34,7 @@ BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(mce)
Provides: sensord-qt5
Obsoletes: sensorframework

Expand Down Expand Up @@ -97,7 +99,8 @@ export LD_RUN_PATH=/usr/lib/sensord/
export QT_SELECT=5
# << build pre

%qmake5
%qmake5 \
CONFIG+=mce

make %{?_smp_mflags}

Expand Down
9 changes: 5 additions & 4 deletions rpm/sensorfw-qt5.yaml
Expand Up @@ -13,6 +13,7 @@ Sources:
- "sensord.service"
- "sensord-daemon-conf-setup"
Requires:
- mce
- qt5-qtcore
- GConf-dbus
- "%{name}-configs"
Expand All @@ -23,9 +24,8 @@ PkgConfigBR:
- Qt5Network
- Qt5Test
- gconf-2.0
#PkgBR:
# - doxygen
# - graphviz
- mce

Obsoletes:
- sensorframework

Expand All @@ -36,7 +36,8 @@ Configure: none
Builder: qmake5
UseAsNeeded: no

#QMakeOptions:
QMakeOptions:
- "CONFIG+=mce"

SubPackages:
- Name: devel
Expand Down

0 comments on commit b6ad616

Please sign in to comment.