diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-01-15 21:40:12 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-01-15 22:05:11 +0300 |
commit | 326449b3e6b38b0c9861f3a67e0a92629500336f (patch) | |
tree | d55a088b075bba23f933d91f5812171c8f58306e /text/wrap | |
parent | 0c7764fa40c1edb87b7f08a043d836808db02169 (diff) |
Re-license LGPL-2.1 plugins to MPL-2
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/168
Diffstat (limited to 'text/wrap')
-rw-r--r-- | text/wrap/Cargo.toml | 2 | ||||
l--------- | text/wrap/LICENSE-LGPLv2 | 1 | ||||
l--------- | text/wrap/LICENSE-MPL-2.0 | 1 | ||||
-rw-r--r-- | text/wrap/src/gsttextwrap/imp.rs | 17 | ||||
-rw-r--r-- | text/wrap/src/gsttextwrap/mod.rs | 17 | ||||
-rw-r--r-- | text/wrap/src/lib.rs | 20 | ||||
-rw-r--r-- | text/wrap/tests/textwrap.rs | 17 |
7 files changed, 20 insertions, 55 deletions
diff --git a/text/wrap/Cargo.toml b/text/wrap/Cargo.toml index cfb5a33e..244c8e95 100644 --- a/text/wrap/Cargo.toml +++ b/text/wrap/Cargo.toml @@ -2,7 +2,7 @@ name = "gst-plugin-textwrap" version = "0.9.0" authors = ["Mathieu Duponchelle <mathieu@centricular.com>"] -license = "LGPL-2.1-or-later" +license = "MPL-2.0" edition = "2021" rust-version = "1.56" description = "Rust Text Wrap Plugin" diff --git a/text/wrap/LICENSE-LGPLv2 b/text/wrap/LICENSE-LGPLv2 deleted file mode 120000 index e7646620..00000000 --- a/text/wrap/LICENSE-LGPLv2 +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-LGPLv2
\ No newline at end of file diff --git a/text/wrap/LICENSE-MPL-2.0 b/text/wrap/LICENSE-MPL-2.0 new file mode 120000 index 00000000..eb5d24fe --- /dev/null +++ b/text/wrap/LICENSE-MPL-2.0 @@ -0,0 +1 @@ +../../LICENSE-MPL-2.0
\ No newline at end of file diff --git a/text/wrap/src/gsttextwrap/imp.rs b/text/wrap/src/gsttextwrap/imp.rs index b7395a95..32ab807b 100644 --- a/text/wrap/src/gsttextwrap/imp.rs +++ b/text/wrap/src/gsttextwrap/imp.rs @@ -1,19 +1,10 @@ // Copyright (C) 2020 Mathieu Duponchelle <mathieu@centricular.com> // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. +// This Source Code Form is subject to the terms of the Mozilla Public License, v2.0. +// If a copy of the MPL was not distributed with this file, You can obtain one at +// <https://mozilla.org/MPL/2.0/>. // -// 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the -// Free Software Foundation, Inc., 51 Franklin Street, Suite 500, -// Boston, MA 02110-1335, USA. +// SPDX-License-Identifier: MPL-2.0 use gst::glib; use gst::prelude::*; diff --git a/text/wrap/src/gsttextwrap/mod.rs b/text/wrap/src/gsttextwrap/mod.rs index 5d9554f5..4493d5ef 100644 --- a/text/wrap/src/gsttextwrap/mod.rs +++ b/text/wrap/src/gsttextwrap/mod.rs @@ -1,19 +1,10 @@ // Copyright (C) 2020 Mathieu Duponchelle <mathieu@centricular.com> // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. +// This Source Code Form is subject to the terms of the Mozilla Public License, v2.0. +// If a copy of the MPL was not distributed with this file, You can obtain one at +// <https://mozilla.org/MPL/2.0/>. // -// 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the -// Free Software Foundation, Inc., 51 Franklin Street, Suite 500, -// Boston, MA 02110-1335, USA. +// SPDX-License-Identifier: MPL-2.0 use gst::glib; use gst::prelude::*; diff --git a/text/wrap/src/lib.rs b/text/wrap/src/lib.rs index e8b5726d..642faf49 100644 --- a/text/wrap/src/lib.rs +++ b/text/wrap/src/lib.rs @@ -1,19 +1,10 @@ // Copyright (C) 2020 Mathieu Duponchelle <mathieu@centricular.com> // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. +// This Source Code Form is subject to the terms of the Mozilla Public License, v2.0. +// If a copy of the MPL was not distributed with this file, You can obtain one at +// <https://mozilla.org/MPL/2.0/>. // -// 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the -// Free Software Foundation, Inc., 51 Franklin Street, Suite 500, -// Boston, MA 02110-1335, USA. +// SPDX-License-Identifier: MPL-2.0 #![allow(clippy::non_send_fields_in_send_ty)] #![recursion_limit = "128"] @@ -30,7 +21,8 @@ gst::plugin_define!( env!("CARGO_PKG_DESCRIPTION"), plugin_init, concat!(env!("CARGO_PKG_VERSION"), "-", env!("COMMIT_ID")), - "LGPL", + // FIXME: MPL-2.0 is only allowed since 1.18.3 (as unknown) and 1.20 (as known) + "MPL", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_NAME"), env!("CARGO_PKG_REPOSITORY"), diff --git a/text/wrap/tests/textwrap.rs b/text/wrap/tests/textwrap.rs index b399156c..a385f89e 100644 --- a/text/wrap/tests/textwrap.rs +++ b/text/wrap/tests/textwrap.rs @@ -1,19 +1,10 @@ // Copyright (C) 2020 Mathieu Duponchelle <mathieu@centricular.com> // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. +// This Source Code Form is subject to the terms of the Mozilla Public License, v2.0. +// If a copy of the MPL was not distributed with this file, You can obtain one at +// <https://mozilla.org/MPL/2.0/>. // -// 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 -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the -// Free Software Foundation, Inc., 51 Franklin Street, Suite 500, -// Boston, MA 02110-1335, USA. +// SPDX-License-Identifier: MPL-2.0 use gst::prelude::*; |