diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..b8944b9 --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,12 @@ +# cmusfm - dependabot.yaml +# SPDX-FileCopyrightText: 2024 Arkadiusz Bokowy and contributors +# SPDX-License-Identifier: GPL-3.0-or-later + +version: 2 +updates: + + # Check for updates to GitHub Actions every week + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/Makefile.am b/Makefile.am index 23b6dc8..a10e460 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,6 @@ # cmusfm - Makefile.am -# Copyright (c) 2014 Arkadiusz Bokowy +# SPDX-FileCopyrightText: 2014-2024 Arkadiusz Bokowy and contributors +# SPDX-License-Identifier: GPL-3.0-or-later SUBDIRS = src test diff --git a/README.md b/README.md index ab2ce6c..7d6314b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [Last.fm](http://www.last.fm/) standalone scrobbler for the [cmus](https://cmus.github.io/) music player. -[![Build Status](https://github.com/Arkq/cmusfm/actions/workflows/build-and-test.yaml/badge.svg)](https://github.com/Arkq/cmusfm/actions/workflows/build-and-test.yaml) +[![Build Status](https://github.com/arkq/cmusfm/actions/workflows/build-and-test.yaml/badge.svg)](https://github.com/arkq/cmusfm/actions/workflows/build-and-test.yaml) ## Features diff --git a/configure.ac b/configure.ac index 0ba6d16..8055a33 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,6 @@ # cmusfm - configure.ac -# Copyright (c) 2014-2020 Arkadiusz Bokowy +# SPDX-FileCopyrightText: 2014-2024 Arkadiusz Bokowy and contributors +# SPDX-License-Identifier: GPL-3.0-or-later AC_PREREQ([2.59]) AC_INIT([cmusfm], [0.4.2], [arkadiusz.bokowy@gmail.com]) diff --git a/doc/Makefile.am b/doc/Makefile.am index 2d37701..61d500f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,5 +1,6 @@ # cmusfm - Makefile.am -# Copyright (c) 2016-2021 Arkadiusz Bokowy +# SPDX-FileCopyrightText: 2016-2024 Arkadiusz Bokowy and contributors +# SPDX-License-Identifier: GPL-3.0-or-later man1_MANS = cmusfm.1 diff --git a/doc/cmusfm.1.rst b/doc/cmusfm.1.rst index e66e8ae..983e376 100644 --- a/doc/cmusfm.1.rst +++ b/doc/cmusfm.1.rst @@ -107,4 +107,4 @@ SEE ALSO ``cmus(1)``, ``cmus-remote(1)``, ``cmus-tutorial(7)`` Project web site - https://github.com/Arkq/cmusfm + https://github.com/arkq/cmusfm diff --git a/src/Makefile.am b/src/Makefile.am index 9ade763..3c38c0a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,6 @@ # cmusfm - Makefile.am -# Copyright (c) 2014-2016 Arkadiusz Bokowy +# SPDX-FileCopyrightText: 2014-2024 Arkadiusz Bokowy and contributors +# SPDX-License-Identifier: GPL-3.0-or-later bin_PROGRAMS = cmusfm diff --git a/src/cache.c b/src/cache.c index 07791bd..6610e4e 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1,21 +1,7 @@ /* - * cache.c - * Copyright (c) 2014-2021 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - cache.c + * SPDX-FileCopyrightText: 2014-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #if HAVE_CONFIG_H diff --git a/src/cache.h b/src/cache.h index b1470d4..1d0e7d3 100644 --- a/src/cache.h +++ b/src/cache.h @@ -1,21 +1,7 @@ /* - * cache.h - * Copyright (c) 2014-2018 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - cache.h + * SPDX-FileCopyrightText: 2014-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #ifndef CMUSFM_CACHE_H_ diff --git a/src/cmusfm.h b/src/cmusfm.h index 0f2dedf..e772f2a 100644 --- a/src/cmusfm.h +++ b/src/cmusfm.h @@ -1,21 +1,7 @@ /* - * cmusfm.h - * Copyright (c) 2010-2018 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - cmusfm.h + * SPDX-FileCopyrightText: 2010-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #ifndef CMUSFM_CMUSFM_H_ diff --git a/src/config.c b/src/config.c index bd12786..6bc911d 100644 --- a/src/config.c +++ b/src/config.c @@ -1,21 +1,7 @@ /* - * config.c - * Copyright (c) 2014-2017 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - config.c + * SPDX-FileCopyrightText: 2014-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #include "config.h" diff --git a/src/config.h b/src/config.h index 3a35d93..6356ea3 100644 --- a/src/config.h +++ b/src/config.h @@ -1,21 +1,7 @@ /* - * config.h - * Copyright (c) 2014-2017 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - config.h + * SPDX-FileCopyrightText: 2014-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #ifndef CMUSFM_CONFIG_H_ diff --git a/src/debug.h b/src/debug.h index 1316138..9d1ea33 100644 --- a/src/debug.h +++ b/src/debug.h @@ -1,21 +1,7 @@ /* - * debug.h - * Copyright (c) 2014-2017 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - debug.h + * SPDX-FileCopyrightText: 2014-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #ifndef CMUSFM_DEBUG_H_ diff --git a/src/libscrobbler2.c b/src/libscrobbler2.c index a906a7a..96b7662 100644 --- a/src/libscrobbler2.c +++ b/src/libscrobbler2.c @@ -1,21 +1,7 @@ /* - * libscrobbler2.c - * Copyright (c) 2011-2023 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - libscrobbler2.c + * SPDX-FileCopyrightText: 2011-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #include "libscrobbler2.h" diff --git a/src/libscrobbler2.h b/src/libscrobbler2.h index 9297f62..d730e3a 100644 --- a/src/libscrobbler2.h +++ b/src/libscrobbler2.h @@ -1,24 +1,11 @@ /* - * libscrobbler2.h - * Copyright (c) 2011-2021 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - libscrobbler2.h + * SPDX-FileCopyrightText: 2011-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later * * For more information about scrobbling API see: * http://www.last.fm/api/scrobbling + * */ #ifndef CMUSFM_LIBSCROBBLER2_H_ diff --git a/src/main.c b/src/main.c index 18a4d82..7852a84 100644 --- a/src/main.c +++ b/src/main.c @@ -1,21 +1,7 @@ /* - * main.c - * Copyright (c) 2010-2022 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - main.c + * SPDX-FileCopyrightText: 2010-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #if HAVE_CONFIG_H diff --git a/src/notify.c b/src/notify.c index 42b75ed..7642f5d 100644 --- a/src/notify.c +++ b/src/notify.c @@ -1,21 +1,7 @@ /* - * notify.c - * Copyright (c) 2014-2018 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - notify.c + * SPDX-FileCopyrightText: 2014-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #include "notify.h" diff --git a/src/notify.h b/src/notify.h index 534cfd8..ece5062 100644 --- a/src/notify.h +++ b/src/notify.h @@ -1,21 +1,7 @@ /* - * notify.h - * Copyright (c) 2014-2017 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - notify.h + * SPDX-FileCopyrightText: 2014-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #ifndef CMUSFM_NOTIFY_H_ diff --git a/src/server.c b/src/server.c index 43d1d53..0a9da68 100644 --- a/src/server.c +++ b/src/server.c @@ -1,21 +1,7 @@ /* - * server.c - * Copyright (c) 2010-2022 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - server.c + * SPDX-FileCopyrightText: 2010-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #if HAVE_CONFIG_H diff --git a/src/server.h b/src/server.h index 7378dc5..f0cd1c5 100644 --- a/src/server.h +++ b/src/server.h @@ -1,21 +1,7 @@ /* - * server.h - * Copyright (c) 2014-2018 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - server.h + * SPDX-FileCopyrightText: 2014-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #ifndef CMUSFM_SERVER_H_ diff --git a/src/utils.c b/src/utils.c index d65a8c9..7822b6d 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1,21 +1,7 @@ /* - * utils.c - * Copyright (c) 2014-2018 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * - * cmusfm 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. - * - * cmusfm 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. - * - * If you want to read full version of the GNU General Public License - * see . + * cmusfm - utils.c + * SPDX-FileCopyrightText: 2014-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #if HAVE_CONFIG_H diff --git a/test/Makefile.am b/test/Makefile.am index 962873b..9e28eb5 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,5 +1,6 @@ # cmusfm - Makefile.am -# Copyright (c) 2015-2018 Arkadiusz Bokowy +# SPDX-FileCopyrightText: 2015-2024 Arkadiusz Bokowy and contributors +# SPDX-License-Identifier: GPL-3.0-or-later TESTS = \ test-cache \ diff --git a/test/test-cache.c b/test/test-cache.c index 95a1ae3..88feb67 100644 --- a/test/test-cache.c +++ b/test/test-cache.c @@ -1,9 +1,7 @@ /* - * test-cache.c - * Copyright (c) 2015-2018 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * + * cmusfm - test-cache.c + * SPDX-FileCopyrightText: 2015-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #include diff --git a/test/test-notify.c b/test/test-notify.c index a9badfe..4074447 100644 --- a/test/test-notify.c +++ b/test/test-notify.c @@ -1,9 +1,7 @@ /* - * test-notify.c - * Copyright (c) 2015-2018 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * + * cmusfm - test-notify.c + * SPDX-FileCopyrightText: 2015-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #include "../src/notify.c" diff --git a/test/test-server-notify.c b/test/test-server-notify.c index 934e0bc..b3a0485 100644 --- a/test/test-server-notify.c +++ b/test/test-server-notify.c @@ -1,9 +1,7 @@ /* - * test-server-notify.c - * Copyright (c) 2015-2018 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * + * cmusfm - test-server-notify.c + * SPDX-FileCopyrightText: 2015-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #include diff --git a/test/test-server-submit01.c b/test/test-server-submit01.c index c00d199..d99884a 100644 --- a/test/test-server-submit01.c +++ b/test/test-server-submit01.c @@ -1,9 +1,7 @@ /* - * test-server-submit01.c - * Copyright (c) 2015-2018 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * + * cmusfm - test-server-submit01.c + * SPDX-FileCopyrightText: 2015-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #include diff --git a/test/test-server-submit02.c b/test/test-server-submit02.c index 9cfdf46..3b28499 100644 --- a/test/test-server-submit02.c +++ b/test/test-server-submit02.c @@ -1,9 +1,7 @@ /* - * test-server-submit02.c - * Copyright (c) 2015-2018 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * + * cmusfm - test-server-submit02.c + * SPDX-FileCopyrightText: 2015-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #include diff --git a/test/test-server-submit03.c b/test/test-server-submit03.c index c810c45..140251f 100644 --- a/test/test-server-submit03.c +++ b/test/test-server-submit03.c @@ -1,9 +1,7 @@ /* - * test-server-submit03.c - * Copyright (c) 2015-2018 Arkadiusz Bokowy - * - * This file is a part of cmusfm. - * + * cmusfm - test-server-submit03.c + * SPDX-FileCopyrightText: 2015-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ #include diff --git a/test/test-server.inc b/test/test-server.inc index 0396d09..2d1d850 100644 --- a/test/test-server.inc +++ b/test/test-server.inc @@ -1,10 +1,9 @@ /* - * test-server.inc + * cmusfm - test-server.inc * vim: ft=c * - * Copyright (c) 2015-2017 Arkadiusz Bokowy - * - * This file is a part of cmusfm. + * SPDX-FileCopyrightText: 2015-2024 Arkadiusz Bokowy and contributors + * SPDX-License-Identifier: GPL-3.0-or-later * */