From f925c21b1dd20b54abf46e7581cd540761aa2df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Wed, 9 Feb 2022 11:28:59 +0100 Subject: [PATCH] GPS: cleanup the license Keep only the SPDX and mention the project --- src/app.rs | 13 +------------ src/common.rs | 13 +------------ src/gps/element.rs | 13 +------------ src/gps/pad.rs | 13 +------------ src/gps/player.rs | 13 +------------ src/logger.rs | 8 ++++++++ src/main.rs | 14 ++------------ src/settings.rs | 8 ++++++++ src/ui/about.rs | 14 ++------------ src/ui/dialog.rs | 14 ++------------ src/ui/elements.rs | 13 +------------ src/ui/logger.rs | 14 ++------------ src/ui/message.rs | 13 +------------ src/ui/mod.rs | 16 +++------------- src/ui/preferences.rs | 14 ++------------ src/ui/properties.rs | 14 ++------------ src/ui/treeview.rs | 14 ++------------ 17 files changed, 40 insertions(+), 181 deletions(-) diff --git a/src/app.rs b/src/app.rs index 9cf6dda..1327dd7 100644 --- a/src/app.rs +++ b/src/app.rs @@ -2,18 +2,7 @@ // // Copyright 2021 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only diff --git a/src/common.rs b/src/common.rs index 6994572..42b83d8 100644 --- a/src/common.rs +++ b/src/common.rs @@ -2,18 +2,7 @@ // // Copyright 2021 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only diff --git a/src/gps/element.rs b/src/gps/element.rs index f7d497f..1852afd 100644 --- a/src/gps/element.rs +++ b/src/gps/element.rs @@ -2,18 +2,7 @@ // // Copyright 2022 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only diff --git a/src/gps/pad.rs b/src/gps/pad.rs index 1ade67c..9be4b7f 100644 --- a/src/gps/pad.rs +++ b/src/gps/pad.rs @@ -2,18 +2,7 @@ // // Copyright 2022 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only diff --git a/src/gps/player.rs b/src/gps/player.rs index afc762e..112a061 100644 --- a/src/gps/player.rs +++ b/src/gps/player.rs @@ -2,18 +2,7 @@ // // Copyright 2021 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only diff --git a/src/logger.rs b/src/logger.rs index b3f1728..129ef75 100644 --- a/src/logger.rs +++ b/src/logger.rs @@ -1,3 +1,11 @@ +// logger.rs +// +// Copyright 2022 Stéphane Cerveau +// +// This file is part of GstPipelineStudio +// +// SPDX-License-Identifier: GPL-3.0-only + use gtk::glib::Sender; use log::{debug, error, info, trace, warn}; use simplelog::*; diff --git a/src/main.rs b/src/main.rs index cc3414c..e7da592 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,20 +2,10 @@ // // Copyright 2021 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only + #[macro_use] mod macros; mod app; diff --git a/src/settings.rs b/src/settings.rs index 2bf7650..d617a0d 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -1,3 +1,11 @@ +// settings.rs +// +// Copyright 2022 Stéphane Cerveau +// +// This file is part of GstPipelineStudio +// +// SPDX-License-Identifier: GPL-3.0-only + use gtk::glib; use std::collections::HashMap; use std::fs::create_dir_all; diff --git a/src/ui/about.rs b/src/ui/about.rs index fb8c713..bdf3ee4 100644 --- a/src/ui/about.rs +++ b/src/ui/about.rs @@ -2,20 +2,10 @@ // // Copyright 2021 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only + use crate::app::GPSApp; use crate::config; use gettextrs::gettext; diff --git a/src/ui/dialog.rs b/src/ui/dialog.rs index b715257..fa0265d 100644 --- a/src/ui/dialog.rs +++ b/src/ui/dialog.rs @@ -2,20 +2,10 @@ // // Copyright 2022 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only + use crate::app::GPSApp; use gtk::glib; diff --git a/src/ui/elements.rs b/src/ui/elements.rs index 38dc6b7..8bd67b0 100644 --- a/src/ui/elements.rs +++ b/src/ui/elements.rs @@ -2,18 +2,7 @@ // // Copyright 2022 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only diff --git a/src/ui/logger.rs b/src/ui/logger.rs index d942c2a..8eebc49 100644 --- a/src/ui/logger.rs +++ b/src/ui/logger.rs @@ -2,20 +2,10 @@ // // Copyright 2022 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only + use crate::app::GPSApp; use crate::ui::treeview; use gtk::prelude::*; diff --git a/src/ui/message.rs b/src/ui/message.rs index 8741ef9..7714337 100644 --- a/src/ui/message.rs +++ b/src/ui/message.rs @@ -2,18 +2,7 @@ // // Copyright 2022 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only diff --git a/src/ui/mod.rs b/src/ui/mod.rs index 3c55ebc..f205bb6 100644 --- a/src/ui/mod.rs +++ b/src/ui/mod.rs @@ -1,21 +1,11 @@ -// ui/mod.rs +// mod.rs // // Copyright 2022 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only + pub mod about; pub mod dialog; pub mod elements; diff --git a/src/ui/preferences.rs b/src/ui/preferences.rs index e1540e9..9d08dde 100644 --- a/src/ui/preferences.rs +++ b/src/ui/preferences.rs @@ -2,20 +2,10 @@ // // Copyright 2022 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only + use crate::app::GPSApp; use crate::settings; diff --git a/src/ui/properties.rs b/src/ui/properties.rs index 5c5dc19..8284c63 100644 --- a/src/ui/properties.rs +++ b/src/ui/properties.rs @@ -2,20 +2,10 @@ // // Copyright 2022 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only + use crate::app::GPSApp; use crate::gps as GPS; use crate::logger; diff --git a/src/ui/treeview.rs b/src/ui/treeview.rs index 077d640..d24abb6 100644 --- a/src/ui/treeview.rs +++ b/src/ui/treeview.rs @@ -2,20 +2,10 @@ // // Copyright 2022 Stéphane Cerveau // -// 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 3 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, see . +// This file is part of GstPipelineStudio // // SPDX-License-Identifier: GPL-3.0-only + use crate::app::GPSApp; use gtk::prelude::TreeViewExt; use gtk::{CellRendererText, TreeView, TreeViewColumn};