diff options
author | Aleksander Morgado <aleksandermj@google.com> | 2025-03-13 00:26:01 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@google.com> | 2025-03-13 00:35:24 +0000 |
commit | 48a686a6d92ceb397b5d436e138c2b647d5bf562 (patch) | |
tree | 71cdf97fea66995148792a343e5dd87e470fd469 /include | |
parent | e95336d106c9678433147307f80abe8810ae59bd (diff) |
api: fix license headers in MM API
The libmm-glib library, as well as the ModemManager headers installed
as part of the D-Bus service API, have always been LGPLv2+ licensed,
because we want users of the service to rely on them in their own
programs, even if they are proprietary.
Some files had an incorrect GPLv2+ header instead of the LGPLv2+ and
that was confusing. All public headers in the MM API have the correct
license text now.
Signed-off-by: Aleksander Morgado <aleksandermj@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/ModemManager-compat.h | 21 | ||||
-rw-r--r-- | include/ModemManager-enums.h | 21 | ||||
-rw-r--r-- | include/ModemManager-errors.h | 21 | ||||
-rw-r--r-- | include/ModemManager-tags.h | 21 | ||||
-rw-r--r-- | include/ModemManager-version.h.in | 2 | ||||
-rw-r--r-- | include/ModemManager.h | 1 |
6 files changed, 58 insertions, 29 deletions
diff --git a/include/ModemManager-compat.h b/include/ModemManager-compat.h index 048ac7d9..3d861dad 100644 --- a/include/ModemManager-compat.h +++ b/include/ModemManager-compat.h @@ -1,14 +1,21 @@ /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* - * 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. + * ModemManager Interface Specification * - * This program is distributed in the hope that it will be useful, + * 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 General Public License for more details: + * 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. * * Copyright (C) 2017 Google, Inc. */ diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h index 3cd46381..a12e1a24 100644 --- a/include/ModemManager-enums.h +++ b/include/ModemManager-enums.h @@ -1,14 +1,21 @@ /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* - * 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. + * ModemManager Interface Specification * - * This program is distributed in the hope that it will be useful, + * 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 General Public License for more details: + * 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. * * Copyright (C) 2011 Red Hat, Inc. * Copyright (C) 2011 Google, Inc. diff --git a/include/ModemManager-errors.h b/include/ModemManager-errors.h index 4a7c5ce7..572b8a00 100644 --- a/include/ModemManager-errors.h +++ b/include/ModemManager-errors.h @@ -1,14 +1,21 @@ /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* - * 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. + * ModemManager Interface Specification * - * This program is distributed in the hope that it will be useful, + * 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 General Public License for more details: + * 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. * * Copyright (C) 2011 Red Hat, Inc. * Copyright (C) 2011 Google, Inc. diff --git a/include/ModemManager-tags.h b/include/ModemManager-tags.h index 74e9a0d7..fc2136ae 100644 --- a/include/ModemManager-tags.h +++ b/include/ModemManager-tags.h @@ -1,14 +1,21 @@ /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* - * 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. + * ModemManager Interface Specification * - * This program is distributed in the hope that it will be useful, + * 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 General Public License for more details: + * 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. * * Copyright (C) 2018 Aleksander Morgado <aleksander@aleksander.es> */ diff --git a/include/ModemManager-version.h.in b/include/ModemManager-version.h.in index b3b20003..308f1511 100644 --- a/include/ModemManager-version.h.in +++ b/include/ModemManager-version.h.in @@ -1,5 +1,7 @@ /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* + * ModemManager Interface Specification + * * 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 diff --git a/include/ModemManager.h b/include/ModemManager.h index 530bd210..02bd879e 100644 --- a/include/ModemManager.h +++ b/include/ModemManager.h @@ -1,6 +1,5 @@ /* * ModemManager Interface Specification - * version 1.x * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public |