Skip to content

Commit

Permalink
Merge pull request #13 from rburchell/master
Browse files Browse the repository at this point in the history
Restore CONFIG+=mce
  • Loading branch information
lpotter committed Oct 5, 2013
2 parents c0e202e + b6ad616 commit aa7b925
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion rpm/sensord.service
Expand Up @@ -6,7 +6,7 @@ Requires=dbus.socket
[Service]
Type=forking
ExecStartPre=/bin/sh /usr/bin/sensord-daemon-conf-setup
ExecStart=/usr/sbin/sensord -c=/etc/sensorfw/primaryuse.conf -d --log-target=8 --log-level=warning
ExecStart=/usr/sbin/sensord -c=/etc/sensorfw/primaryuse.conf -d --log-level=warning
ExecReload=/bin/kill -HUP $MAINPID

[Install]
Expand Down
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
2 changes: 0 additions & 2 deletions tests/testapp/main.cpp
Expand Up @@ -74,8 +74,6 @@ void printUsage()
qDebug() << " can also be notched up by sending SIGUSR1 to";
qDebug() << " the process. Valid values for N are: 'test',";
qDebug() << " 'debug', 'warning', 'critical'.\n";
qDebug() << " --log-target=N logging target mask (1=stdout, 2=stderr, 4=file, 8=syslog and combos e.g. 3=stdout|stderr\n";
qDebug() << " --log-file-path=P Log file path\n";
qDebug() << " -c=P, --config-file=P Load configuration from P. By default";
qDebug() << " /usr/share/sensorfw-tests/testapp.conf is used.\n";
qDebug() << " -m=N --model=N Start clients in single thread model or multithread mode. (1=single thread(default), 2=multithread)\n";
Expand Down

0 comments on commit aa7b925

Please sign in to comment.