From 03565b5e71cf27af0584d86bfe65827ff15c564e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Tue, 21 Jun 2016 10:36:10 +0200 Subject: [PATCH] fix jessie builds --- debian/control | 2 ++ debian/guhd.1 | 4 +++- server/cloud/cloudconnection.cpp | 2 +- server/cloud/cloudmanager.cpp | 3 +-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index 96e46a4f..314c0276 100644 --- a/debian/control +++ b/debian/control @@ -105,6 +105,8 @@ Depends: libguh1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, python, + qtconnectivity5-dev, + libqt5websockets5-dev, libavahi-client-dev, libavahi-common-dev Description: An open source IoT server - development files diff --git a/debian/guhd.1 b/debian/guhd.1 index 25b9452b..b849612d 100644 --- a/debian/guhd.1 +++ b/debian/guhd.1 @@ -1,6 +1,6 @@ .\" Manpage for guhd. .\" Contact simon.stuerz@guh.guru to correct errors or typos. -.TH man 1 "May 2016" "1.5" "guhd man page" +.TH man 1 "June 2016" "1.6" "guhd man page" .SH NAME guhd \- An open source IoT (Internet of Things) server .SH SYNOPSIS @@ -90,6 +90,8 @@ The plugins config file: \fI/etc/guh/plugins.conf\fR .br The log file: \fI/var/log/guhd.log\fR .br +The logrotate config file: \fI/etc/logrotate.d/guhd\fR +.br The logging database: \fI/var/log/guhd.sqlite\fR .br The systemd unit file: \fI/etc/systemd/system/guhd.service\fR diff --git a/server/cloud/cloudconnection.cpp b/server/cloud/cloudconnection.cpp index 6d5ce38c..b872385a 100644 --- a/server/cloud/cloudconnection.cpp +++ b/server/cloud/cloudconnection.cpp @@ -143,7 +143,7 @@ void CloudConnection::onTextMessageReceived(const QString &message) QJsonParseError error; QJsonDocument jsonDoc = QJsonDocument::fromJson(message.toUtf8(), &error); if (error.error != QJsonParseError::NoError) { - qCWarning(dcCloud()) << "Could not parse json data from guh" << qUtf8Printable(message.toUtf8()) << error.errorString(); + qCWarning(dcCloud()) << "Could not parse json data from guh" << message.toUtf8() << error.errorString(); return; } diff --git a/server/cloud/cloudmanager.cpp b/server/cloud/cloudmanager.cpp index 11db2004..ad95effa 100644 --- a/server/cloud/cloudmanager.cpp +++ b/server/cloud/cloudmanager.cpp @@ -111,8 +111,7 @@ void CloudManager::onConnectionAuthentificationFinished(const bool &authenticate if (authenticated) { m_authenticated = true; m_connectionId = connectionId; - qCDebug(dcCloud()) << "Connection ID:" << connectionId.toString(); - emit authenticatedChanged(); + qCDebug(dcCloud()) << "Connection id:" << connectionId.toString(); // Get tunnel connections m_interface->getTunnels();