Licenza MIT e nome mostrato Thinq-like

- aggiunto LICENSE (MIT, Carlo Baratto) e installato col pacchetto in
  /usr/share/doc/harbour-thinq/
- nome nel launcher e nel centro notifiche: Thinq-like; il marchio LG resta
  solo nella descrizione, dove e' lecito citarlo
- README: nota su nome e licenza
This commit is contained in:
kaneda committed 2026-10-12 15:17:23 +02:00
1 parent c6621e5968
commit d51c38c420
6 files changed
+41 -8

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 Carlo Baratto
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+5 -2
View File
@@ -1,4 +1,4 @@
# ThinQ (harbour-thinq) # Thinq-like (harbour-thinq)
App per Sailfish OS che controlla una lavatrice/lavasciuga **LG ThinQ** parlando App per Sailfish OS che controlla una lavatrice/lavasciuga **LG ThinQ** parlando
**direttamente con il cloud LG**: nessun ponte, nessun server di mezzo, nessuna **direttamente con il cloud LG**: nessun ponte, nessun server di mezzo, nessuna
@@ -77,4 +77,7 @@ sh scripts/publish-rpm.sh
LG ThinQ Connect API (`https://api-<regione>.lgthinq.com`, Italia = `api-eic`): LG ThinQ Connect API (`https://api-<regione>.lgthinq.com`, Italia = `api-eic`):
`GET /devices`, `GET /devices/{id}/state`, `POST /devices/{id}/control` con `GET /devices`, `GET /devices/{id}/state`, `POST /devices/{id}/control` con
`Authorization: Bearer <PAT>`, `x-country`, `x-client-id`, `x-message-id`. `Authorization: Bearer <PAT>`, `x-country`, `x-client-id`, `x-message-id`.
Licenza: MIT. Licenza: MIT (vedi il file LICENSE). Il nome mostrato sul telefono è
«Thinq-like»: l'app non è di LG e non è approvata da LG. LG ThinQ è un marchio
dei rispettivi proprietari e qui è citato solo per dire con quali macchine
l'app parla.
+1 -1
View File
@@ -16,7 +16,7 @@ ApplicationWindow
// alla prima riapertura. // alla prima riapertura.
Notification { Notification {
id: cycleNotice id: cycleNotice
appName: "ThinQ" appName: "Thinq-like"
appIcon: "harbour-thinq" appIcon: "harbour-thinq"
urgency: Notification.Normal urgency: Notification.Normal
expireTimeout: 10000 expireTimeout: 10000
+2 -2
View File
@@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Name=ThinQ Name=Thinq-like
Name[it_IT]=ThinQ Name[it_IT]=Thinq-like
Comment=Control an LG ThinQ washing machine Comment=Control an LG ThinQ washing machine
Comment[it_IT]=Controlla una lavatrice LG ThinQ Comment[it_IT]=Controlla una lavatrice LG ThinQ
Exec=harbour-thinq Exec=harbour-thinq
+10 -1
View File
@@ -1,6 +1,6 @@
Name: harbour-thinq Name: harbour-thinq
Summary: Control an LG ThinQ washing machine Summary: Control an LG ThinQ washing machine
Version: 0.2.1 Version: 0.2.2
Release: 1 Release: 1
Group: Qt/Qt Group: Qt/Qt
License: MIT License: MIT
@@ -26,6 +26,11 @@ ThinQ Connect cloud from the phone: no server in between. The access token
is stored only on the device, in the app private configuration file. is stored only on the device, in the app private configuration file.
%changelog %changelog
* Mon Oct 12 2026 Carlo - 0.2.2-1
- nome mostrato nel launcher: Thinq-like (il marchio LG resta solo nella
descrizione, dove e' lecito: l'app non e' di LG)
- aggiunto il file di licenza MIT, installato col pacchetto
* Mon Oct 12 2026 Carlo - 0.2.1-1 * Mon Oct 12 2026 Carlo - 0.2.1-1
- l'elenco delle macchine si aggiorna davvero: stato, fase e tempo rimanente - l'elenco delle macchine si aggiorna davvero: stato, fase e tempo rimanente
erano letti con funzioni, che in QML non si aggiornano da sole (si vedevano i erano letti con funzioni, che in QML non si aggiornano da sole (si vedevano i
@@ -80,10 +85,14 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop || tr
mkdir -p %{buildroot}%{_datadir}/%{name}/translations mkdir -p %{buildroot}%{_datadir}/%{name}/translations
install -m 0644 %{_builddir}/%{name}_it.qm %{buildroot}%{_datadir}/%{name}/translations/ install -m 0644 %{_builddir}/%{name}_it.qm %{buildroot}%{_datadir}/%{name}/translations/
# La licenza viaggia col pacchetto: e' la prima cosa che uno store controlla.
install -D -m 0644 LICENSE %{buildroot}%{_docdir}/%{name}/LICENSE
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/%{name} %{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
%{_docdir}/%{name}/LICENSE
%{_datadir}/icons/hicolor/86x86/apps/%{name}.png %{_datadir}/icons/hicolor/86x86/apps/%{name}.png
%{_datadir}/icons/hicolor/108x108/apps/%{name}.png %{_datadir}/icons/hicolor/108x108/apps/%{name}.png
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png %{_datadir}/icons/hicolor/128x128/apps/%{name}.png
+2 -2
View File
@@ -21,7 +21,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
app->setOrganizationName(QStringLiteral("harbour")); app->setOrganizationName(QStringLiteral("harbour"));
app->setApplicationName(QStringLiteral("thinq")); app->setApplicationName(QStringLiteral("thinq"));
app->setApplicationVersion(QStringLiteral("0.2.1")); app->setApplicationVersion(QStringLiteral("0.2.2"));
Settings settings; Settings settings;
ThinQClient api(&settings); ThinQClient api(&settings);
@@ -34,7 +34,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
QQuickView *view = SailfishApp::createView(); QQuickView *view = SailfishApp::createView();
// Prima riga del log: dice se il device sta girando la build nuova o una stale. // Prima riga del log: dice se il device sta girando la build nuova o una stale.
qDebug() << "harbour-thinq v0.2.1 build" << __DATE__ << __TIME__; qDebug() << "harbour-thinq v0.2.2 build" << __DATE__ << __TIME__;
view->rootContext()->setContextProperty(QStringLiteral("appSettings"), &settings); view->rootContext()->setContextProperty(QStringLiteral("appSettings"), &settings);
view->rootContext()->setContextProperty(QStringLiteral("api"), &api); view->rootContext()->setContextProperty(QStringLiteral("api"), &api);