Commit Graph

6 Commits

Author SHA1 Message Date
Stijn Tintel 9e265cfa1b domoticz: enable GPIO support
When cross-compiling Domoticz on a system without GPIO, the WITH_GPIO
flag is not set by cmake, and GPIO support is disabled as a result.
Enabling GPIO support by adding the flag to TARGET_CXXFLAGS.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-09-21 01:31:45 +03:00
Stijn Tintel 476dae33c7 domitcz: fix dzVents scripts
Domoticz 3.8153 introduced support for dzVents. Unfortunately this was
broken by the 902_add-scripts-path, which attempts to make Domoticz more
FHS-compliant instead of throwing everything under /opt/domoticz.

The problem is that dzVents scripts added via the webinterface will be
generated on the filesystem. With the 902_add-scripts-path patch,
Domoticz tried to write this to "scriptsdir/dzVents/generated_scripts".
As the scriptsdir contains scripts that come with upstream, and are not
meant to be changed, this defaults to /usr/share/domoticz/scripts, which
is not writeable, so Domoticz is unable to write the script to the
filesystem. What is worse is that this silently fails.

Fix this by moving the generated_scripts dir to
"userdatadir/generated_scripts". The userdatadir defaults to
/var/lib/domoticz, which is writeable.

Additionally, since this patch does more than just adding the scripts
path, rename it to something more appropriate.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-09-20 01:00:41 +03:00
Stijn Tintel 0c52d40710 domoticz: remove additional files from package
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-08-07 20:19:18 +02:00
Stijn Tintel da7a73b89b domoticz: bump to 3.8153
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-07-31 16:47:55 +02:00
Stijn Tintel ebc92cb98b domoticz: removed hardcoded userdata path
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-06-29 13:18:39 +02:00
Stijn Tintel 042933714a domoticz: new package
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-03-03 01:56:21 +01:00