From 96d801803ce2047fe37c8950f3b95312cf82aaa9 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Fri, 12 Apr 2019 12:53:54 +0300 Subject: [PATCH] switch all headers to use SPDX-License-Identifier --- lib/wp/error.c | 15 ++------------- lib/wp/error.h | 15 ++------------- lib/wp/interface-impl.c | 15 ++------------- lib/wp/interface-impl.h | 15 ++------------- lib/wp/object.c | 15 ++------------- lib/wp/object.h | 15 ++------------- src/core.c | 15 ++------------- src/core.h | 15 ++------------- src/loop-source.c | 15 ++------------- src/loop-source.h | 15 ++------------- src/main.c | 15 ++------------- src/utils.c | 15 ++------------- src/utils.h | 15 ++------------- 13 files changed, 26 insertions(+), 169 deletions(-) diff --git a/lib/wp/error.c b/lib/wp/error.c index 97d009de..a6b94a9e 100644 --- a/lib/wp/error.c +++ b/lib/wp/error.c @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #include "error.h" diff --git a/lib/wp/error.h b/lib/wp/error.h index 287f8722..3d229d00 100644 --- a/lib/wp/error.h +++ b/lib/wp/error.h @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #ifndef __WP_ERROR_H__ #define __WP_ERROR_H__ diff --git a/lib/wp/interface-impl.c b/lib/wp/interface-impl.c index 25b50bd2..80ec4f30 100644 --- a/lib/wp/interface-impl.c +++ b/lib/wp/interface-impl.c @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #include "interface-impl.h" #include "object.h" diff --git a/lib/wp/interface-impl.h b/lib/wp/interface-impl.h index 87800d65..7e71254e 100644 --- a/lib/wp/interface-impl.h +++ b/lib/wp/interface-impl.h @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #ifndef __WP_INTERFACE_IMPL_H__ #define __WP_INTERFACE_IMPL_H__ diff --git a/lib/wp/object.c b/lib/wp/object.c index 3bbb7d3a..70d9b171 100644 --- a/lib/wp/object.c +++ b/lib/wp/object.c @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #include "object.h" #include "error.h" diff --git a/lib/wp/object.h b/lib/wp/object.h index 1332cf44..0f2332fd 100644 --- a/lib/wp/object.h +++ b/lib/wp/object.h @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #ifndef __WP_OBJECT_H__ #define __WP_OBJECT_H__ diff --git a/src/core.c b/src/core.c index a47346bc..ad47cac7 100644 --- a/src/core.c +++ b/src/core.c @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #define G_LOG_DOMAIN "wireplumber-core" diff --git a/src/core.h b/src/core.h index ce0b10eb..f2cfb9e1 100644 --- a/src/core.h +++ b/src/core.h @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #ifndef __WIREPLUMBER_CORE_H__ #define __WIREPLUMBER_CORE_H__ diff --git a/src/loop-source.c b/src/loop-source.c index b9f4905d..94e9045f 100644 --- a/src/loop-source.c +++ b/src/loop-source.c @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #define G_LOG_DOMAIN "wireplumber-loop" diff --git a/src/loop-source.h b/src/loop-source.h index 764bc416..c52acee7 100644 --- a/src/loop-source.h +++ b/src/loop-source.h @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #ifndef __WIREPLUMBER_LOOP_SOURCE_H__ #define __WIREPLUMBER_LOOP_SOURCE_H__ diff --git a/src/main.c b/src/main.c index 8590b401..3c1b9169 100644 --- a/src/main.c +++ b/src/main.c @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #define G_LOG_DOMAIN "wireplumber" diff --git a/src/utils.c b/src/utils.c index 93d47989..f6bc0bb9 100644 --- a/src/utils.c +++ b/src/utils.c @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #include "utils.h" diff --git a/src/utils.h b/src/utils.h index 825bcb90..9a2d99cf 100644 --- a/src/utils.h +++ b/src/utils.h @@ -3,19 +3,8 @@ * Copyright © 2019 Collabora Ltd. * @author George Kiagiadakis * - * This program 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.1 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . -*/ + * SPDX-License-Identifier: LGPL-2.1-or-later + */ #ifndef __WIREPLUMBER_UTILS_H__ #define __WIREPLUMBER_UTILS_H__