libgpiod: update libgpiodbus license

The license for libgpiodbus in upstream has been updated to
LGPL-2.1-or-later.

Backport the patch from upstream so that libgpiodbus can use the
LGPL-2.1-or-later license.

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Ricardo Simoes authored and Khem Raj committed 2026-09-29 09:57:20 -07:00
1 parent 2791a9502b
commit 6da21f3a21
2 files changed
+27

No files matched your search

@@ -0,0 +1,26 @@
dbus: fix the license of gpiodbus.h
The libgpiodbus library - which is entirely automatically generated with
gdbus-codegen - was meant to be available under LGPLv2.1 like all the
other shared libraries in this project. Change the SPDX tag in that
file to LGPL-2.1-or-later.
Fixes: a5ab76da1e0a ("dbus: add the D-Bus daemon, command-line client and tests")
Link: https://patch.msgid.link/20260925-libgpiodbus-license-v1-1-d7ddafca8872@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Upstream-Status: Backport [https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/commit/?id=668a0efe918f9a763406239615175f759a6835f9]
---
dbus/lib/gpiodbus.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbus/lib/gpiodbus.h b/dbus/lib/gpiodbus.h
index 025c9c8586818051719078ba9d240f6d8b39e016..7557a576a5e9c6703ef78054ddc62a8b270de422 100644
--- a/dbus/lib/gpiodbus.h
+++ b/dbus/lib/gpiodbus.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/* SPDX-FileCopyrightText: 2023 Bartosz Golaszewski <bartosz.golaszewski@linaro.org> */
#ifndef __GPIODBUS_H__
@@ -13,6 +13,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:"
SRC_URI += " \
file://gpio-manager.init \
file://fix_gpiodbus_license.patch \
"
SRC_URI[sha256sum] = "e3a358a90a9204ff16f92b6f4028ed91460b1926f10589eb54b3566484650a30"