-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6a6f1e7
Showing
41 changed files
with
3,414 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
# Compiled Dynamic libraries | ||
*.so | ||
*.so.1.0.0 | ||
*.dylib | ||
*.dll | ||
# Fortran module files | ||
*.mod | ||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
|
||
*.pydevproject | ||
.metadata | ||
.gradle | ||
lib/ | ||
bin/ | ||
obj/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.settings/ | ||
.loadpath | ||
# External tool builders | ||
.externalToolBuilders/ | ||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
# CDT-specific | ||
.cproject | ||
# PDT-specific | ||
.buildpath | ||
# sbteclipse plugin | ||
.target | ||
# TeXlipse plugin | ||
.texlipse | ||
autom4te.cache | ||
*.in~ | ||
config.log | ||
homegear | ||
core | ||
vgcore.* | ||
|
||
#Autotools | ||
autoscan.* | ||
Makefile | ||
Makefile.in | ||
aclocal.m4 | ||
autom4te.cache/ | ||
config.* | ||
configure | ||
depcomp | ||
install-sh | ||
libtool | ||
ltmain.sh | ||
cfg/ | ||
m4/ | ||
missing | ||
stamp-h? | ||
.deps/ | ||
.dirstamp | ||
.libs/ | ||
*.l[ao] | ||
*~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>homegear-enocean</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name> | ||
<triggers>full,incremental,</triggers> | ||
<arguments> | ||
<dictionary> | ||
<key>LaunchConfigHandle</key> | ||
<value><project>/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder (13).launch</value> | ||
</dictionary> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name> | ||
<triggers>full,incremental,</triggers> | ||
<arguments> | ||
<dictionary> | ||
<key>LaunchConfigHandle</key> | ||
<value><project>/.externalToolBuilders/homegear-intertechno-builder.launch</value> | ||
</dictionary> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> | ||
<triggers>full,incremental,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.cdt.core.cnature</nature> | ||
<nature>org.eclipse.cdt.core.ccnature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
AUTOMAKE_OPTIONS = foreign | ||
ACLOCAL_AMFLAGS = -I m4 -I cfg | ||
SUBDIRS = src |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
libtoolize || exit 1 | ||
aclocal || exit 1 | ||
autoheader || exit 1 | ||
automake --add-missing || exit 1 | ||
autoconf || exit 1 | ||
#./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --libdir=/usr/lib || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# -*- Autoconf -*- | ||
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ([2.69]) | ||
AC_INIT(homegar-intertechno, m4_esyscmd_s([./getVersion.sh]), [email protected]) | ||
AC_CONFIG_AUX_DIR(cfg) | ||
AM_INIT_AUTOMAKE | ||
AC_CONFIG_SRCDIR([src/MyFamily.h]) | ||
AC_CONFIG_HEADERS([config.h]) | ||
AC_CONFIG_MACRO_DIR([m4]) | ||
AC_PREFIX_DEFAULT(/usr) | ||
|
||
dnl AM_MAINTAINER_MODE | ||
|
||
# Checks for programs. | ||
AC_PROG_CXX | ||
AC_PROG_CC | ||
AC_PROG_INSTALL | ||
|
||
# Libraries | ||
LT_INIT | ||
|
||
# Checks for header files. | ||
AC_CHECK_HEADERS([stdlib.h]) | ||
|
||
# Checks for typedefs, structures, and compiler characteristics. | ||
AC_CHECK_HEADER_STDBOOL | ||
AC_C_INLINE | ||
AC_C_CONST | ||
AC_TYPE_INT32_T | ||
AC_TYPE_INT64_T | ||
AC_TYPE_PID_T | ||
AC_TYPE_SIZE_T | ||
AC_TYPE_SSIZE_T | ||
AC_TYPE_UINT32_T | ||
AC_TYPE_UINT64_T | ||
AC_TYPE_UINT8_T | ||
AC_TYPE_SIZE_T | ||
|
||
# Checks for library functions. | ||
AC_FUNC_CHOWN | ||
AC_FUNC_ERROR_AT_LINE | ||
AC_FUNC_FORK | ||
AC_CHECK_FUNCS([floor memchr memset pow select socket strchr strerror strstr strtol]) | ||
|
||
AC_CANONICAL_HOST | ||
case $host_os in | ||
darwin* ) | ||
CPPFLAGS="$CPPFLAGS -DMACOSSYSTEM" | ||
;; | ||
linux*) | ||
CPPFLAGS="$CPPFLAGS -DLINUXSYSTEM" | ||
;; | ||
*BSD*) | ||
CPPFLAGS="$CPPFLAGS -DBSDSYSTEM -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH -D_GLIBCXX_USE_C99_MATH_TR1 -D_WITH_DPRINTF" | ||
;; | ||
*) | ||
AC_MSG_ERROR([Your platform is not currently supported]) | ||
;; | ||
esac | ||
|
||
#AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], [enable debugging, default: no]), [case "${enableval}" in yes) debug=true ;; no) debug=false ;; *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;; esac], [debug=false]) | ||
#AM_CONDITIONAL(DEBUG, test x"$debug" = x"true") | ||
|
||
AC_OUTPUT(Makefile src/Makefile) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
homegear-intertechno (0.0.1-1) UNRELEASED; urgency=low | ||
|
||
* Initial release. | ||
|
||
-- Sathya Laufer <[email protected]> Sat, 17 Aug 2013 12:00:47 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Source: homegear-intertechno | ||
Maintainer: Sathya Laufer <[email protected]> | ||
Section: misc | ||
Priority: optional | ||
Standards-Version: 3.9.6 | ||
Build-Depends: debhelper (>= 8), libhomegear-base (= <BASELIBVER>), libgcrypt20-dev, libgpg-error-dev (>= 1.10), libgnutls28-dev | ||
Homepage: https://homegear.eu | ||
|
||
Package: homegear-intertechno | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends}, libhomegear-base (= <BASELIBVER>), homegear (= <BASELIBVER>), libgcrypt20, libgnutlsxx28, libgpg-error0 (>= 1.10) | ||
Description: Intertechno module for Homegear | ||
Homegear is a program to interface your home automation software | ||
with your smart home devices. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: homegear-intertechno | ||
Upstream-Contact: Sathya Laufer <[email protected]> | ||
|
||
Files: * | ||
Copyright: 2013-2016 Sathya Laufer | ||
License: GPL-3+ | ||
Homegear 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, either version 3 of the License, or | ||
(at your option) any later version. | ||
. | ||
Homegear 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 Homegear. If not, see <http://www.gnu.org/licenses/>. | ||
. | ||
On Debian systems, the full text of the GNU General Public | ||
License version 3 can be found in the file | ||
`/usr/share/common-licenses/GPL-3'. | ||
. | ||
In addition, as a special exception, the copyright holders give | ||
permission to link the code of portions of this program with the | ||
OpenSSL library under certain conditions as described in each | ||
individual source file, and distribute linked combinations | ||
including the two. | ||
You must obey the GNU General Public License in all respects | ||
for all of the code used other than OpenSSL. If you modify | ||
file(s) with this exception, you may extend this exception to your | ||
version of the file(s), but you are not obligated to do so. If you | ||
do not wish to do so, delete this exception statement from your | ||
version. If you delete this exception statement from all source | ||
files in the program, then also delete it here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/sh | ||
|
||
case $1 in | ||
# Configure this package. If the package must prompt the user for | ||
# information, do it here. | ||
configure) | ||
chown -R homegear:homegear /var/lib/homegear/modules | ||
chmod -R 550 /var/lib/homegear/modules | ||
homegear -e mls > /dev/null 2>&1 | ||
if [ $? -eq 0 ]; then | ||
homegear -e mld mod_intertechno.so | ||
fi | ||
echo "##########################################################################" | ||
echo "##########################################################################" | ||
echo "### Please modify the file /etc/homegear/families/intertechno.conf ###" | ||
echo "### according to your needs and restart Homegear. ###" | ||
echo "##########################################################################" | ||
echo "##########################################################################" | ||
;; | ||
|
||
# Back out of an attempt to upgrade this package FROM THIS VERSION | ||
# to version $2. Undo the effects of "prerm upgrade $2". | ||
abort-upgrade) | ||
;; | ||
|
||
# Back out of an attempt to remove this package, which was due to | ||
# a conflict with package $3 (version $4). Undo the effects of | ||
# "prerm remove in-favour $3 $4". | ||
abort-remove) | ||
;; | ||
|
||
# Back out of an attempt to deconfigure this package, which was | ||
# due to package $6 (version $7) which we depend on being removed | ||
# to make way for package $3 (version $4). Undo the effects of | ||
# "prerm deconfigure in-favour $3 $4 removing $6 $7". | ||
abort-deconfigure) | ||
;; | ||
|
||
*) | ||
echo "$0: didn't understand being called with \`$1'" 1>&2 | ||
exit 1; | ||
;; | ||
|
||
esac | ||
|
||
#DEBHELPER# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/sh | ||
|
||
case "$1" in | ||
remove|abort-install|abort-upgrade) | ||
# This package is being removed, but its configuration has not yet | ||
# been purged. | ||
|
||
;; | ||
|
||
purge) | ||
rm -Rf /etc/homegear/devices/16 > /dev/null 2>&1 | ||
rm -f /var/lib/homegear/modules/mod_intertechno.so > /dev/null 2>&1 | ||
;; | ||
|
||
disappear) | ||
;; | ||
|
||
upgrade) | ||
;; | ||
|
||
failed-upgrade) | ||
;; | ||
|
||
*) echo "$0: didn't understand being called with \`$1'" 1>&2 | ||
exit 1;; | ||
esac | ||
|
||
exit 0 | ||
|
||
#DEBHELPER# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
case "$1" in | ||
install) | ||
;; | ||
|
||
upgrade|abort-upgrade) | ||
service homegear stop | ||
;; | ||
esac | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/sh | ||
|
||
case "$1" in | ||
remove|purge|abort-install|abort-upgrade) | ||
# This package is being removed, but its configuration has not yet | ||
# been purged. | ||
service homegear stop | ||
;; | ||
|
||
disappear) | ||
;; | ||
|
||
upgrade) | ||
;; | ||
|
||
failed-upgrade) | ||
;; | ||
|
||
*) echo "$0: didn't understand being called with \`$1'" 1>&2 | ||
exit 1;; | ||
esac | ||
|
||
exit 0 | ||
|
||
#DEBHELPER# |
Oops, something went wrong.