fix some litian warnings/errors
This commit is contained in:
parent
12069d43c6
commit
f3928494ef
13
debian/control
vendored
13
debian/control
vendored
@ -4,7 +4,7 @@ Priority: optional
|
|||||||
Maintainer: Simon Stuerz <simon.stuerz@guh.guru>
|
Maintainer: Simon Stuerz <simon.stuerz@guh.guru>
|
||||||
Build-Depends: debhelper (>= 9.0.0),
|
Build-Depends: debhelper (>= 9.0.0),
|
||||||
dpkg-dev (>= 1.16.1~),
|
dpkg-dev (>= 1.16.1~),
|
||||||
hardening-wrapper,
|
dpkg-buildflags,
|
||||||
python,
|
python,
|
||||||
rsync,
|
rsync,
|
||||||
qt5-default,
|
qt5-default,
|
||||||
@ -16,12 +16,13 @@ Build-Depends: debhelper (>= 9.0.0),
|
|||||||
libqt5sql5-sqlite,
|
libqt5sql5-sqlite,
|
||||||
libavahi-client-dev,
|
libavahi-client-dev,
|
||||||
libavahi-common-dev
|
libavahi-common-dev
|
||||||
Standards-Version: 3.9.5
|
Standards-Version: 3.9.7
|
||||||
|
|
||||||
Package: guh
|
Package: guh
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Section: metapackages
|
Section: metapackages
|
||||||
Depends: guhd (= ${binary:Version}),
|
Depends: ${misc:Depends},
|
||||||
|
guhd (= ${binary:Version}),
|
||||||
guh-plugins (= ${binary:Version}),
|
guh-plugins (= ${binary:Version}),
|
||||||
Description: An open source IoT server - meta package
|
Description: An open source IoT server - meta package
|
||||||
guh is an open source IoT (Internet of Things) server,
|
guh is an open source IoT (Internet of Things) server,
|
||||||
@ -77,11 +78,11 @@ Description: Documentation for the guh package (on-site) - documentation
|
|||||||
the system and create individual scenes and behaviors for your home.
|
the system and create individual scenes and behaviors for your home.
|
||||||
|
|
||||||
Package: guh-translations
|
Package: guh-translations
|
||||||
Section: translations
|
Section: misc
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends}
|
Depends: ${misc:Depends}
|
||||||
Recommends: guh (= ${binary:Version})
|
Recommends: guh (= ${binary:Version})
|
||||||
Description: Translation files for guhd and plugins
|
Description: Translation files for guhd and plugins - translations
|
||||||
guh is an open source home automation server, which allows to control
|
guh is an open source home automation server, which allows to control
|
||||||
a lot of different devices from many different manufacturers. With the
|
a lot of different devices from many different manufacturers. With the
|
||||||
powerful rule engine you are able to connect any device available in
|
powerful rule engine you are able to connect any device available in
|
||||||
@ -93,7 +94,7 @@ Architecture: any
|
|||||||
Depends: guh (= ${binary:Version}),
|
Depends: guh (= ${binary:Version}),
|
||||||
${shlibs:Depends},
|
${shlibs:Depends},
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
Description: Translation files for guh - translations
|
Description: Tests and mock plugin for the guh daemon - tests
|
||||||
guh is an open source IoT (Internet of Things) server,
|
guh is an open source IoT (Internet of Things) server,
|
||||||
which allows to control a lot of different devices from many different
|
which allows to control a lot of different devices from many different
|
||||||
manufacturers. With the powerful rule engine you are able to connect any
|
manufacturers. With the powerful rule engine you are able to connect any
|
||||||
|
|||||||
4
debian/copyright
vendored
4
debian/copyright
vendored
@ -7,6 +7,10 @@ License: GPL-2+
|
|||||||
On Debian systems, the complete text of the GNU General
|
On Debian systems, the complete text of the GNU General
|
||||||
Public License can be found in `/usr/share/common-licenses/GPL-2'.
|
Public License can be found in `/usr/share/common-licenses/GPL-2'.
|
||||||
|
|
||||||
|
License: LGPL-2.1
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: (C) 2014 Michael Zanetti <michael_zanetti@gmx.net>
|
Copyright: (C) 2014 Michael Zanetti <michael_zanetti@gmx.net>
|
||||||
2014 Simon Stürz <stuerz.simon@gmail.com>
|
2014 Simon Stürz <stuerz.simon@gmail.com>
|
||||||
|
|||||||
52
debian/guh-generateplugininfo.1
vendored
Normal file
52
debian/guh-generateplugininfo.1
vendored
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
.\" Manpage for guh-generateplugininfo.
|
||||||
|
.\" Contact simon.stuerz@guh.io to correct errors or typos.
|
||||||
|
.TH man 1 "September 2016" "1.0" "guh-generateplugininfo man page"
|
||||||
|
.SH NAME
|
||||||
|
guh-generateplugininfo \- A precompiler for building guh plugins.
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B guh-generateplugininfo
|
||||||
|
[\fIOPTION\fR]
|
||||||
|
.SH DESCRIPTION
|
||||||
|
The guh-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
|
||||||
|
.TP
|
||||||
|
\fB\-h\fR, \fB\-\-help\fR
|
||||||
|
Displays this help.
|
||||||
|
.TP
|
||||||
|
\fB\-v\fR, \fB\-\-version\fR
|
||||||
|
Displays version information.
|
||||||
|
.TP
|
||||||
|
\fB\-j\fR, \fB\-\-jsonfile\fR, \fB\<jsonfile>\fR
|
||||||
|
The JSON input file name with the plugin description.
|
||||||
|
.TP
|
||||||
|
\fB\-b\fR, \fB\-\-builddir\fR, \fB\<build directory>\fR
|
||||||
|
The path to the build directory of the plugin where the plugininfo.h
|
||||||
|
file can be found..
|
||||||
|
.TP
|
||||||
|
\fB\-o\fR, \fB\-\-output\fR, \fB\<outputfile>\fR
|
||||||
|
The plugininfo.h outputFile with the uuid declarations.
|
||||||
|
.TP
|
||||||
|
\fB\-t\fR, \fB\-\-translations\fR, \fB[<*.ts>]\fR
|
||||||
|
The translation files for the plugin.
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
Full developer documentation at: <https://developers.guh.io>
|
||||||
|
.br
|
||||||
|
Wiki on github: <https://github.com/guh/guh/wiki>
|
||||||
|
.SH "REPORTING BUGS"
|
||||||
|
Issue tracker on github: <https://github.com/guh/guh/issues>
|
||||||
|
.br
|
||||||
|
How to report bugs: <https://github.com/guh/guh/wiki/Reporting-bugs>
|
||||||
|
.SH AUTHOR
|
||||||
|
Written by Simon Stürz
|
||||||
|
.SH COPYRIGHT
|
||||||
|
Copyright \(co 2014-2016 guh GmbH.
|
||||||
|
.br
|
||||||
|
|
||||||
|
License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.
|
||||||
|
.br
|
||||||
|
This is free software: you are free to change and redistribute it.
|
||||||
|
.br
|
||||||
|
There is NO WARRANTY, to the extent permitted by law.
|
||||||
10
debian/guhd.1
vendored
10
debian/guhd.1
vendored
@ -1,6 +1,6 @@
|
|||||||
.\" Manpage for guhd.
|
.\" Manpage for guhd.
|
||||||
.\" Contact simon.stuerz@guh.guru to correct errors or typos.
|
.\" Contact simon.stuerz@guh.io to correct errors or typos.
|
||||||
.TH man 1 "June 2016" "1.6" "guhd man page"
|
.TH man 1 "June 2016" "1.7" "guhd man page"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
guhd \- An open source IoT (Internet of Things) server
|
guhd \- An open source IoT (Internet of Things) server
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -13,7 +13,7 @@ manufacturers. With the powerful rule engine you are able to connect any
|
|||||||
device available in the system and create individual scenes and behaviors
|
device available in the system and create individual scenes and behaviors
|
||||||
for your environment.
|
for your environment.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fR, \fB\-\-help\fR
|
\fB\-h\fR, \fB\-\-help\fR
|
||||||
Displays this help.
|
Displays this help.
|
||||||
.TP
|
.TP
|
||||||
@ -94,11 +94,11 @@ The logrotate config file: \fI/etc/logrotate.d/guhd\fR
|
|||||||
.br
|
.br
|
||||||
The logging database: \fI/var/log/guhd.sqlite\fR
|
The logging database: \fI/var/log/guhd.sqlite\fR
|
||||||
.br
|
.br
|
||||||
The systemd unit file: \fI/etc/systemd/system/guhd.service\fR
|
The systemd unit file: \fI/lib/systemd/system/guhd.service\fR
|
||||||
.br
|
.br
|
||||||
The plugins directory: \fI/usr/lib/guh/plugins/\fR
|
The plugins directory: \fI/usr/lib/guh/plugins/\fR
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
Full developer documentation at: <http://dev.guh.guru>
|
Full developer documentation at: <https://developers.guh.io>
|
||||||
.br
|
.br
|
||||||
Wiki on github: <https://github.com/guh/guh/wiki>
|
Wiki on github: <https://github.com/guh/guh/wiki>
|
||||||
.SH "REPORTING BUGS"
|
.SH "REPORTING BUGS"
|
||||||
|
|||||||
2
debian/guhd.install
vendored
2
debian/guhd.install
vendored
@ -1,3 +1,3 @@
|
|||||||
usr/bin/guhd
|
usr/bin/guhd
|
||||||
data/systemd/guhd.service /etc/systemd/system/
|
data/systemd/guhd.service /lib/systemd/system/
|
||||||
data/logrotate/guhd /etc/logrotate.d/
|
data/logrotate/guhd /etc/logrotate.d/
|
||||||
|
|||||||
7
debian/guhd.postinst
vendored
7
debian/guhd.postinst
vendored
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
# #
|
# #
|
||||||
# Copyright (C) 2015 Simon Stuerz <simon.stuerz@guh.guru> #
|
# Copyright (C) 2015-2016 Simon Stuerz <simon.stuerz@guh.guru> #
|
||||||
# #
|
# #
|
||||||
# This file is part of guh. #
|
# This file is part of guh. #
|
||||||
# #
|
# #
|
||||||
@ -20,11 +20,10 @@
|
|||||||
# #
|
# #
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||||
|
|
||||||
# restart the guh daemon after update if it's running
|
# Restart the guh daemon after update if it's running
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl status guhd > /dev/null 2>&1
|
systemctl status guhd > /dev/null 2>&1
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
#echo -n "Restart guh daemon..."
|
|
||||||
systemctl restart guhd
|
systemctl restart guhd
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Successfully restarted guh daemon."
|
echo "Successfully restarted guh daemon."
|
||||||
@ -33,5 +32,7 @@ if [ $? -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user