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
Created attachment 386484 [details] www-apps/domoticz/files/domoticz.service
Created attachment 386486 [details] www-apps/domoticz/files/domoticz.service.conf
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
Created attachment 386518 [details] www-apps/domoticz/files/domoticz.service.conf
Created attachment 388342 [details] www-apps/domoticz-9999.ebuild upstream ESVN_REPO_URI changed today
Created attachment 389314 [details] www-apps/domoticz/files/domoticz.conf.d untested conf.d file for init.d script
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
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 :})
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
Created attachment 409848 [details] www-apps/domoticz-9999.ebuild upstream switched to git
Created attachment 411116 [details] www-apps/domoticz-9999.ebuild upstream appversion.h path changed
Created attachment 422374 [details] www-apps/domoticz-9999.ebuild upstream changed install prefix
is this related to (/same version as) http://gpo.zugaina.org/app-misc/domoticz?
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
Hi Fabian, I left gentoo and can't help you with that. Good luck and stay safe!
(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.
do you have a pointer for your work?
(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.
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)