From 66f75ce34d5afe7f719db15bb36186121fcbef74 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Sat, 7 Sep 2019 18:48:10 +0200 Subject: [PATCH] docs: include the license boilerplate instead of full GPL text What's actually needed here is an explaination of how the license applies along with the explanation where to find the full text. Also, the libnm documentation was lacking the licensing information altogether. Fix fixes it too. --- docs/api/Makefile.am | 1 - docs/api/meson.build | 1 - docs/api/network-manager-docs.xml | 34 ++++++++++++++++++++++++-- docs/libnm/libnm-docs.xml | 40 ++++++++++++++++++++++++++++++- 4 files changed, 71 insertions(+), 5 deletions(-) diff --git a/docs/api/Makefile.am b/docs/api/Makefile.am index 33ca2e35e3..44933bc980 100644 --- a/docs/api/Makefile.am +++ b/docs/api/Makefile.am @@ -91,7 +91,6 @@ content_files = \ $(top_builddir)/man/nm-settings.xml \ $(top_builddir)/man/nm-settings-keyfile.xml \ version.xml \ - ../../COPYING \ $(NULL) diff --git a/docs/api/meson.build b/docs/api/meson.build index 6b3a0fa772..62c5b8c926 100644 --- a/docs/api/meson.build +++ b/docs/api/meson.build @@ -20,7 +20,6 @@ configure_file( configuration: version_conf, ) -content_files += join_paths(meson.source_root(), 'COPYING') filecopier = find_program('cp') foreach intro : introspection_files path = intro[1].split('/')[-1] diff --git a/docs/api/network-manager-docs.xml b/docs/api/network-manager-docs.xml index 8cf97585a0..fd7a1c3ec4 100644 --- a/docs/api/network-manager-docs.xml +++ b/docs/api/network-manager-docs.xml @@ -295,11 +295,41 @@ - License + -FIXME: MISSING XINCLUDE CONTENT + This program is free software; you can redistribute + it and/or modify it under the terms of the GNU + General Public License as published by the Free + Software Foundation; either version 2 of the License, or + (at your option) any later version. + + + + This program is distributed in the hope that it will + be useful, but WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + + + You should have received a copy of the GNU + General Public License along with this program; + if not, write to the +
+ Free Software Foundation, Inc., + 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, + USA +
+
+ + + A copy of the GNU General Public License + can also be obtained from the + GNU web site.
diff --git a/docs/libnm/libnm-docs.xml b/docs/libnm/libnm-docs.xml index c6471348ca..b66e95ef5a 100644 --- a/docs/libnm/libnm-docs.xml +++ b/docs/libnm/libnm-docs.xml @@ -309,5 +309,43 @@ print ("NetworkManager version " + client.get_version())]]> - + + License + + + 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 of the + License, or (at your option) any later version. + + + + This library is distributed in the hope that it will + be useful, but WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A + PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + + + You should have received a copy of the GNU + Lesser General Public License along with this + library; if not, write to the +
+ Free Software Foundation, Inc., + 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, + USA +
+
+ + + A copy of the GNU Lesser General Public License + can also be obtained from the + GNU web site. + +
+ +