1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 10:59:13 +02:00
Commit Graph

21 Commits

Author SHA1 Message Date
Rosen Penev
c99cca25a1
domoticz: Fix compilation with uClibc-ng
Added upstream patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-24 17:21:38 -08:00
Rosen Penev
21f05d0df1
domoticz: Add missing dependency
CMake picks up telldus-core now that it is in the tree.

Fixes #10246

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-18 16:25:43 -08:00
Rosen Penev
56c2caadbd
domoticz: Fix compilation with newer Python
Backported upstream patch.

Fixes #10543

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-18 16:25:40 -08:00
Stijn Tintel
7e50722145 domoticz: bump to 4.10717
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-09-27 01:35:14 +03:00
Rosen Penev
8c77bcc19f domoticz: Fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-16 22:57:06 -07:00
Amol Bhave
a73b3b2d75 domoticz: disable searching for boost-cmake
Summary:
This package fails to compile with boost 1.70 when the boost cmake
config gets used.
As far as I can tell, Boost 1.70 introduced
BoostConfigVersion.cmake. In that file, the value of PACKAGE_VERSION is
set to 1.70. This makes CMake auto set the variable Boost_VERSION to
1.70. Historically, Boost_VERSION has been using the format like 170000,
and not 1.70. Some package cmake files still depend on this behavior
and make assertions such as Boost_VERSION > 168000. This is incompatible
with the new scheme.

Test Plan:
`make package/domoticz/compile`
Also compiled all other packages that have a boost dependency, they seem
to be working fine.
tested on nbg6817

Signed-off-by: Amol Bhave <ambhave@fb.com>
[split unrelated change, change commit subject, alphabetical order]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-06-05 10:59:12 +03:00
Stijn Tintel
b93d39ac74 domoticz: enable BUILD_SHARED_LIBS
Without this, no suitable boost_thread variant can be identified when
compiling against Boost 1.70.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-06-05 10:55:39 +03:00
Rosen Penev
3fc9f0a108
domoticz: fix boost 1.70 compat
This is an upstream backport that deals with an API change in Boost.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-25 16:47:14 -07:00
David Woodhouse
d8521b50a6 domoticz: update to 4.9700 stable release, enable Python, fix compression
The files in ozwcp/ shouldn't be compressed as there's no gzip handling
for those.

Also enable Python support — since it can dynamically link with
libpython optionally, it's harmless to enable it. Those who want Python
plugins can use it. I still want lua-based hardware plugins though.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-25 16:56:28 +01:00
David Woodhouse
e42d656e81 domoticz: fix Onkyo custom command handling from dzVents
https://github.com/domoticz/domoticz/pull/2386

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-04 11:11:25 +01:00
David Woodhouse
a98239c493 domoticz: update to 3.9571 and clean up FHS handling
Upstream has merged a simplified version of the FHS patch, with a few
changes...

Scripts are actually configuration. There are examples, but the point is
that you write your own.

So they should live in the data directory (e.g. /var/lib/domoticz) not
in /usr/share/domoticz. The only exception is the dzVents runtime.

So.... the upstream patch handles the dzVents runtime bit. Drop the part
of our patch which added -scripts, because it can just be based in the
userdata directory and we don't need to change that.

Ship the default scripts/ directory in /etc/domoticz/scripts, and on
startup make a *symlink* to it from /var/lib/domoticz/scripts.

Symlink from /etc/domoticz/scripts/dzVents{data,generated_scripts} to
temporary directories under /var/lib/domoticz/dzVents so that those
directories (which are written to by Domoticz) don't land on the root
file system. Anyone with a writeable file system who *wants* the data/
directory to be persistent, can change that. Just as they can change
the userdata config option to point to a real file system somewhere.

Also drop the renaming of the OpenZWave Config/ directory. It's purely
cosmetric so there's no need for us to carry that change. It can go
upstream first, if it really offends anyone.

Drop the patches which are now merged upstream, and turn off the newly
added USE_OPENSSL_STATIC. Add -noupdates to the command line.

Finally, gzip the static www files to save space. In the common case,
clients will use "Accept-Encodiong: gzip" and Domoticz will serve them
as-is. It can also decompress on the fly if it really has to, but now we
aren't asking it to *compress* on the fly, which is probably a losing
proposition on an OpenWRT box.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-04 11:11:24 +01:00
David Woodhouse
acb6cf153c domoticz: build with -flto
This makes quite a significant difference to the executable size:

   text    data     bss     dec     hex filename
7921421   87804   31692 8040917  7ab1d5 domoticz
5862321	  86180	  31212	5979713	 5b3e41	domoticz-lto

As an added bonus, it still seems to work.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-04 11:11:23 +01:00
David Woodhouse
a4a5fcc245 domoticz: support -ssldhparam config/command line option
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-04 11:11:23 +01:00
David Woodhouse
94aad53b39 domoticz: use 'ln -sf' in serial hotplug script
Otherwise, stale symlinks don't get replaced

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-04 11:11:22 +01:00
BERENYI, Balazs
2d7e189377 domoticz: backport Boost 1.66 compat fix
Fix build by updating boost usage. Added backported patch from upstream
commit 388c7b51716cdb6221ec292cc2456ceca6ee9b02.

Signed-off-by: BERENYI, Balazs <beba@wee.hu>
[update commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2018-05-11 10:42:02 +03:00
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