From 52008bf8a0020a5e8c151036af23512ae8ebf826 Mon Sep 17 00:00:00 2001 From: Patrick Schurig Date: Sun, 31 May 2026 18:07:28 +0200 Subject: [PATCH] debian: packaging powersync-plugin-eastron (fix nom .install, format changelog/rules) --- debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 25 +++++++++++++++++++++++++ debian/copyright | 13 +++++++++++++ debian/powersync-plugin-eastron.install | 1 + debian/rules | 12 ++++++++++++ debian/source/format | 1 + 7 files changed, 59 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/powersync-plugin-eastron.install create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..9bf706a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +etm-powersync-plugins-modbus (1.15.0+etm1) trixie; urgency=medium + + * Initial ETM packaging of the eastron plugin (Eastron SDM72/120/630, Modbus RTU). + * Built against nymea 1.15.0 ; libnymea-modbus consommee via paquet systeme. + + -- ETM-Schurig SARL Sun, 31 May 2026 18:30:00 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b1bd38b --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +13 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..098b0b6 --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: etm-powersync-plugins-modbus +Section: utils +Priority: optional +Maintainer: ETM-Schurig SARL +Standards-Version: 4.7.2 +Homepage: https://etm-powersync.fr +Vcs-Git: https://git.etm-powersync.fr/ETM-Schurig/etm-powersync-plugins-modbus.git +Build-Depends: debhelper, + pkg-config, + libnymea-dev, + nymea-dev-tools:native, + libnymea-modbus-dev, + qt6-base-dev, + qt6-base-dev-tools, + qt6-serialport-dev, + qt6-serialbus-dev, + +Package: powersync-plugin-eastron +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, + ${misc:Depends}, +Description: PowerSync integration plugin for Eastron SDM energy meters (Modbus RTU) + nymea integration plugin for Eastron SDM72 / SDM120 / SDM630 energy meters + over Modbus RTU, for use by the ETM PowerSync home energy management system. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f462129 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,13 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: etm-powersync-plugins +Source: https://git.etm-powersync.fr/ETM-Schurig/etm-powersync-plugins + +Files: * +Copyright: 2026 ETM-Schurig SARL +License: GPL-3 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 3 of the License. + . + On Debian systems, the full text of the GNU General Public License + version 3 can be found in the file /usr/share/common-licenses/GPL-3. diff --git a/debian/powersync-plugin-eastron.install b/debian/powersync-plugin-eastron.install new file mode 100644 index 0000000..595c118 --- /dev/null +++ b/debian/powersync-plugin-eastron.install @@ -0,0 +1 @@ +usr/lib/*/nymea/plugins/libnymea_integrationplugineastron.so diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8ceb8e4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f +export DH_VERBOSE=1 +export QT_QPA_PLATFORM=minimal + +override_dh_auto_clean: + dh_auto_clean + find -name '*plugininfo.h' -exec rm {} \; + find -path '*/autogenerated/*' -exec rm {} \; + find -name 'moc_*' -exec rm {} \; + +%: + dh $@ --buildsystem=qmake6 --parallel diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)