Skip to content
Permalink
Browse files
[sysinfo] Include the interesting bits of QSystemInfo to avoid depend…
…ing on the whole graphics stack
  • Loading branch information
bwachter committed Apr 20, 2013
1 parent aa0adee commit ed61394b001bfdee35bc204deab201741396b826
@@ -15,6 +15,9 @@
# - file.exists -- checks for existince of a file in the filesystem
# - systeminfo.equals -- compares the model returned by QSystemInfo
# with the value provided
# NOTE: systeminfo matching is currently disabled, as this would
# pull in the whole X11 stack, and on Mer/Nemo does cpuinfo
# matching only anyway, which ssu can do better already.
# - cpuinfo.contains -- searches /proc/cpuinfo for a string
# - arch.equals -- compares with zyppers arch (like i586)
#
@@ -13,7 +13,10 @@ public_headers = \
HEADERS = \
$${public_headers} \
sandbox_p.h \
ssucoreconfig.h
ssucoreconfig.h \
mobility-booty/qofonoservice_linux_p.h \
mobility-booty/qsysteminfo_linux_common_p.h \
mobility-booty/qsysteminfo_dbus_p.h

SOURCES = \
sandbox.cpp \
@@ -23,11 +26,14 @@ SOURCES = \
ssulog.cpp \
ssuvariables.cpp \
ssurepomanager.cpp \
ssusettings.cpp
ssusettings.cpp \
mobility-booty/qofonoservice_linux.cpp \
mobility-booty/qsysteminfo_linux_common.cpp \

CONFIG += mobility link_pkgconfig
QT += network xml
MOBILITY += systeminfo
#CONFIG += mobility link_pkgconfig
CONFIG += link_pkgconfig
QT += network xml dbus
#MOBILITY += systeminfo
PKGCONFIG += libsystemd-journal

install_headers.files = $${public_headers}
@@ -0,0 +1,2 @@
This directory contains the handful of bits used from QtSystemInfo, to avoid
pulling in the whole X11 stack.

0 comments on commit ed61394

Please sign in to comment.