rename debian packages

pull/135/head
Michael Zanetti 2018-02-15 13:29:23 +01:00
parent f2bfe7b3d4
commit 8daa442620
32 changed files with 123 additions and 108 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
nymea (0.9.0) UNRELEASED; urgency=medium
* Rename to nymea
-- Michael Zanetti <michael.zanetti@guh.io> Tue, 06 Mar 2018 19:57:48 +0100
guh (0.8.3) xenial; urgency=medium
* Add debug server

82
debian/control vendored
View File

@ -1,9 +1,9 @@
Source: guh
Source: nymea
Section: utils
Priority: optional
Maintainer: Simon Stuerz <simon.stuerz@guh.io>
Standards-Version: 3.9.7
Homepage: https://guh.io
Homepage: https://nymea.io
Vcs-Git: https://github.com/guh/guh.git
Build-Depends: debhelper (>= 9.0.0),
dpkg-dev (>= 1.16.1~),
@ -26,15 +26,16 @@ Build-Depends: debhelper (>= 9.0.0),
libaws-iot-device-sdk-cpp,
dbus-test-runner,
Package: guh
Package: nymea
Architecture: any
Section: metapackages
Multi-Arch: same
Depends: guhd (= ${binary:Version}),
Depends: nymead (= ${binary:Version}),
${misc:Depends}
Suggests: guh-doc
Suggests: nymea-doc
Replaces: guh
Description: An open source IoT server - meta package
The guh daemon is a plugin based IoT (Internet of Things) server. The
The nymea daemon is a plugin based IoT (Internet of Things) server. The
server works like a translator for devices, things and services and
allows them to interact.
With the powerful rule engine you are able to connect any device available
@ -43,7 +44,7 @@ Description: An open source IoT server - meta package
This package will install the server and the default plugins.
Package: guhd
Package: nymead
Architecture: any
Section: net
Multi-Arch: same
@ -58,15 +59,16 @@ Depends: libqt5network5,
logrotate,
avahi-daemon,
bluez,
guh-translations,
libguh1 (= ${binary:Version}),
nymea-translations,
libnymea1 (= ${binary:Version}),
${shlibs:Depends},
${misc:Depends}
Recommends: guh-webinterface,
guh-cli,
Recommends: nymea-webinterface,
nymea-cli,
network-manager
Replaces: guhd
Description: An open source IoT server - daemon
The guh daemon is a plugin based IoT (Internet of Things) server. The
The nymea daemon is a plugin based IoT (Internet of Things) server. The
server works like a translator for devices, things and services and
allows them to interact.
With the powerful rule engine you are able to connect any device available
@ -74,63 +76,67 @@ Description: An open source IoT server - daemon
.
This package will install the daemon.
Package: guh-dbg
Package: nymea-dbg
Priority: extra
Architecture: any
Section: debug
Multi-Arch: same
Depends: guh (= ${binary:Version}),
Depends: nymea (= ${binary:Version}),
${misc:Depends}
Replaces: guh-dbg
Description: An open source IoT server - debug symbols
The guh daemon is a plugin based IoT (Internet of Things) server. The
The nymea daemon is a plugin based IoT (Internet of Things) server. The
server works like a translator for devices, things and services and
allows them to interact.
With the powerful rule engine you are able to connect any device available
in the system and create individual scenes and behaviors for your environment.
.
This package provides all debug symbols for guh.
This package provides all debug symbols for nymea.
Package: guh-doc
Package: nymea-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}
Recommends: guh
Recommends: nymea
Replaces: guh-doc
Build-Profiles: <!nodoc>
Description: Documentation for the guh package (on-site) - documentation
The guh daemon is a plugin based IoT (Internet of Things) server. The
Description: Documentation for the nymea package (on-site) - documentation
The nymea daemon is a plugin based IoT (Internet of Things) server. The
server works like a translator for devices, things and services and
allows them to interact.
With the powerful rule engine you are able to connect any device available
in the system and create individual scenes and behaviors for your environment.
.
This package contains documentation for developing guh.
This package contains documentation for developing nymea.
Package: guh-translations
Package: nymea-translations
Section: misc
Architecture: all
Depends: ${misc:Depends}
Recommends: guh
Description: Translation files for guhd and plugins - translations
The guh daemon is a plugin based IoT (Internet of Things) server. The
Recommends: nymea
Replaces: guh-translations
Description: Translation files for nymead and plugins - translations
The nymea daemon is a plugin based IoT (Internet of Things) server. The
server works like a translator for devices, things and services and
allows them to interact.
With the powerful rule engine you are able to connect any device available
in the system and create individual scenes and behaviors for your environment.
.
This package provides the translation files for guhd and for the plugins.
This package provides the translation files for nymead and for the plugins.
Package: guh-tests
Package: nymea-tests
Section: misc
Architecture: any
Multi-Arch: same
Depends: guh (= ${binary:Version}),
Depends: nymea (= ${binary:Version}),
${shlibs:Depends},
${misc:Depends}
Description: Tests and mock plugin for the guh daemon - tests
The guh daemon is a plugin based IoT (Internet of Things) server. The
Replaces: guh-tests
Description: Tests and mock plugin for the nymea daemon - tests
The nymea daemon is a plugin based IoT (Internet of Things) server. The
server works like a translator for devices, things and services and
allows them to interact.
With the powerful rule engine you are able to connect any device available
@ -139,7 +145,7 @@ Description: Tests and mock plugin for the guh daemon - tests
This package will install the mock-plugin and the corresponding tests.
Package: libguh1
Package: libnymea1
Section: libs
Architecture: any
Multi-Arch: same
@ -148,21 +154,22 @@ Depends: ${shlibs:Depends},
libqt5bluetooth5,
libavahi-client3,
libavahi-common3
Replaces: libguh1
Description: An open source IoT server - core library
The guh daemon is a plugin based IoT (Internet of Things) server. The
The nymea daemon is a plugin based IoT (Internet of Things) server. The
server works like a translator for devices, things and services and
allows them to interact.
With the powerful rule engine you are able to connect any device available
in the system and create individual scenes and behaviors for your environment.
.
This package will install shared libraries for guh.
This package will install shared libraries for nymea.
Package: libguh1-dev
Package: libnymea1-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libguh1 (= ${binary:Version}),
Depends: libnymea1 (= ${binary:Version}),
${shlibs:Depends},
${misc:Depends},
python:any,
@ -172,11 +179,12 @@ Depends: libguh1 (= ${binary:Version}),
libqt5websockets5-dev,
libavahi-client-dev,
libavahi-common-dev
Replaces: libguh1-dev
Description: An open source IoT server - development files
The guh daemon is a plugin based IoT (Internet of Things) server. The
The nymea daemon is a plugin based IoT (Internet of Things) server. The
server works like a translator for devices, things and services and
allows them to interact.
With the powerful rule engine you are able to connect any device available
in the system and create individual scenes and behaviors for your environment.
.
This package will install the development files and compilers for guh.
This package will install the development files and compilers for nymea.

