licensing: relicense C++ bindings under LGPL-2.1-or-later
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 16 Apr 2024 21:21:40 +0000 (23:21 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 22 Apr 2024 12:04:19 +0000 (14:04 +0200)
Commit ea84f882d5d3 ("licensing: relicense C++ library code under
LGPL-3.0-or-later") changed the license of C++ bindings in order to
solve potential issues with code generated from templates[1], default
implementations, etc. However this change makes the bindings less
attractive to projects that have strict licensing restrictions and avoid
GPL-3.0 code[2].

After talking to Grant Likely I decided that the best approach is to
make the bindings available under LGPL-v2.1-or-later and simply let the
end user decide which version's text to apply.

While at it: tweak the README to also mention that examples are provided
under GPL-2.0-or-later.

Link: [1] https://www.spinics.net/lists/linux-gpio/msg46605.html
Link: [2] https://github.com/brgl/libgpiod/issues/72
Suggested-by: Walter Lozano <walter.lozano@collabora.com>
Suggested-by: Grant Likely <grant.likely@linaro.org>
Acked-by: Kent Gibson <warthog618@gmail.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Link: https://lore.kernel.org/r/20240416212141.6683-2-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
38 files changed:
COPYING
LICENSES/LGPL-3.0-or-later.txt [deleted file]
bindings/cxx/chip-info.cpp
bindings/cxx/chip.cpp
bindings/cxx/edge-event-buffer.cpp
bindings/cxx/edge-event.cpp
bindings/cxx/exception.cpp
bindings/cxx/gpiod.hpp
bindings/cxx/gpiodcxx/chip-info.hpp
bindings/cxx/gpiodcxx/chip.hpp
bindings/cxx/gpiodcxx/edge-event-buffer.hpp
bindings/cxx/gpiodcxx/edge-event.hpp
bindings/cxx/gpiodcxx/exception.hpp
bindings/cxx/gpiodcxx/info-event.hpp
bindings/cxx/gpiodcxx/line-config.hpp
bindings/cxx/gpiodcxx/line-info.hpp
bindings/cxx/gpiodcxx/line-request.hpp
bindings/cxx/gpiodcxx/line-settings.hpp
bindings/cxx/gpiodcxx/line.hpp
bindings/cxx/gpiodcxx/misc.hpp
bindings/cxx/gpiodcxx/request-builder.hpp
bindings/cxx/gpiodcxx/request-config.hpp
bindings/cxx/gpiodcxx/timestamp.hpp
bindings/cxx/info-event.cpp
bindings/cxx/internal.cpp
bindings/cxx/internal.hpp
bindings/cxx/line-config.cpp
bindings/cxx/line-info.cpp
bindings/cxx/line-request.cpp
bindings/cxx/line-settings.cpp
bindings/cxx/line.cpp
bindings/cxx/misc.cpp
bindings/cxx/request-builder.cpp
bindings/cxx/request-config.cpp
bindings/cxx/tests/gpiosim.cpp
bindings/cxx/tests/gpiosim.hpp
bindings/cxx/tests/helpers.cpp
bindings/cxx/tests/helpers.hpp

diff --git a/COPYING b/COPYING
index 87a9de53c9237d7b190c80a646ca8a23ad4b083b..84b4fc6d9758aee797220e7eb417807b78c1b599 100644 (file)
--- a/COPYING
+++ b/COPYING
@@ -7,7 +7,7 @@ or any later version according with:
 
     LICENSES/LGPL-2.1-or-later.txt
 
-gpio-tools and test suites are provided under:
+gpio-tools, test suites and examples are provided under:
 
     SPDX-License-Identifier: GPL-2.0-or-later
 
@@ -16,15 +16,6 @@ later version according with:
 
     LICENSES/GPL-2.0-or-later.txt
 
-C++ bindings to libgpiod are provided under:
-
-    SPDX-License-Identifier: LGPL-3.0-or-later
-
-Being under the terms of the GNU Lesser General Public License version 3.0
-or any later version according with:
-
-    LICENSES/LGPL-3.0-or-later.txt
-
 The Linux Kernel uAPI headers are provided under:
 
     SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
diff --git a/LICENSES/LGPL-3.0-or-later.txt b/LICENSES/LGPL-3.0-or-later.txt
deleted file mode 100644 (file)
index 0a04128..0000000
+++ /dev/null
@@ -1,165 +0,0 @@
-                   GNU LESSER GENERAL PUBLIC LICENSE
-                       Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-
-  This version of the GNU Lesser General Public License incorporates
-the terms and conditions of version 3 of the GNU General Public
-License, supplemented by the additional permissions listed below.
-
-  0. Additional Definitions.
-
-  As used herein, "this License" refers to version 3 of the GNU Lesser
-General Public License, and the "GNU GPL" refers to version 3 of the GNU
-General Public License.
-
-  "The Library" refers to a covered work governed by this License,
-other than an Application or a Combined Work as defined below.
-
-  An "Application" is any work that makes use of an interface provided
-by the Library, but which is not otherwise based on the Library.
-Defining a subclass of a class defined by the Library is deemed a mode
-of using an interface provided by the Library.
-
-  A "Combined Work" is a work produced by combining or linking an
-Application with the Library.  The particular version of the Library
-with which the Combined Work was made is also called the "Linked
-Version".
-
-  The "Minimal Corresponding Source" for a Combined Work means the
-Corresponding Source for the Combined Work, excluding any source code
-for portions of the Combined Work that, considered in isolation, are
-based on the Application, and not on the Linked Version.
-
-  The "Corresponding Application Code" for a Combined Work means the
-object code and/or source code for the Application, including any data
-and utility programs needed for reproducing the Combined Work from the
-Application, but excluding the System Libraries of the Combined Work.
-
-  1. Exception to Section 3 of the GNU GPL.
-
-  You may convey a covered work under sections 3 and 4 of this License
-without being bound by section 3 of the GNU GPL.
-
-  2. Conveying Modified Versions.
-
-  If you modify a copy of the Library, and, in your modifications, a
-facility refers to a function or data to be supplied by an Application
-that uses the facility (other than as an argument passed when the
-facility is invoked), then you may convey a copy of the modified
-version:
-
-   a) under this License, provided that you make a good faith effort to
-   ensure that, in the event an Application does not supply the
-   function or data, the facility still operates, and performs
-   whatever part of its purpose remains meaningful, or
-
-   b) under the GNU GPL, with none of the additional permissions of
-   this License applicable to that copy.
-
-  3. Object Code Incorporating Material from Library Header Files.
-
-  The object code form of an Application may incorporate material from
-a header file that is part of the Library.  You may convey such object
-code under terms of your choice, provided that, if the incorporated
-material is not limited to numerical parameters, data structure
-layouts and accessors, or small macros, inline functions and templates
-(ten or fewer lines in length), you do both of the following:
-
-   a) Give prominent notice with each copy of the object code that the
-   Library is used in it and that the Library and its use are
-   covered by this License.
-
-   b) Accompany the object code with a copy of the GNU GPL and this license
-   document.
-
-  4. Combined Works.
-
-  You may convey a Combined Work under terms of your choice that,
-taken together, effectively do not restrict modification of the
-portions of the Library contained in the Combined Work and reverse
-engineering for debugging such modifications, if you also do each of
-the following:
-
-   a) Give prominent notice with each copy of the Combined Work that
-   the Library is used in it and that the Library and its use are
-   covered by this License.
-
-   b) Accompany the Combined Work with a copy of the GNU GPL and this license
-   document.
-
-   c) For a Combined Work that displays copyright notices during
-   execution, include the copyright notice for the Library among
-   these notices, as well as a reference directing the user to the
-   copies of the GNU GPL and this license document.
-
-   d) Do one of the following:
-
-       0) Convey the Minimal Corresponding Source under the terms of this
-       License, and the Corresponding Application Code in a form
-       suitable for, and under terms that permit, the user to
-       recombine or relink the Application with a modified version of
-       the Linked Version to produce a modified Combined Work, in the
-       manner specified by section 6 of the GNU GPL for conveying
-       Corresponding Source.
-
-       1) Use a suitable shared library mechanism for linking with the
-       Library.  A suitable mechanism is one that (a) uses at run time
-       a copy of the Library already present on the user's computer
-       system, and (b) will operate properly with a modified version
-       of the Library that is interface-compatible with the Linked
-       Version.
-
-   e) Provide Installation Information, but only if you would otherwise
-   be required to provide such information under section 6 of the
-   GNU GPL, and only to the extent that such information is
-   necessary to install and execute a modified version of the
-   Combined Work produced by recombining or relinking the
-   Application with a modified version of the Linked Version. (If
-   you use option 4d0, the Installation Information must accompany
-   the Minimal Corresponding Source and Corresponding Application
-   Code. If you use option 4d1, you must provide the Installation
-   Information in the manner specified by section 6 of the GNU GPL
-   for conveying Corresponding Source.)
-
-  5. Combined Libraries.
-
-  You may place library facilities that are a work based on the
-Library side by side in a single library together with other library
-facilities that are not Applications and are not covered by this
-License, and convey such a combined library under terms of your
-choice, if you do both of the following:
-
-   a) Accompany the combined library with a copy of the same work based
-   on the Library, uncombined with any other library facilities,
-   conveyed under the terms of this License.
-
-   b) Give prominent notice with the combined library that part of it
-   is a work based on the Library, and explaining where to find the
-   accompanying uncombined form of the same work.
-
-  6. Revised Versions of the GNU Lesser General Public License.
-
-  The Free Software Foundation may publish revised and/or new versions
-of the GNU Lesser General Public License from time to time. Such new
-versions will be similar in spirit to the present version, but may
-differ in detail to address new problems or concerns.
-
-  Each version is given a distinguishing version number. If the
-Library as you received it specifies that a certain numbered version
-of the GNU Lesser General Public License "or any later version"
-applies to it, you have the option of following the terms and
-conditions either of that published version or of any later version
-published by the Free Software Foundation. If the Library as you
-received it does not specify a version number of the GNU Lesser
-General Public License, you may choose any version of the GNU Lesser
-General Public License ever published by the Free Software Foundation.
-
-  If the Library as you received it specifies that a proxy can decide
-whether future versions of the GNU Lesser General Public License shall
-apply, that proxy's public statement of acceptance of any version is
-permanent authorization for you to choose that version for the
-Library.
index c4f0ab5ee578784528b07b70e4c2d4970ea9ab58..93dd6f5d96d8849660ed7023623cf2015a92c2ff 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <ostream>
index d6a3a43937518bbfaaf5cbe1e2b7be7f53d9dc37..8086839ef8de09f96c4d53e959c6dc3bddfc4ea9 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <ostream>
index c7347a228550ff062ef9353ebe5eb9ecdeeda085..0d5cb36ad481139daeb4a406b2f7d5826fc5a33a 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <iterator>
index 5ff3af26ae144e26dd455adda3c286afa1f3edc8..9ef311cd45011fd86424701ff87380e45fb76e53 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <map>
index 6957e783c94a88c4787f0b37b7a43c25eea558d1..378b249a45586a6d81868b810ef95f75db53a5b6 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include "internal.hpp"
index b090af4685b050e4f1bde3e7741d9e19072d445c..91e41a53a41c4894be505c790bcffafd98331465 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index b6bd0f82c96fbbb21739b347138d0e0367728e27..e740e9404724046c713b54c5d730adaf6a5331d9 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index 297db3db1cce62717fa3a467f7e05933d9588f63..4d674762774a2e3be119f2fdca188a66340e7a3a 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index 025517f27ef0feff46cbb63bc133bb2d54d973b7..2482e8a65eec9957783be3255bf5ddafe71b4d38 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index 4fde561539ce26a6511c156638583f15f4b1dd88..47c256adb086d1e1d6b7cd9316b9855af8742396 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index e89b384d36bf71af28296e979ec9911ffc9aa852..34737d2ff5a730ac42cd4e1b23582792c5aaa4ef 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index e99cbc4d1528818a31be26cf3693b043963bbed9..69b88b694ee09ce7c87aedfd16d6e4346573cce8 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index 8a3335c93cfafeb4740722054b4a969f85ec46bb..58c9d87f9c809f586749d58d0f6ea898454f903a 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index 26d25a9b09e4e3f07c6be19052efd763cf795146..8b10dc4432b47fb07e49db96a226306226aafde7 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index dfe3e0f0e66762397e38286312e1f8022f4fcc02..fcc4e0ee46e1d5deaa59d543d840f5f31fc1d6cb 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index bacf359e771b00e9fa375166d03892ef9fc3d650..1004ccdf9ca3a11761beae82b79edbae47f02220 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index 5d0752a05855924207fbcb15ce19b71a61ee4efc..28105714bb2a9dc041bf884653d7ea220d1795bb 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index 1e41e9b0a794c00c9e0bbbafbc57df68d94a16cf..eab8eba2f035538e4057ce9fc7e19fb159100d1e 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index 90cc8f04d80c4afe31e84e6ba6d5cdc41b186e17..192bd91a36d40ad76e9ce459e831c288165f4360 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index b099eb15cf20b94584468a033e41be355264dad1..6ebbf9960fa7e876b6f34afa74affa2cef37c4a8 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index 7143ab309e13cd12f94f460abd21e0107162744a..fcb4d8d6581bc5b8bd5603966ffd71016ccde622 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 /**
index 0b19ee9d7f0d0f1afe255feda25c3d8fae76ec32..1f6d0d7989efc6e497c03cd00232d556824779ad 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <map>
index 9f1f38f3834112b6e8520099e8747cb0bfd8edd3..237d5d583f2d6270d0b7c8820ff74ff1aa489f3c 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <map>
index db78af6e718303c6c7f05f0fb3ec27b3113344a6..b64daf19fd4612c4c0bd9c6795e9a1dc1e1d12a3 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 #ifndef __LIBGPIOD_CXX_INTERNAL_HPP__
index 1179e0a7af163797d4a8504cf7459533c9188d31..7e3dc8c2f8f41395363efd6f56e7c3ce7610577b 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <cstdlib>
index 9931ed0dc8ed1b1872f4a9615be65ebe77ce1725..2117f68ccb4db6d510152e7e3fe40200fcf9fd1f 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <map>
index e8e0b96bdae40b224f9c5bfd6c1def3c5002aa51..f6b0a66f65fdb48d90739b19e3da6db024dade07 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <iterator>
index 30d789996642473ea20cf778b31f599efa855ee1..300858abc832dd57adce1d9c99ebbda724d9ea8f 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <map>
index d99e8fa9e5291cd757d9878099e08543f2c07101..d6a92c1f14eca2702e49ea3121c7bbcdf5cd3b05 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <iterator>
index dde48e0e4024d8e2de73a68dd85250ba31a6a5d3..eba0b46f84e549e9ca220d4c41c2908337590f22 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include "internal.hpp"
index d11e47b3d87af4858d967dfd4553988935ed762e..87ee2fea62e4f0064c5881666b9f85ea9c618fdb 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <ostream>
index e578b15c62c0c8dbc0057d14a1c842612877d5ee..b44b8b6ffeb55e202fab7aea1ba0d2edd3559a08 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include <ostream>
index 7267e6d5c8f3af7e40ef07108e6334750dfff820..4bda5a2d22306735722486bda7137c89ed8d0291 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 #include <map>
index 320ae96aaccb86b9aea77fed6e2e2c0aabeb7919..8151af6c9d0cf113263af326ce6f4d3f5e2efa04 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 #ifndef __GPIOD_CXX_GPIOSIM_HPP__
index 6534fdb8be036804847b21e0e9a2035e1517df68..eb2c3db23dec51488d8952e1d1dcdd4b48e57472 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: LGPL-2.1-or-later
 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 #include "helpers.hpp"
index 157d221869b43bf26c078e298bc41b85cca38930..62d98270d84778309dab1c4b2c231cbf177bee3e 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
 
 #ifndef __GPIOD_CXX_TEST_HELPERS_HPP__