spksrc
spksrc copied to clipboard
[Package Request] nymea
- Name: nymea
- Description: Smart Home/IoT server
- Website: nymea.io
- Software documentation: https://nymea.io/documentation/users
- Build/Installation documentation: https://nymea.io/documentation/developers/build-nymea
- Source code: https://github.com/nymea
- License: [L]GPLv3 (also available as commercial license)
Hi folks,
I'd love to get nymea into the SynoCommunity repository. I have tried my best to do all the heavy lifting so it should be reasonably straight forward for someone experienced with the synology toolchain to get this going from here. My proof of concept builds a package for geminilake that has been tested and works fine on the DS720+ but now I'd need your help to enable more platforms and find the proper solutions for the hacks and shortcuts I've taken so far.
Please find my package scripts here:
https://github.com/mzanetti/nymea-synology-package
This should build fine for -v 6.2 -p geminilake
with one caveat. AFAICT the PkgCreate scripts grep the build logs for words like "error" which causes the Qt build to fail when it builds files like QXmlError and such even though the compilation actually succeeds. I've gotten past this with this (arguably very evil) patch: https://github.com/SynologyOpenSource/pkgscripts-ng/issues/33 (Here again I hope/believe someone more knowledgeable about the syno toolchain might find a proper fix for this with ease).
I am aware that this is not "theoretically correct" as it builds Qt and all nymea packages as one single package instead of using the depenency mechanism but at least for now I believe it's better to ship Qt within the package and avoid the dependency hassle.
One thing that is still missing, would be to add a dependency to python so that nymea is built with support for python plugins. (The configure/qmake step will print whether it is building with or without python).
Once the package is built and installed on DSM, use nymea:app on any smartphone or PC to connect to the nymea instance on the DSM and start configuring the smart home.
I'll be happy to help as much as I can to get this in. Thank you in advance!
Yay! Upvote! ☺️
i hope, this package will be in the synocommunity soon.
I would like to see it too!