add debian packaging

more-debug
Michael Zanetti 2018-08-13 22:52:52 +02:00 committed by Simon Stürz
parent 935f6d1fa4
commit d28906faf0
15 changed files with 73 additions and 4 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
nymea-remoteproxy (0.0.1) xenial; urgency=medium
* Initial release.
-- Michael Zanetti <michael.zanetti@guh.io> Thu, 13 Aug 2018 21:33:51 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

35
debian/control vendored Normal file
View File

@ -0,0 +1,35 @@
Source: nymea-remoteproxy
Section: utils
Priority: options
Maintainer: Michael Zanetti <michael.zanetti@guh.io>
Build-depends: debhelper (>= 0.0.0),
libqt5websockets5-dev,
Standards-Version: 3.9.3
Package: nymea-remoteproxy
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
Description: The nymea remote proxy server
The nymea remote proxy server
Package: libnymea-remoteproxy
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
Description: The nymea remote proxy server
The nymea remote proxy server
Package: libnymea-remoteproxyclient
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
Description: The nymea remote proxy server
The nymea remote proxy server
Package: nymea-remoteproxy-tests
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
Description: The nymea remote proxy server tests
The nymea remote proxy server tests

1
debian/libnymea-remoteproxy.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/libnymea-remoteproxy.so*

View File

@ -0,0 +1 @@
usr/lib/libnymea-remoteproxyclient.so*

View File

@ -0,0 +1 @@
usr/bin/nymea-remoteproxy-tests

1
debian/nymea-remoteproxy.install vendored Normal file
View File

@ -0,0 +1 @@
usr/bin/nymea-remoteproxy

17
debian/rules vendored Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%:
dh $@
#override_dh_auto_build:
# JANUSP=/usr make -j1
#override_dh_auto_install:
# install build/janus_guhio.so debian/janus-guh-plugin/lib/$(DEB_HOST_MULTIARCH)/janus/plugins/
# install -m 0644 conf/janus.plugin.guhio.cfg debian/janus-guh-plugin/etc/janus/
override_dh_auto_check:
LD_LIBRARY_PATH=libnymea-remoteproxy dh_auto_check

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)

View File

@ -55,3 +55,6 @@ for(header, HEADERS) {
eval(headers_$${path}.path = $${path}) eval(headers_$${path}.path = $${path})
eval(INSTALLS *= headers_$${path}) eval(INSTALLS *= headers_$${path})
} }
target.path = /usr/lib/
INSTALLS += target

View File

@ -1,4 +1,4 @@
#include "jsonrpcclient.h" #include "jsonrpcclient2.h"
#include "proxyconnection.h" #include "proxyconnection.h"
#include <QJsonDocument> #include <QJsonDocument>

View File

@ -1,14 +1,14 @@
INCLUDEPATH += $${PWD} INCLUDEPATH += $${PWD}
HEADERS += \ HEADERS += \
$${PWD}/jsonrpcclient.h \ $${PWD}/jsonrpcclient2.h \
$${PWD}/jsonreply.h \ $${PWD}/jsonreply.h \
$${PWD}/remoteproxyconnection.h \ $${PWD}/remoteproxyconnection.h \
$${PWD}/proxyconnection.h \ $${PWD}/proxyconnection.h \
$${PWD}/websocketconnection.h $${PWD}/websocketconnection.h
SOURCES += \ SOURCES += \
$${PWD}/jsonrpcclient.cpp \ $${PWD}/jsonrpcclient2.cpp \
$${PWD}/jsonreply.cpp \ $${PWD}/jsonreply.cpp \
$${PWD}/remoteproxyconnection.cpp \ $${PWD}/remoteproxyconnection.cpp \
$${PWD}/proxyconnection.cpp \ $${PWD}/proxyconnection.cpp \

View File

@ -12,3 +12,6 @@ for(header, HEADERS) {
eval(headers_$${path}.path = $${path}) eval(headers_$${path}.path = $${path})
eval(INSTALLS *= headers_$${path}) eval(INSTALLS *= headers_$${path})
} }
target.path = /usr/lib/
INSTALLS += target

View File

@ -8,7 +8,7 @@
#include <QHostAddress> #include <QHostAddress>
#include <QLoggingCategory> #include <QLoggingCategory>
#include "jsonrpcclient.h" #include "jsonrpcclient2.h"
#include "proxyconnection.h" #include "proxyconnection.h"
Q_DECLARE_LOGGING_CATEGORY(dcRemoteProxyClientConnection) Q_DECLARE_LOGGING_CATEGORY(dcRemoteProxyClientConnection)