Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525106 - www-apps/domoticz - a home automation system
Summary: www-apps/domoticz - a home automation system
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://www.domoticz.com/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-10-12 08:37 UTC by Account removed
Modified: 2020-12-05 20:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
www-apps/domoticz-9999.ebuild (domoticz-9999.ebuild,1.58 KB, text/plain)
2014-10-12 08:37 UTC, Account removed
Details
www-apps/domoticz/files/domoticz.service (domoticz.service,177 bytes, text/plain)
2014-10-12 08:38 UTC, Account removed
Details
www-apps/domoticz/files/domoticz.service.conf (domoticz.service.conf,142 bytes, text/plain)
2014-10-12 08:38 UTC, Account removed
Details
www-apps/domoticz/files/domoticz.service (domoticz.service,195 bytes, text/plain)
2014-10-12 13:31 UTC, Account removed
Details
www-apps/domoticz/files/domoticz.service.conf (domoticz.service.conf,185 bytes, text/plain)
2014-10-12 13:32 UTC, Account removed
Details
www-apps/domoticz-9999.ebuild (domoticz-9999.ebuild,1.58 KB, text/plain)
2014-11-02 17:20 UTC, Account removed
Details
www-apps/domoticz/files/domoticz.conf.d (domoticz.conf.d,151 bytes, text/x-dsrc)
2014-11-14 17:43 UTC, Account removed
Details
www-apps/domoticz/files/domoticz.init.d (domoticz.init.d,1.08 KB, text/x-dsrc)
2014-11-14 17:44 UTC, Account removed
Details
www-apps/domoticz-9999.ebuild (domoticz-9999.ebuild,1.66 KB, text/plain)
2014-11-14 17:46 UTC, Account removed
Details
www-apps/domoticz/files/domoticz.init.d (domoticz.init.d,1.07 KB, text/x-dsrc)
2014-11-15 07:14 UTC, Account removed
Details
www-apps/domoticz-9999.ebuild (domoticz-9999.ebuild,1.51 KB, text/plain)
2015-08-22 08:30 UTC, Account removed
Details
www-apps/domoticz-9999.ebuild (domoticz-9999.ebuild,1.52 KB, text/plain)
2015-09-06 07:47 UTC, Account removed
Details
www-apps/domoticz-9999.ebuild (domoticz-9999.ebuild,1.57 KB, text/plain)
2016-01-09 13:29 UTC, Account removed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Account removed 2014-10-12 08:37:36 UTC
Created attachment 386482 [details]
www-apps/domoticz-9999.ebuild

initial live ebuild for the homeautomation system domoticz
( http://www.domoticz.com )
only providing systemd service files for now
Comment 1 Account removed 2014-10-12 08:38:16 UTC
Created attachment 386484 [details]
www-apps/domoticz/files/domoticz.service
Comment 2 Account removed 2014-10-12 08:38:44 UTC
Created attachment 386486 [details]
www-apps/domoticz/files/domoticz.service.conf
Comment 3 Account removed 2014-10-12 13:31:33 UTC
Created attachment 386516 [details]
www-apps/domoticz/files/domoticz.service

either the added approot commandline arg or a proper sed replace for szStartupFolder is required to make domoticz find its Config and scripts dirs
Comment 4 Account removed 2014-10-12 13:32:07 UTC
Created attachment 386518 [details]
www-apps/domoticz/files/domoticz.service.conf
Comment 5 Account removed 2014-11-02 17:20:09 UTC
Created attachment 388342 [details]
www-apps/domoticz-9999.ebuild

upstream ESVN_REPO_URI changed today
Comment 6 Account removed 2014-11-14 17:43:43 UTC
Created attachment 389314 [details]
www-apps/domoticz/files/domoticz.conf.d

untested conf.d file for init.d script
Comment 7 Account removed 2014-11-14 17:44:59 UTC
Created attachment 389316 [details]
www-apps/domoticz/files/domoticz.init.d

untested init.d runscript based on the script posted here:
http://www.domoticz.com/forum/viewtopic.php?f=17&t=3986&p=25910&hilit=gentoo#p25894
Comment 8 Account removed 2014-11-14 17:46:05 UTC
Created attachment 389318 [details]
www-apps/domoticz-9999.ebuild

added untested init.d script.
please test and report back (or provide a patch of course :})
Comment 9 Account removed 2014-11-15 07:14:06 UTC
Created attachment 389356 [details]
www-apps/domoticz/files/domoticz.init.d

