From abb7dd86ba72d7444c60df75319790929befd00d Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Thu, 27 Jan 2022 15:19:59 +0100 Subject: [PATCH] Packaging: Split translations and consolidate package descriptions --- debian/control | 161 ++++-------------- debian/nymea-plugin-alphainnotec.install.in | 1 + debian/nymea-plugin-drexelundweiss.install.in | 1 + debian/nymea-plugin-energymeters.install.in | 1 + debian/nymea-plugin-idm.install.in | 1 + .../nymea-plugin-modbuscommander.install.in | 1 + debian/nymea-plugin-mypv.install.in | 1 + debian/nymea-plugin-sunspec.install.in | 1 + debian/nymea-plugin-unipi2.install.in | 1 + debian/nymea-plugin-wallbe.install.in | 1 + debian/nymea-plugin-webasto.install.in | 1 + 11 files changed, 41 insertions(+), 130 deletions(-) diff --git a/debian/control b/debian/control index ba80600..ca0a9de 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: nymea-plugins-modbus Section: utils Priority: options -Maintainer: Bernhard Trinnes +Maintainer: nymea GmbH Build-depends: debhelper (>= 9.0.0), libnymea-dev (>= 0.17), libnymea-gpio-dev, @@ -20,13 +20,7 @@ Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Description: nymea.io sunspec library - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the nymea.io sunspec library + This package contains the nymea sunspec library. Package: libnymea-sunspec-dev Section: libdevel @@ -38,28 +32,15 @@ Depends: ${shlibs:Depends}, pkg-config, qtbase5-dev, Description: The main libraries and header files for developing with nymea sunspec. - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the development files for nymea sunspec. + This package contains the nymea sunspec library - development files. Package: nymea-plugin-alphainnotec Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends}, - nymea-plugins-modbus-translations -Description: nymea.io plugin for alpha innotec heat pumps - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the nymea.io plugin for alpha innotec heat pumps +Description: nymea integration plugin for alpha innotec heat pumps + This package contains the nymea integration plugin for alpha innotec head pumps. Package: nymea-plugin-drexelundweiss @@ -67,15 +48,8 @@ Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends}, - nymea-plugins-modbus-translations -Description: nymea.io plugin for Drexel & Weiss heat pumps - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the nymea.io plugin for Drexel & Weiss heat pumps +Description: nymea integration plugin for Drexel & Weiss heat pumps + This package contains the nymea integration plugin for Drexel & Weiss heat pumps. Package: nymea-plugin-idm @@ -83,15 +57,8 @@ Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends}, - nymea-plugins-modbus-translations, -Description: nymea.io plugin for iDM heat pumps - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the nymea.io plugin for iDM heat pumps +Description: nymea integration plugin for iDM heat pumps + This package contains the nymea integration plugin for iDM heat pumps. Package: nymea-plugin-energymeters @@ -100,15 +67,8 @@ Multi-Arch: same Section: libs Depends: ${shlibs:Depends}, ${misc:Depends}, - nymea-plugins-modbus-translations -Description: nymea.io plugin for Modbus based energy meters - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the nymea.io plugin for energy meters +Description: nymea integration plugin for Modbus based energy meters + This package contains a collection of energy meters. Package: nymea-plugin-huawei @@ -117,8 +77,9 @@ Multi-Arch: same Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} -Description: nymea.io plugin for Huawei FusionSolar - This package will install the nymea.io plugin for Huawei FusionSolar based on Modbus TCP +Description: nymea integration plugin for Huawei FusionSolar energy devices + This package contains the nymea integration plugin for Huawei FusionSolar devices + based on Modbus TCP. Package: nymea-plugin-modbuscommander @@ -126,15 +87,9 @@ Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends}, - nymea-plugins-modbus-translations -Description: nymea.io plugin to send and receive generic modbus commands - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the nymea.io modbus commander plug-in +Description: nymea integration plugin to send and receive generic modbus commands + This package contains a nymea integration plugin which allows to send and receive + generic Modbus commands to/from a Modbus device. Package: nymea-plugin-mypv @@ -142,15 +97,8 @@ Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends}, - nymea-plugins-modbus-translations -Description: nymea.io plugin for my-pv heating rods - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the nymea.io plugin for my-pv +Description: nymea integration plugin for my-pv heating rods + This package contains the nymea integration plugin for my-pv solar inverters. Package: nymea-plugin-mtec @@ -158,30 +106,16 @@ Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends}, - nymea-plugins-modbus-translations -Description: nymea.io plugin for M-TEC heat pumps - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the nymea.io plugin for M-TEC heat pumps +Description: nymea integration plugin for M-TEC heat pumps + This package contains the nymea integration plugin for M-TEC heat pumps. Package: nymea-plugin-sunspec Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, - nymea-plugins-modbus-translations -Description: nymea.io plugin for SunSpec Modbus devices. - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the nymea.io plugin for SunSpec. +Description: nymea integration plugin for SunSpec Modbus devices + This package contains the nymea integration plugin for SunSpec compatible solar inverters. Package: nymea-plugin-unipi2 @@ -191,16 +125,9 @@ Section: libs Depends: ${shlibs:Depends}, ${misc:Depends}, wiringpi, - nymea-plugins-modbus-translations Replaces: nymea-plugin-unipi -Description: nymea.io plugin for UniPi devices - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the nymea.io plugin for unipi devices +Description: nymea integration plugin for UniPi devices + This package contains the nymea integration plugin for UniPi devices. Package: nymea-plugin-wallbe @@ -208,41 +135,15 @@ Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends}, - nymea-plugins-modbus-translations -Description: nymea.io plugin for wallbe ev charging stations - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the nymea.io plugin for wallbe +Description: nymea integration plugin for Wallbe wallboxes + This package contains the nymea integration plugin for wallboxes made + by wallbe. Package: nymea-plugin-webasto Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends}, - nymea-plugins-modbus-translations -Description: nymea.io plugin for Webasto Live EV charging stations - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package will install the nymea.io plugin for webasto - - -Package: nymea-plugins-modbus-translations -Section: misc -Architecture: all -Depends: ${misc:Depends} -Description: Translation files for nymea modbus plugins - translations - The nymea daemon is a plugin based IoT (Internet of Things) server. The - server works like a translator for devices, things and services and - allows them to interact. - With the powerful rule engine you are able to connect any device available - in the system and create individual scenes and behaviors for your environment. - . - This package provides the translation files for all nymea modbus plugins. +Description: nymea integration plugin for Webasto Live wallboxes + This package contains the nymea integration plugin for wallboxes made + by Webasto. diff --git a/debian/nymea-plugin-alphainnotec.install.in b/debian/nymea-plugin-alphainnotec.install.in index ed59ad5..1978de4 100644 --- a/debian/nymea-plugin-alphainnotec.install.in +++ b/debian/nymea-plugin-alphainnotec.install.in @@ -1 +1,2 @@ usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginalphainnotec.so +alphainnotec/translations/*qm usr/share/nymea/translations/ diff --git a/debian/nymea-plugin-drexelundweiss.install.in b/debian/nymea-plugin-drexelundweiss.install.in index 93f5740..19a7769 100644 --- a/debian/nymea-plugin-drexelundweiss.install.in +++ b/debian/nymea-plugin-drexelundweiss.install.in @@ -1 +1,2 @@ usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationplugindrexelundweiss.so +drexelundweiss/translations/*qm usr/share/nymea/translations/ diff --git a/debian/nymea-plugin-energymeters.install.in b/debian/nymea-plugin-energymeters.install.in index 2f08f1f..cc7039a 100644 --- a/debian/nymea-plugin-energymeters.install.in +++ b/debian/nymea-plugin-energymeters.install.in @@ -1 +1,2 @@ usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginenergymeters.so +energymeters/translations/*qm usr/share/nymea/translations/ diff --git a/debian/nymea-plugin-idm.install.in b/debian/nymea-plugin-idm.install.in index f215b60..07f64c1 100644 --- a/debian/nymea-plugin-idm.install.in +++ b/debian/nymea-plugin-idm.install.in @@ -1 +1,2 @@ usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginidm.so +idm/translations/*qm usr/share/nymea/translations/ diff --git a/debian/nymea-plugin-modbuscommander.install.in b/debian/nymea-plugin-modbuscommander.install.in index 9116e7a..34efefc 100644 --- a/debian/nymea-plugin-modbuscommander.install.in +++ b/debian/nymea-plugin-modbuscommander.install.in @@ -1 +1,2 @@ usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginmodbuscommander.so +modbuscommander/translations/*qm usr/share/nymea/translations/ diff --git a/debian/nymea-plugin-mypv.install.in b/debian/nymea-plugin-mypv.install.in index 27366e3..ec0bb9e 100644 --- a/debian/nymea-plugin-mypv.install.in +++ b/debian/nymea-plugin-mypv.install.in @@ -1 +1,2 @@ usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginmypv.so +mypv/translations/*qm usr/share/nymea/translations/ diff --git a/debian/nymea-plugin-sunspec.install.in b/debian/nymea-plugin-sunspec.install.in index aae234d..988f250 100644 --- a/debian/nymea-plugin-sunspec.install.in +++ b/debian/nymea-plugin-sunspec.install.in @@ -1 +1,2 @@ usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginsunspec.so +sunspec/translations/*qm usr/share/nymea/translations/ diff --git a/debian/nymea-plugin-unipi2.install.in b/debian/nymea-plugin-unipi2.install.in index 322dcfa..dbb2f7b 100644 --- a/debian/nymea-plugin-unipi2.install.in +++ b/debian/nymea-plugin-unipi2.install.in @@ -1,2 +1,3 @@ usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginunipi.so unipi/modbus_maps/* usr/share/nymea/modbus +unipi/translations/*qm usr/share/nymea/translations/ diff --git a/debian/nymea-plugin-wallbe.install.in b/debian/nymea-plugin-wallbe.install.in index ba78fae..e608695 100644 --- a/debian/nymea-plugin-wallbe.install.in +++ b/debian/nymea-plugin-wallbe.install.in @@ -1 +1,2 @@ usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginwallbe.so +wallbe/translations/*qm usr/share/nymea/translations/ diff --git a/debian/nymea-plugin-webasto.install.in b/debian/nymea-plugin-webasto.install.in index 1eb7eaa..c722c73 100644 --- a/debian/nymea-plugin-webasto.install.in +++ b/debian/nymea-plugin-webasto.install.in @@ -1 +1,2 @@ usr/lib/@DEB_HOST_MULTIARCH@/nymea/plugins/libnymea_integrationpluginwebasto.so +webasto/translations/*qm usr/share/nymea/translations/