diff options
author | Dan Williams <dan@ioncontrol.co> | 2025-03-13 20:53:18 +0000 |
---|---|---|
committer | Dan Williams <dan@ioncontrol.co> | 2025-03-13 20:53:18 +0000 |
commit | 3b4bb4544215173048a0feb674cfcba7a7ad0d07 (patch) | |
tree | 71cdf97fea66995148792a343e5dd87e470fd469 | |
parent | e95336d106c9678433147307f80abe8810ae59bd (diff) | |
parent | 48a686a6d92ceb397b5d436e138c2b647d5bf562 (diff) |
Merge request !1317 from 'clarify-licensing'
api: fix license headers in MM API
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/1317
-rw-r--r-- | README.md | 5 | ||||
-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 |
7 files changed, 61 insertions, 31 deletions
@@ -61,8 +61,9 @@ and need to add or change some public method, feel free to suggest it! ## License -The ModemManager and mmcli binaries are both GPLv2+. -The libmm-glib library is LGPLv2+. +The ModemManager and mmcli binaries are both GPLv2+ (See COPYING). +The libmm-glib library and the ModemManager API headers are LGPLv2+ (See +COPYING.LIB). ## Code of Conduct 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 |