From 73050356caaba1d6a012d2da34ed9e064c373767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=A3=D8=AD=D9=85=D8=AF=20=D8=A7=D9=84=D9=85=D8=AD=D9=85?= =?UTF-8?q?=D9=88=D8=AF=D9=8A=20=28Ahmed=20El-Mahmoudy=29?= Date: Thu, 4 Dec 2025 02:05:40 +0100 Subject: [PATCH 1/2] Use SPDX license headers --- src/compat.cc | 3 ++- src/compat.h | 3 ++- src/configfile.cc | 3 ++- src/configfile.h | 3 ++- src/consolestream.cc | 3 ++- src/filestream.cc | 3 ++- src/glib-extra.c | 3 ++- src/glib-extra.h | 3 ++- src/gst123.cc | 5 +++-- src/gtkinterface.cc | 3 ++- src/gtkinterface.h | 3 ++- src/httpstream.cc | 3 ++- src/iostream.cc | 3 ++- src/iostream.h | 3 ++- src/keyhandler.h | 3 ++- src/m3uparser.cc | 3 ++- src/m3uparser.h | 3 ++- src/microconf.cc | 3 ++- src/microconf.h | 3 ++- src/msg.cc | 3 ++- src/msg.h | 3 ++- src/networkstream.cc | 3 ++- src/options.cc | 5 +++-- src/options.h | 3 ++- src/playlist.cc | 3 ++- src/playlist.h | 7 ++++--- src/plsparser.cc | 3 ++- src/plsparser.h | 7 ++++--- src/terminal.cc | 3 ++- src/terminal.h | 3 ++- src/typefinder.cc | 3 ++- src/typefinder.h | 3 ++- src/uri.cc | 3 ++- src/uri.h | 3 ++- src/utils.cc | 3 ++- src/utils.h | 3 ++- src/visualization.cc | 3 ++- src/visualization.h | 3 ++- 38 files changed, 82 insertions(+), 44 deletions(-) diff --git a/src/compat.cc b/src/compat.cc index 1f18c8a..e065288 100644 --- a/src/compat.cc +++ b/src/compat.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2013 Stefan Westerfeld + * SPDX-FileCopyrightText: 2013 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/compat.h b/src/compat.h index f1c7cd9..cf192fa 100644 --- a/src/compat.h +++ b/src/compat.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2013 Stefan Westerfeld + * SPDX-FileCopyrightText: 2013 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/configfile.cc b/src/configfile.cc index 7514192..0853e3a 100644 --- a/src/configfile.cc +++ b/src/configfile.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/configfile.h b/src/configfile.h index e9ee143..fa8dc1f 100644 --- a/src/configfile.h +++ b/src/configfile.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/consolestream.cc b/src/consolestream.cc index b9bc217..65477f7 100644 --- a/src/consolestream.cc +++ b/src/consolestream.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Siddhesh Poyarekar + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/filestream.cc b/src/filestream.cc index a884ff2..c87b9c1 100644 --- a/src/filestream.cc +++ b/src/filestream.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Siddhesh Poyarekar + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/glib-extra.c b/src/glib-extra.c index a000eba..0acd35c 100644 --- a/src/glib-extra.c +++ b/src/glib-extra.c @@ -1,5 +1,6 @@ /* GLib Extra - Tentative GLib code and GLib supplements - * Copyright (C) 1997-2002 Tim Janik + * SPDX-FileCopyrightText: 1997-2002 Tim Janik + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/glib-extra.h b/src/glib-extra.h index 3928309..41f62a6 100644 --- a/src/glib-extra.h +++ b/src/glib-extra.h @@ -1,5 +1,6 @@ /* GLib Extra - Tentative GLib code and GLib supplements - * Copyright (C) 1997-2002 Tim Janik + * SPDX-FileCopyrightText: 1997-2002 Tim Janik + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/gst123.cc b/src/gst123.cc index 756c885..c00b2c4 100644 --- a/src/gst123.cc +++ b/src/gst123.cc @@ -1,6 +1,7 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2006-2010 Stefan Westerfeld - * Copyright (C) 2010 أحمد المحمودي (Ahmed El-Mahmoudy) + * SPDX-FileCopyrightText: 2006-2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 أحمد المحمودي (Ahmed El-Mahmoudy) + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/gtkinterface.cc b/src/gtkinterface.cc index 6e53a2f..88de8ac 100644 --- a/src/gtkinterface.cc +++ b/src/gtkinterface.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/gtkinterface.h b/src/gtkinterface.h index abdafe1..0949908 100644 --- a/src/gtkinterface.h +++ b/src/gtkinterface.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/httpstream.cc b/src/httpstream.cc index 8df62d9..a6c3c8b 100644 --- a/src/httpstream.cc +++ b/src/httpstream.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Siddhesh Poyarekar + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/iostream.cc b/src/iostream.cc index 3043a3f..2cdfcf8 100644 --- a/src/iostream.cc +++ b/src/iostream.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Siddhesh Poyarekar + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/iostream.h b/src/iostream.h index 792c6fb..2e534c9 100644 --- a/src/iostream.h +++ b/src/iostream.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Siddhesh Poyarekar + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/keyhandler.h b/src/keyhandler.h index 1f01a0c..74cbfa8 100644 --- a/src/keyhandler.h +++ b/src/keyhandler.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/m3uparser.cc b/src/m3uparser.cc index 29acc6c..75c7892 100644 --- a/src/m3uparser.cc +++ b/src/m3uparser.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Siddhesh Poyarekar + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/m3uparser.h b/src/m3uparser.h index 14640c4..ec93406 100644 --- a/src/m3uparser.h +++ b/src/m3uparser.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Siddhesh Poyarekar + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/microconf.cc b/src/microconf.cc index a1f6de5..4f695f8 100644 --- a/src/microconf.cc +++ b/src/microconf.cc @@ -1,5 +1,6 @@ /* MicroConf - minimal configuration framework - * Copyright (C) 2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/microconf.h b/src/microconf.h index 5b3c249..c3b961e 100644 --- a/src/microconf.h +++ b/src/microconf.h @@ -1,5 +1,6 @@ /* MicroConf - minimal configuration framework - * Copyright (C) 2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/msg.cc b/src/msg.cc index d6957d7..536702c 100644 --- a/src/msg.cc +++ b/src/msg.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2012 Stefan Westerfeld + * SPDX-FileCopyrightText: 2012 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/msg.h b/src/msg.h index 44e4ba2..cb10e9a 100644 --- a/src/msg.h +++ b/src/msg.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2012 Stefan Westerfeld + * SPDX-FileCopyrightText: 2012 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/networkstream.cc b/src/networkstream.cc index 2c323f1..b43f584 100644 --- a/src/networkstream.cc +++ b/src/networkstream.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Siddhesh Poyarekar + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/options.cc b/src/options.cc index 3be7dd0..449596b 100644 --- a/src/options.cc +++ b/src/options.cc @@ -1,6 +1,7 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2006-2010 Stefan Westerfeld - * Copyright (C) 2010 أحمد المحمودي (Ahmed El-Mahmoudy) + * SPDX-FileCopyrightText: 2006-2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 أحمد المحمودي (Ahmed El-Mahmoudy) + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/options.h b/src/options.h index e60b014..b78ff8b 100644 --- a/src/options.h +++ b/src/options.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/playlist.cc b/src/playlist.cc index ce50d2a..b8cded4 100644 --- a/src/playlist.cc +++ b/src/playlist.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Siddhesh Poyarekar + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/playlist.h b/src/playlist.h index 9872519..6a5b360 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -1,9 +1,10 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2006-2010 Stefan Westerfeld - * Copyright (C) 2010 أحمد المحمودي (Ahmed El-Mahmoudy) + * SPDX-FileCopyrightText: 2006-2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 أحمد المحمودي (Ahmed El-Mahmoudy) + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * Playlist support: Playlist base object - * Copyright (C) 2010 Siddhesh Poyarekar * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/plsparser.cc b/src/plsparser.cc index 7c7d139..35e0e7b 100644 --- a/src/plsparser.cc +++ b/src/plsparser.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Siddhesh Poyarekar + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/plsparser.h b/src/plsparser.h index 9239bbb..6b185ee 100644 --- a/src/plsparser.h +++ b/src/plsparser.h @@ -1,9 +1,10 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2006-2010 Stefan Westerfeld - * Copyright (C) 2010 أحمد المحمودي (Ahmed El-Mahmoudy) + * SPDX-FileCopyrightText: 2006-2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 أحمد المحمودي (Ahmed El-Mahmoudy) + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * Playlist support: PLS playlist parser - * Copyright (C) 2010 Siddhesh Poyarekar * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/terminal.cc b/src/terminal.cc index 92cc49b..8653047 100644 --- a/src/terminal.cc +++ b/src/terminal.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/terminal.h b/src/terminal.h index ff45e3f..2d5a0e1 100644 --- a/src/terminal.h +++ b/src/terminal.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/typefinder.cc b/src/typefinder.cc index 0177ba7..0dba5d0 100644 --- a/src/typefinder.cc +++ b/src/typefinder.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2012 Stefan Westerfeld + * SPDX-FileCopyrightText: 2010 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/typefinder.h b/src/typefinder.h index d1b587e..c75ec61 100644 --- a/src/typefinder.h +++ b/src/typefinder.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2012 Stefan Westerfeld + * SPDX-FileCopyrightText: 2012 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/uri.cc b/src/uri.cc index 68770f3..e94825e 100644 --- a/src/uri.cc +++ b/src/uri.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Siddhesh Poyarekar + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/uri.h b/src/uri.h index c48fd3f..4b46040 100644 --- a/src/uri.h +++ b/src/uri.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2010 Siddhesh Poyarekar + * SPDX-FileCopyrightText: 2010 Siddhesh Poyarekar + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/utils.cc b/src/utils.cc index f1c405d..fd077fe 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2016 Stefan Westerfeld + * SPDX-FileCopyrightText: 2016 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/utils.h b/src/utils.h index 89309a1..ae8e237 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2016 Stefan Westerfeld + * SPDX-FileCopyrightText: 2016 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/visualization.cc b/src/visualization.cc index 7453102..97626f3 100644 --- a/src/visualization.cc +++ b/src/visualization.cc @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2012 Stefan Westerfeld + * SPDX-FileCopyrightText: 2012 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/visualization.h b/src/visualization.h index 3efe5f9..a1f4a52 100644 --- a/src/visualization.h +++ b/src/visualization.h @@ -1,5 +1,6 @@ /* GST123 - GStreamer based command line media player - * Copyright (C) 2012 Stefan Westerfeld + * SPDX-FileCopyrightText: 2012 Stefan Westerfeld + * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public From 108fd22acd2d42bae792483caa99683e6a701133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=A3=D8=AD=D9=85=D8=AF=20=D8=A7=D9=84=D9=85=D8=AD=D9=85?= =?UTF-8?q?=D9=88=D8=AF=D9=8A=20=28Ahmed=20El-Mahmoudy=29?= Date: Thu, 4 Dec 2025 16:36:04 +0100 Subject: [PATCH 2/2] Update copyright years --- src/gst123.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gst123.cc b/src/gst123.cc index c00b2c4..db6b73d 100644 --- a/src/gst123.cc +++ b/src/gst123.cc @@ -1,6 +1,6 @@ /* GST123 - GStreamer based command line media player * SPDX-FileCopyrightText: 2006-2010 Stefan Westerfeld - * SPDX-FileCopyrightText: 2010 أحمد المحمودي (Ahmed El-Mahmoudy) + * SPDX-FileCopyrightText: 2010,2025 أحمد المحمودي (Ahmed El-Mahmoudy) * SPDX-License-Identifier: LGPL-2.0-or-later * * This library is free software; you can redistribute it and/or