Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[sysinfo] Include the interesting bits of QSystemInfo to avoid depend…
…ing on the whole graphics stack
  • Loading branch information
Bernd Wachter committed Apr 20, 2013
1 parent aa0adee commit ed61394
Show file tree
Hide file tree
Showing 11 changed files with 913 additions and 10 deletions.
3 changes: 3 additions & 0 deletions board-mappings.ini
Expand Up @@ -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)
#
Expand Down
16 changes: 11 additions & 5 deletions libssu/libssu.pro
Expand Up @@ -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 \
Expand All @@ -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}
Expand Down
2 changes: 2 additions & 0 deletions libssu/mobility-booty/README
@@ -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.