new init script with fixes from Alex:
http://www.domoticz.com/forum/viewtopic.php?f=17&t=3986#p25953
Comment 10 Account removed 2015-08-22 08:30:33 UTC
Created attachment 409848 [details]
www-apps/domoticz-9999.ebuild

upstream switched to git
Comment 11 Account removed 2015-09-06 07:47:57 UTC
Created attachment 411116 [details]
www-apps/domoticz-9999.ebuild

upstream appversion.h path changed
Comment 12 Account removed 2016-01-09 13:29:29 UTC
Created attachment 422374 [details]
www-apps/domoticz-9999.ebuild

upstream changed install prefix
Comment 13 Fabian Groffen gentoo-dev 2020-01-21 20:01:11 UTC
is this related to (/same version as) http://gpo.zugaina.org/app-misc/domoticz?
Comment 14 Fabian Groffen gentoo-dev 2020-09-09 14:21:53 UTC
Because of missing lua in Gentoo, compiling latest domoticz really is an issue.  I went for a binary approach as workaround for the moment.

FWIW: https://github.com/grobian/gentoo-domoticz/tree/master
Comment 15 Account removed 2020-09-09 14:24:31 UTC
Hi Fabian,
I left gentoo and can't help you with that.
Good luck and stay safe!
Comment 16 Gordon Bos 2020-12-03 16:11:48 UTC
(In reply to Fabian Groffen from comment #13)
> is this related to (/same version as)
> http://gpo.zugaina.org/app-misc/domoticz?

Hi Fabian,
 
No, that is not the same version. app-misc/domoticz was created by me as part of an ARM based home server solution (Excito "Bubba" B3). I created my own spin-off project about 18 months ago and have not verified any Domoticz build since the project owner made it depend on a non-stable version of cmake.
 
Until today, as I received an email from a user. It turns out there's something pretty messed up in the project's own build files, which is probably due to the application being meant to be run from the source directory and wanting to dynamically link to libraries that used to be statically included before.
 
I have been able to address these issues though and have successfully built both the latest stable and today's beta (which required yet an additional patch) and published the ebuilds in my overlay.
 
Note: I recommend that you create an env file limiting parallel jobs to no more than 2 for this build. You are likely to see it being aborted due to a memory overflow if you don't.
Comment 17 Fabian Groffen gentoo-dev 2020-12-03 16:22:58 UTC
do you have a pointer for your work?
Comment 18 Gordon Bos 2020-12-03 19:04:28 UTC
(In reply to Fabian Groffen from comment #17)
> do you have a pointer for your work?

As stated in the link you posted yourself, `bubba` is available through layman. Direct link to the repository: https://github.com/gordonb3/bubba-overlay
 
I'm just noticing #407091 though. Forgot about that one, but from the comment in the unmask file I have on my system I must have definitely seen that before. As my system does not have any other Lua dependencies it's not an issue for me but I should probably change the ebuild to allow integrating Lua into the resulting binary for systems that do suffer from the reported breakage.
Comment 19 Gordon Bos 2020-12-05 20:24:55 UTC
Update:

I fixed the Lua issue by adding lua-5.3.6 as a secondary source and linking it statically into the binary.

Install details:
 - main install path = /opt/domoticz
 - static content of the web front-end has been gzipped
 - database and user changeable content (scripts) path = /var/lib/domoticz
 - log path = /var/log (user must take care of rotation himself)
 - initv and systemd startup scripts are provided (controlled by USE flag)