6
debian/copyright vendored
View File

@ -1,5 +1,5 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: guhio
Upstream-Name: nymea
Upstream-Contact: Simon Stürz <simon.stuerz@guh.io>
Copyright: 2014-2018, guh GmbH
Download: http://www.github.com/guh/guh
@ -44,12 +44,12 @@ License: GPL-2+
Copyright: 2014-2017, Simon Stürz <simon.stuerz@guh.io>
2014-2017, Michael Zanetti <michael_zanetti@gmx.net>
Files: libguh/*
Files: libnymea/*
License: LGPL-2.1
Copyright: 2014-2017, Simon Stürz <simon.stuerz@guh.io>
2014-2017, Michael Zanetti <michael_zanetti@gmx.net>
Files: libguh/coap/*
Files: libnymea/coap/*
License: LGPL-3
Copyright: 2016-2017, Simon Stürz <simon.stuerz@guh.io>

View File

@ -1 +0,0 @@
doc/html usr/share/doc/guh

View File

@ -1 +0,0 @@
usr/lib/@DEB_HOST_MULTIARCH@/guh/tests

View File

@ -1,2 +0,0 @@
usr/tests/* usr/lib/@DEB_HOST_MULTIARCH@/guh/tests
usr/lib/@DEB_HOST_MULTIARCH@/guh/plugins/libguh_devicepluginmock.so

View File

@ -1 +0,0 @@
usr/share/guh/translations

View File

@ -1,3 +0,0 @@
translations/*.qm usr/share/guh/translations
plugins/mock/translations/*.qm usr/share/guh/translations

2
debian/guhd.dirs vendored
View File

@ -1,2 +0,0 @@
usr/bin
etc/guh/

View File

@ -1,8 +0,0 @@
usr/bin/guhd
usr/lib/@DEB_HOST_MULTIARCH@/libguh-core.so
usr/lib/@DEB_HOST_MULTIARCH@/libguh-core.so.1
usr/lib/@DEB_HOST_MULTIARCH@/libguh-core.so.1.0
usr/lib/@DEB_HOST_MULTIARCH@/libguh-core.so.1.0.0
data/systemd/guhd.service /lib/systemd/system/
data/logrotate/guhd /etc/logrotate.d/
data/dbus-1/io.guh.nymead.conf /etc/dbus-1/system.d/

View File

@ -1 +0,0 @@
debian/man/guhd.1

View File

@ -1,4 +0,0 @@
usr/lib/@DEB_HOST_MULTIARCH@/libguh.so
usr/include/guh/* usr/include/guh
usr/bin/guh-generateplugininfo usr/bin

View File

@ -1 +0,0 @@
debian/man/guh-generateplugininfo.1

View File

@ -1,3 +0,0 @@
usr/lib/@DEB_HOST_MULTIARCH@/libguh.so.1
usr/lib/@DEB_HOST_MULTIARCH@/libguh.so.1.0
usr/lib/@DEB_HOST_MULTIARCH@/libguh.so.1.0.0

View File

@ -1,2 +1,2 @@
usr/lib/@DEB_HOST_MULTIARCH@
usr/include/guh
usr/include/nymea

4
debian/libnymea1-dev.install.in vendored Normal file
View File

@ -0,0 +1,4 @@
usr/lib/@DEB_HOST_MULTIARCH@/libnymea.so
usr/include/nymea/* usr/include/nymea
usr/bin/nymea-generateplugininfo usr/bin

1
debian/libnymea1-dev.manpages vendored Normal file
View File

@ -0,0 +1 @@
debian/man/nymea-generateplugininfo.1

3
debian/libnymea1.install.in vendored Normal file
View File

@ -0,0 +1,3 @@
usr/lib/@DEB_HOST_MULTIARCH@/libnymea.so.1
usr/lib/@DEB_HOST_MULTIARCH@/libnymea.so.1.0
usr/lib/@DEB_HOST_MULTIARCH@/libnymea.so.1.0.0

View File

@ -1,13 +1,13 @@
.\" Manpage for guh-generateplugininfo.
.\" Manpage for nymea-generateplugininfo.
.\" Contact simon.stuerz@guh.io to correct errors or typos.
.TH man 1 "March 2017" "1.0.1" "guh-generateplugininfo man page"
.TH man 1 "March 2017" "1.0.1" "nymea-generateplugininfo man page"
.SH NAME
guh-generateplugininfo \- A precompiler for building guh plugins.
nymea-generateplugininfo \- A precompiler for building nymea plugins.
.SH SYNOPSIS
.B guh-generateplugininfo
.B nymea-generateplugininfo
[\fIOPTION\fR]
.SH DESCRIPTION
The guh-generateplugininfo is a precompiler for building plugins. This
The nymea-generateplugininfo is a precompiler for building plugins. This
precompiler will create a plugininfo.h containing the uuid definitions from
the plugin json file and creates the translations for the plugin.
.SH OPTIONS

View File

@ -1,13 +1,13 @@
.\" Manpage for guhd.
.\" Manpage for nymead.
.\" Contact simon.stuerz@guh.io to correct errors or typos.
.TH man 1 "February 2018" "1.9" "guhd man page"
.TH man 1 "February 2018" "1.9" "nymead man page"
.SH NAME
guhd \- An open source IoT (Internet of Things) server
nymead \- An open source IoT (Internet of Things) server
.SH SYNOPSIS
.B guhd
.B nymead
[\fIOPTION\fR]
.SH DESCRIPTION
The guh (/[guːh]/) daemon is a plugin based IoT (Internet of Things) server. The
The nymea (/[guːh]/) daemon is a plugin based IoT (Internet of Things) server. The
server works like a translator for devices, things and services and
allows them to interact. With the powerful rule engine you are able to connect any device available
in the system and create individual scenes and behaviors for your environment.
@ -20,7 +20,7 @@ Displays this help.
Displays version information.
.TP
\fB\-n\fR, \fB\-\-no\-daemon\fR
Run guhd in the foreground, not as daemon.
Run nymead in the foreground, not as daemon.
.TP
\fB\-p\fR, \fB\-\-print\-all\fR
Enables all debug categories. Single debug categories can be disabled again
@ -52,15 +52,15 @@ Print the debug messages from the avahi resource.
.IP \fIBluetooth\fR\ (default\ disabled)
Print the debug messages from the bluetooth resource.
.IP \fICloud\fR\ (default\ enabled)
Print the debug messages from the Cloud connections in guh.
Print the debug messages from the Cloud connections in nymea.
.IP \fICoap\fR\ (default\ disabled)
Print the debug messages from the COaP resource.
.IP \fIConnection\fR\ (default\ enabled)
Print the debug messages from the TCP connections in guh.
Print the debug messages from the TCP connections in nymea.
.IP \fIDeviceManager\fR\ (default\ enabled)
Print the debug messages from the device manager.
.IP \fIHardware\fR\ (default\ disabled)
Print the debug messages from hardware resources in guh.
Print the debug messages from hardware resources in nymea.
.IP \fIJanus\fR\ (default\ disabled)
Print the debug messages from the janus connection.
.IP \fIJanusTraffic\fR\ (default\ disabled)
@ -101,38 +101,38 @@ Print the debug messages from the websocket server.
Print the debug messages from the websocket server traffic.
.TP
\fBDebug\ categories\ for\ plugins:\fR
Since guh loads the plugins dynamically, the list of supported
Since nymea loads the plugins dynamically, the list of supported
plugin debug categories depends on your plugin installation. Please use
the \fB-h\fR command to see which categories are available for your system.
.SH EXAMPLES
.TP
To start guhd in the foreground and read the debug messages from the Hardware:
To start nymead in the foreground and read the debug messages from the Hardware:
.IP
$ guhd -n -d Hardware
$ nymead -n -d Hardware
.TP
To start guhd in the foreground, disable debug messages from the DeviceManager and enable debug messages for JsonRpc and LogEngine:
To start nymead in the foreground, disable debug messages from the DeviceManager and enable debug messages for JsonRpc and LogEngine:
.IP
$ guhd -n -d NoDeviceManager -d JsonRpc -d LogEngine
$ nymead -n -d NoDeviceManager -d JsonRpc -d LogEngine
.TP
To start guhd in the foreground, enable all debug messages except WebSocketServerTraffic and TcpServerTraffic:
To start nymead in the foreground, enable all debug messages except WebSocketServerTraffic and TcpServerTraffic:
.IP
$ guhd -n -p -d NoWebSocketServerTraffic -d NoTcpServerTraffic
$ nymead -n -p -d NoWebSocketServerTraffic -d NoTcpServerTraffic
.SH FILES
The server config file: \fI/etc/guh/guhd.conf\fR
The server config file: \fI/etc/nymea/nymead.conf\fR
.br
The devices config file: \fI/etc/guh/devices.conf\fR
The devices config file: \fI/etc/nymea/devices.conf\fR
.br
The rules config file: \fI/etc/guh/rules.conf\fR
The rules config file: \fI/etc/nymea/rules.conf\fR
.br
The plugins config file: \fI/etc/guh/plugins.conf\fR
The plugins config file: \fI/etc/nymea/plugins.conf\fR
.br
The log file: \fI/var/log/guhd.log\fR
The log file: \fI/var/log/nymead.log\fR
.br
The logging database: \fI/var/log/guhd.sqlite\fR
The logging database: \fI/var/log/nymead.sqlite\fR
.br
The systemd unit file: \fI/lib/systemd/system/guhd.service\fR
The systemd unit file: \fI/lib/systemd/system/nymead.service\fR
.br
The plugins directory: \fI/usr/lib/<arch-triplet>/guh/plugins/\fR
The plugins directory: \fI/usr/lib/<arch-triplet>/nymea/plugins/\fR
.SH SEE ALSO
Full developer documentation at: <https://developers.guh.io>
.br

1
debian/nymea-doc.dirs vendored Normal file
View File

@ -0,0 +1 @@
usr/share/doc/nymea

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

@ -0,0 +1 @@
doc/html usr/share/doc/nymea

1
debian/nymea-tests.dirs.in vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/@DEB_HOST_MULTIARCH@/nymea/tests

2
debian/nymea-tests.install.in vendored Normal file
View File

@ -0,0 +1,2 @@
usr/tests/* usr/lib/@DEB_HOST_MULTIARCH@/nymea/tests
usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_devicepluginmock.so

1
debian/nymea-translations.dirs vendored Normal file
View File

@ -0,0 +1 @@
usr/share/nymea/translations

3
debian/nymea-translations.install vendored Normal file
View File

@ -0,0 +1,3 @@
translations/*.qm usr/share/nymea/translations
plugins/mock/translations/*.qm usr/share/nymea/translations

2
debian/nymead.dirs vendored Normal file
View File

@ -0,0 +1,2 @@
usr/bin
etc/nymea/

8
debian/nymead.install.in vendored Normal file
View File

@ -0,0 +1,8 @@
usr/bin/nymead
usr/lib/@DEB_HOST_MULTIARCH@/libnymea-core.so
usr/lib/@DEB_HOST_MULTIARCH@/libnymea-core.so.1
usr/lib/@DEB_HOST_MULTIARCH@/libnymea-core.so.1.0
usr/lib/@DEB_HOST_MULTIARCH@/libnymea-core.so.1.0.0
data/systemd/nymead.service /lib/systemd/system/
data/logrotate/nymead /etc/logrotate.d/
data/dbus-1/io.guh.nymead.conf /etc/dbus-1/system.d/

1
debian/nymead.manpages vendored Normal file
View File

@ -0,0 +1 @@
debian/man/nymead.1

View File

@ -4,31 +4,31 @@
# #
# Copyright (C) 2015-2016 Simon Stuerz <simon.stuerz@guh.guru> #
# #
# This file is part of guh. #
# This file is part of nymea. #
# #
# guh is free software: you can redistribute it and/or modify #
# nymea is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, version 2 of the License. #
# #
# guh is distributed in the hope that it will be useful, #
# nymea is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with guh. If not, see <http://www.gnu.org/licenses/>. #
# along with nymea. If not, see <http://www.gnu.org/licenses/>. #
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Restart the guh daemon after update if it's running
# Restart the nymea daemon after update if it's running
systemctl daemon-reload
systemctl status guhd > /dev/null 2>&1
systemctl status nymead > /dev/null 2>&1
if [ $? -eq 0 ]; then
systemctl restart guhd
systemctl restart nymead
if [ $? -eq 0 ]; then
echo "Successfully restarted guh daemon."
echo "Successfully restarted nymea daemon."
else
echo "FAILED to restart guh daemon."
echo "FAILED to restart nymea daemon."
fi
fi

4
debian/rules vendored
View File

@ -40,13 +40,13 @@ override_dh_auto_build:
override_dh_install: $(PREPROCESS_FILES:.in=)
dh_install --fail-missing
# installing the documentation as there is no extra install target
cp -a $(CURDIR)/doc/html $(CURDIR)/debian/guh-doc/usr/share/doc/guh/ || true
cp -a $(CURDIR)/doc/html $(CURDIR)/debian/nymea-doc/usr/share/doc/nymea/ || true
override_dh_auto_test:
dh_auto_test -- -k TESTARGS="-m 120 -p -o -p -,txt -p -o -p test-results.xml,xunitxml" TESTRUNNER="dbus-test-runner --bus-type=system --task"
override_dh_strip:
dh_strip --dbg-package=guh-dbg
dh_strip --dbg-package=nymea-dbg
override_dh_auto_clean:
dh_auto_clean