From fadf86d8b0f00d6bb71bf534e325895de7e014cd Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Fri, 12 Jan 2024 09:51:43 +0100 Subject: [PATCH] Replace license headers with SPDX-License-Identifiers --- buffyboard/buffyboard.h | 17 ++--------------- buffyboard/command_line.c | 17 +---------------- buffyboard/command_line.h | 17 +---------------- buffyboard/cursor.c | 17 +---------------- buffyboard/cursor.h | 17 +---------------- buffyboard/find-lvgl-sources.sh | 16 +--------------- buffyboard/indev.c | 17 +---------------- buffyboard/indev.h | 17 +---------------- buffyboard/lv_conf.h | 17 +---------------- buffyboard/lv_drv_conf.h | 17 +---------------- buffyboard/main.c | 17 +---------------- buffyboard/meson.build | 16 +--------------- buffyboard/regenerate-layouts.sh | 16 +--------------- buffyboard/terminal.c | 17 +---------------- buffyboard/terminal.h | 17 +---------------- buffyboard/uinput_device.c | 17 +---------------- buffyboard/uinput_device.h | 17 +---------------- squeek2lvgl/regenerate-examples.sh | 17 ++--------------- squeek2lvgl/sq2lv.c | 17 +---------------- squeek2lvgl/sq2lv.h | 17 +---------------- squeek2lvgl/squeek2lvgl.py | 17 ++--------------- unl0kr/backends.c | 17 +---------------- unl0kr/backends.h | 17 +---------------- unl0kr/command_line.c | 17 +---------------- unl0kr/command_line.h | 17 +---------------- unl0kr/config.c | 17 +---------------- unl0kr/config.h | 17 +---------------- unl0kr/cursor.h | 17 +---------------- unl0kr/find-lvgl-sources.sh | 17 ++--------------- unl0kr/indev.c | 17 +---------------- unl0kr/indev.h | 17 +---------------- unl0kr/log.c | 17 +---------------- unl0kr/log.h | 17 +---------------- unl0kr/lv_conf.h | 17 +---------------- unl0kr/lv_drv_conf.h | 17 +---------------- unl0kr/main.c | 17 +---------------- unl0kr/meson.build | 16 +--------------- unl0kr/regenerate-cursor.sh | 2 ++ unl0kr/regenerate-fonts.sh | 2 ++ unl0kr/regenerate-layouts.sh | 16 +--------------- unl0kr/terminal.c | 17 +---------------- unl0kr/terminal.h | 17 +---------------- unl0kr/theme.c | 17 +---------------- unl0kr/theme.h | 17 +---------------- unl0kr/themes.c | 17 +---------------- unl0kr/themes.h | 17 +---------------- unl0kr/unl0kr.h | 17 +---------------- 47 files changed, 53 insertions(+), 711 deletions(-) diff --git a/buffyboard/buffyboard.h b/buffyboard/buffyboard.h index 4a4764b..b47c3f2 100644 --- a/buffyboard/buffyboard.h +++ b/buffyboard/buffyboard.h @@ -1,20 +1,6 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ @@ -27,6 +13,7 @@ #define BB_VERSION "?" /* Just to silence IDE warning. Real version injected by meson during build. */ #endif + /** * Fonts */ diff --git a/buffyboard/command_line.c b/buffyboard/command_line.c index e4365c5..631c5cb 100644 --- a/buffyboard/command_line.c +++ b/buffyboard/command_line.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "command_line.h" #include "buffyboard.h" diff --git a/buffyboard/command_line.h b/buffyboard/command_line.h index 2c5fc6b..e817c91 100644 --- a/buffyboard/command_line.h +++ b/buffyboard/command_line.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef BB_COMMAND_LINE_H #define BB_COMMAND_LINE_H diff --git a/buffyboard/cursor.c b/buffyboard/cursor.c index 8299c36..fccdd2d 100644 --- a/buffyboard/cursor.c +++ b/buffyboard/cursor.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "cursor.h" diff --git a/buffyboard/cursor.h b/buffyboard/cursor.h index 180c370..beb3601 100644 --- a/buffyboard/cursor.h +++ b/buffyboard/cursor.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef BB_CURSOR_H #define BB_CURSOR_H diff --git a/buffyboard/find-lvgl-sources.sh b/buffyboard/find-lvgl-sources.sh index 791e0eb..7e74093 100755 --- a/buffyboard/find-lvgl-sources.sh +++ b/buffyboard/find-lvgl-sources.sh @@ -1,21 +1,7 @@ #!/bin/sh # Copyright 2021 Johannes Marbach -# -# This file is part of buffybox, hereafter referred to as the program. -# -# 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 . +# SPDX-License-Identifier: GPL-3.0-or-later find "$1" -name "*.mk" | while IFS= read -r makefile; do diff --git a/buffyboard/indev.c b/buffyboard/indev.c index 1d1bcf7..8fb1966 100644 --- a/buffyboard/indev.c +++ b/buffyboard/indev.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "indev.h" #include "cursor.h" diff --git a/buffyboard/indev.h b/buffyboard/indev.h index 2439192..7e12a73 100644 --- a/buffyboard/indev.h +++ b/buffyboard/indev.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef BB_INDEV_H #define BB_INDEV_H diff --git a/buffyboard/lv_conf.h b/buffyboard/lv_conf.h index 702162d..dd6ba65 100644 --- a/buffyboard/lv_conf.h +++ b/buffyboard/lv_conf.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #if 1 /*Set it to "1" to enable content*/ #ifndef LV_CONF_H diff --git a/buffyboard/lv_drv_conf.h b/buffyboard/lv_drv_conf.h index 78bef88..d64cf85 100644 --- a/buffyboard/lv_drv_conf.h +++ b/buffyboard/lv_drv_conf.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #if 1 /*Set it to "1" to enable the content*/ #ifndef LV_DRV_CONF_H diff --git a/buffyboard/main.c b/buffyboard/main.c index 44bfe99..634c66e 100644 --- a/buffyboard/main.c +++ b/buffyboard/main.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "buffyboard.h" #include "command_line.h" #include "indev.h" diff --git a/buffyboard/meson.build b/buffyboard/meson.build index 0818292..491aac6 100644 --- a/buffyboard/meson.build +++ b/buffyboard/meson.build @@ -1,19 +1,5 @@ # Copyright 2021 Johannes Marbach -# -# This file is part of buffybox, hereafter referred to as the program. -# -# 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 . +# SPDX-License-Identifier: GPL-3.0-or-later project( diff --git a/buffyboard/regenerate-layouts.sh b/buffyboard/regenerate-layouts.sh index 6141991..25d3fe3 100755 --- a/buffyboard/regenerate-layouts.sh +++ b/buffyboard/regenerate-layouts.sh @@ -1,21 +1,7 @@ #!/bin/bash # Copyright 2021 Johannes Marbach -# -# This file is part of buffybox, hereafter referred to as the program. -# -# 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 . +# SPDX-License-Identifier: GPL-3.0-or-later cd ../squeek2lvgl diff --git a/buffyboard/terminal.c b/buffyboard/terminal.c index 31015fe..49e1a20 100644 --- a/buffyboard/terminal.c +++ b/buffyboard/terminal.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "terminal.h" #include diff --git a/buffyboard/terminal.h b/buffyboard/terminal.h index f903751..54f2dbb 100644 --- a/buffyboard/terminal.h +++ b/buffyboard/terminal.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef BB_TERMINAL_H #define BB_TERMINAL_H diff --git a/buffyboard/uinput_device.c b/buffyboard/uinput_device.c index 60dd2c2..69fe5a4 100644 --- a/buffyboard/uinput_device.c +++ b/buffyboard/uinput_device.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "uinput_device.h" #include diff --git a/buffyboard/uinput_device.h b/buffyboard/uinput_device.h index b2e56b4..5a228e9 100644 --- a/buffyboard/uinput_device.h +++ b/buffyboard/uinput_device.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef BB_UINPUT_DEVICE_H #define BB_UINPUT_DEVICE_H diff --git a/squeek2lvgl/regenerate-examples.sh b/squeek2lvgl/regenerate-examples.sh index b975673..6599917 100755 --- a/squeek2lvgl/regenerate-examples.sh +++ b/squeek2lvgl/regenerate-examples.sh @@ -1,21 +1,8 @@ #!/bin/bash # Copyright 2021 Johannes Marbach -# -# This file is part of buffybox, hereafter referred to as the program. -# -# 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 . +# SPDX-License-Identifier: GPL-3.0-or-later + pipenv install diff --git a/squeek2lvgl/sq2lv.c b/squeek2lvgl/sq2lv.c index 3e471cc..e530bd3 100644 --- a/squeek2lvgl/sq2lv.c +++ b/squeek2lvgl/sq2lv.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "sq2lv.h" diff --git a/squeek2lvgl/sq2lv.h b/squeek2lvgl/sq2lv.h index a9465f4..7301c55 100644 --- a/squeek2lvgl/sq2lv.h +++ b/squeek2lvgl/sq2lv.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef SQ2LV_H #define SQ2LV_H diff --git a/squeek2lvgl/squeek2lvgl.py b/squeek2lvgl/squeek2lvgl.py index c58f086..bd7f05e 100644 --- a/squeek2lvgl/squeek2lvgl.py +++ b/squeek2lvgl/squeek2lvgl.py @@ -1,21 +1,8 @@ #!/usr/bin/env python3 # Copyright 2021 Johannes Marbach -# -# This file is part of buffybox, hereafter referred to as the program. -# -# 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 . +# SPDX-License-Identifier: GPL-3.0-or-later + import argparse from typing import Set diff --git a/unl0kr/backends.c b/unl0kr/backends.c index 907c416..163d1e1 100644 --- a/unl0kr/backends.c +++ b/unl0kr/backends.c @@ -1,23 +1,8 @@ /** * Copyright 2022 Eugenio Paolantonio (g7) - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "backends.h" #include diff --git a/unl0kr/backends.h b/unl0kr/backends.h index fe92cdd..7ae107b 100644 --- a/unl0kr/backends.h +++ b/unl0kr/backends.h @@ -1,23 +1,8 @@ /** * Copyright 2022 Eugenio Paolantonio (g7) - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef UL_BACKENDS_H #define UL_BACKENDS_H diff --git a/unl0kr/command_line.c b/unl0kr/command_line.c index db88bae..d136e99 100644 --- a/unl0kr/command_line.c +++ b/unl0kr/command_line.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "command_line.h" #include "log.h" diff --git a/unl0kr/command_line.h b/unl0kr/command_line.h index 1ea9b35..1227386 100644 --- a/unl0kr/command_line.h +++ b/unl0kr/command_line.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef UL_COMMAND_LINE_H #define UL_COMMAND_LINE_H diff --git a/unl0kr/config.c b/unl0kr/config.c index fdae2d2..bcbe1ab 100644 --- a/unl0kr/config.c +++ b/unl0kr/config.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "config.h" #include "log.h" diff --git a/unl0kr/config.h b/unl0kr/config.h index dc7ef66..44e7478 100644 --- a/unl0kr/config.h +++ b/unl0kr/config.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef UL_CONFIG_H #define UL_CONFIG_H diff --git a/unl0kr/cursor.h b/unl0kr/cursor.h index d235fa2..614ea77 100644 --- a/unl0kr/cursor.h +++ b/unl0kr/cursor.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef BB_CURSOR_H #define BB_CURSOR_H diff --git a/unl0kr/find-lvgl-sources.sh b/unl0kr/find-lvgl-sources.sh index 80e73ef..9e36935 100755 --- a/unl0kr/find-lvgl-sources.sh +++ b/unl0kr/find-lvgl-sources.sh @@ -1,21 +1,8 @@ #!/bin/sh # Copyright 2022 Johannes Marbach, Oliver Smith -# -# This file is part of buffybox, hereafter referred to as the program. -# -# 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 . +# SPDX-License-Identifier: GPL-3.0-or-later + find lv_drivers -name '*.c' find lvgl/src/core -name '*.c' diff --git a/unl0kr/indev.c b/unl0kr/indev.c index 49eb2fb..1f3985e 100644 --- a/unl0kr/indev.c +++ b/unl0kr/indev.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "indev.h" #include "cursor.h" diff --git a/unl0kr/indev.h b/unl0kr/indev.h index e5adc4e..7aedc07 100644 --- a/unl0kr/indev.h +++ b/unl0kr/indev.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef UL_INDEV_H #define UL_INDEV_H diff --git a/unl0kr/log.c b/unl0kr/log.c index 16e87ad..b8920ae 100644 --- a/unl0kr/log.c +++ b/unl0kr/log.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "log.h" #include diff --git a/unl0kr/log.h b/unl0kr/log.h index 143aeaa..5c10538 100644 --- a/unl0kr/log.h +++ b/unl0kr/log.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef UL_LOG_H #define UL_LOG_H diff --git a/unl0kr/lv_conf.h b/unl0kr/lv_conf.h index dc71434..2092e7b 100644 --- a/unl0kr/lv_conf.h +++ b/unl0kr/lv_conf.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #if 1 /*Set it to "1" to enable content*/ #ifndef LV_CONF_H diff --git a/unl0kr/lv_drv_conf.h b/unl0kr/lv_drv_conf.h index a429ba4..702afa7 100644 --- a/unl0kr/lv_drv_conf.h +++ b/unl0kr/lv_drv_conf.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #if 1 /*Set it to "1" to enable the content*/ #ifndef LV_DRV_CONF_H diff --git a/unl0kr/main.c b/unl0kr/main.c index ae2a4aa..4066042 100644 --- a/unl0kr/main.c +++ b/unl0kr/main.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "backends.h" #include "command_line.h" #include "config.h" diff --git a/unl0kr/meson.build b/unl0kr/meson.build index 68ee507..1e332aa 100644 --- a/unl0kr/meson.build +++ b/unl0kr/meson.build @@ -1,19 +1,5 @@ # Copyright 2021 Clayton Craft -# -# This file is part of buffybox, hereafter referred to as the program. -# -# 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 . +# SPDX-License-Identifier: GPL-3.0-or-later project( diff --git a/unl0kr/regenerate-cursor.sh b/unl0kr/regenerate-cursor.sh index 976c5aa..c7c12df 100755 --- a/unl0kr/regenerate-cursor.sh +++ b/unl0kr/regenerate-cursor.sh @@ -1,7 +1,9 @@ #!/bin/sh -ex + # Copyright 2023 Johannes Marbach # SPDX-License-Identifier: GPL-3.0-or-later + npm i ./node_modules/lv_img_conv/lv_img_conv.js -f \ diff --git a/unl0kr/regenerate-fonts.sh b/unl0kr/regenerate-fonts.sh index b53e40a..4ff1e0a 100755 --- a/unl0kr/regenerate-fonts.sh +++ b/unl0kr/regenerate-fonts.sh @@ -1,7 +1,9 @@ #!/bin/sh -ex + # Copyright 2022 Johannes Marbach # SPDX-License-Identifier: GPL-3.0-or-later + npx lv_font_conv --bpp 4 --size 32 --no-compress -o font_32.c --format lvgl \ --font OpenSans-Regular.ttf \ --range '0x0020-0x007F' \ diff --git a/unl0kr/regenerate-layouts.sh b/unl0kr/regenerate-layouts.sh index 6404dab..8a4e5f5 100755 --- a/unl0kr/regenerate-layouts.sh +++ b/unl0kr/regenerate-layouts.sh @@ -1,21 +1,7 @@ #!/bin/bash # Copyright 2021 Johannes Marbach -# -# This file is part of buffybox, hereafter referred to as the program. -# -# 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 . +# SPDX-License-Identifier: GPL-3.0-or-later cd ../squeek2lvgl diff --git a/unl0kr/terminal.c b/unl0kr/terminal.c index 947c961..22547e4 100644 --- a/unl0kr/terminal.c +++ b/unl0kr/terminal.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "terminal.h" #include "log.h" diff --git a/unl0kr/terminal.h b/unl0kr/terminal.h index 8afe638..8fcfba1 100644 --- a/unl0kr/terminal.h +++ b/unl0kr/terminal.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef UL_TERMINAL_H #define UL_TERMINAL_H diff --git a/unl0kr/theme.c b/unl0kr/theme.c index f30732f..b799c3f 100644 --- a/unl0kr/theme.c +++ b/unl0kr/theme.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "theme.h" #include "log.h" diff --git a/unl0kr/theme.h b/unl0kr/theme.h index f37d7b5..03f4587 100644 --- a/unl0kr/theme.h +++ b/unl0kr/theme.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef UL_THEME_H #define UL_THEME_H diff --git a/unl0kr/themes.c b/unl0kr/themes.c index 7953e70..e0e89ad 100644 --- a/unl0kr/themes.c +++ b/unl0kr/themes.c @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #include "themes.h" diff --git a/unl0kr/themes.h b/unl0kr/themes.h index d3bc906..88ddc61 100644 --- a/unl0kr/themes.h +++ b/unl0kr/themes.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef UL_THEMES_H #define UL_THEMES_H diff --git a/unl0kr/unl0kr.h b/unl0kr/unl0kr.h index 0382504..ef00ba4 100644 --- a/unl0kr/unl0kr.h +++ b/unl0kr/unl0kr.h @@ -1,23 +1,8 @@ /** * Copyright 2021 Johannes Marbach - * - * This file is part of buffybox, hereafter referred to as the program. - * - * 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 . + * SPDX-License-Identifier: GPL-3.0-or-later */ - #ifndef UL_UNL0KR_H #define UL_UNL0KR_H