@@ -1,9 +1,10 @@
#
# Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
#
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of version 2.1 of the GNU Lesser General Public License
-# as published by the Free Software Foundation.
+# This library is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
#
# libgpiod doxygen configuration
@@ -1,9 +1,10 @@
#
# Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
#
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of version 2.1 of the GNU Lesser General Public License
-# as published by the Free Software Foundation.
+# This library is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
#
ACLOCAL_AMFLAGS = -I m4
@@ -1,9 +1,10 @@
#
# Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
#
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of version 2.1 of the GNU Lesser General Public License
-# as published by the Free Software Foundation.
+# This library is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
#
AC_PREREQ(2.61)
@@ -1,9 +1,10 @@
#
# Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
#
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of version 2.1 of the GNU Lesser General Public License
-# as published by the Free Software Foundation.
+# This library is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
#
include_HEADERS = gpiod.h
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
/**
@@ -1,9 +1,10 @@
#
# Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
#
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of version 2.1 of the GNU Lesser General Public License
-# as published by the Free Software Foundation.
+# This library is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
#
SUBDIRS = lib
@@ -1,9 +1,10 @@
#
# Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
#
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of version 2.1 of the GNU Lesser General Public License
-# as published by the Free Software Foundation.
+# This library is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
#
lib_LTLIBRARIES = libgpiod.la
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include <gpiod.h>
@@ -1,9 +1,10 @@
#
# Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
#
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of version 2.1 of the GNU Lesser General Public License
-# as published by the Free Software Foundation.
+# This library is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
#
AM_CFLAGS = -I$(top_srcdir)/include/ -include $(top_builddir)/config.h
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include <gpiod.h>
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include <gpiod.h>
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include <gpiod.h>
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include <gpiod.h>
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include <gpiod.h>
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include <gpiod.h>
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include <gpiod.h>
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#ifndef __GPIOD_TOOLS_COMMON_H__
@@ -1,9 +1,10 @@
#
# Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
#
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of version 2.1 of the GNU Lesser General Public License
-# as published by the Free Software Foundation.
+# This library is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
#
AM_CFLAGS = -I$(top_srcdir)/include/ -include $(top_builddir)/config.h
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#ifndef __GPIOD_TEST_H__
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
@@ -3,9 +3,10 @@
*
* Copyright (C) 2017 Bartosz Golaszewski <bartekgola@gmail.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at
+ * your option) any later version.
*/
#include "gpiod-test.h"
The license type of COPYING file is "LGPL-2.1+", but it declared with "LGPL-2.1" in the beginning of source files This patch fixes license type inconsistent issue in each source file (cherry picked from commit 423c8c3c5255d8324435c902de6c51ad4f294c21) Signed-off-by: SZ Lin <sz.lin@moxa.com> --- Doxyfile | 7 ++++--- Makefile.am | 7 ++++--- configure.ac | 7 ++++--- include/Makefile.am | 7 ++++--- include/gpiod.h | 7 ++++--- src/Makefile.am | 7 ++++--- src/lib/Makefile.am | 7 ++++--- src/lib/core.c | 7 ++++--- src/tools/Makefile.am | 7 ++++--- src/tools/gpiodetect.c | 7 ++++--- src/tools/gpiofind.c | 7 ++++--- src/tools/gpioget.c | 7 ++++--- src/tools/gpioinfo.c | 7 ++++--- src/tools/gpiomon.c | 7 ++++--- src/tools/gpioset.c | 7 ++++--- src/tools/tools-common.c | 7 ++++--- src/tools/tools-common.h | 7 ++++--- tests/Makefile.am | 7 ++++--- tests/gpiod-test.c | 7 ++++--- tests/gpiod-test.h | 7 ++++--- tests/tests-chip.c | 7 ++++--- tests/tests-event.c | 7 ++++--- tests/tests-gpiodetect.c | 7 ++++--- tests/tests-gpiofind.c | 7 ++++--- tests/tests-gpioget.c | 7 ++++--- tests/tests-gpioinfo.c | 7 ++++--- tests/tests-gpiomon.c | 7 ++++--- tests/tests-gpioset.c | 7 ++++--- tests/tests-iter.c | 7 ++++--- tests/tests-line.c | 7 ++++--- tests/tests-misc.c | 7 ++++--- tests/tests-simple-api.c | 7 ++++--- 32 files changed, 128 insertions(+), 96 deletions(-)