Skip to content

Commit 2b0b7a9

Browse files
committed
tests/tools: convert license texts into SPDX license identifiers
and replace deprecated ones with the stable identifiers, see https://spdx.org/licenses/
1 parent 4476603 commit 2b0b7a9

File tree

8 files changed

+8
-120
lines changed

8 files changed

+8
-120
lines changed

tests/sdlutils.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,7 @@
33
*
44
* This file is part of tslib.
55
*
6-
* ts_calibrate is free software: you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation, either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* ts_calibrate is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with this tool. If not, see <http://www.gnu.org/licenses/>.
18-
*
19-
* SPDX-License-Identifier: GPL-2.0+
6+
* SPDX-License-Identifier: GPL-2.0-or-later
207
*/
218

229
#include <SDL2/SDL.h>

tests/ts_calibrate_sdl.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,7 @@
33
*
44
* This file is part of tslib.
55
*
6-
* ts_calibrate is free software: you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation, either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* ts_calibrate is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with this tool. If not, see <http://www.gnu.org/licenses/>.
18-
*
19-
* SPDX-License-Identifier: GPL-2.0+
6+
* SPDX-License-Identifier: GPL-2.0-or-later
207
*/
218

229
#include <SDL2/SDL.h>

tests/ts_conf.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,7 @@
55
*
66
* This file is part of tslib.
77
*
8-
* ts_print_mt is free software: you can redistribute it and/or modify
9-
* it under the terms of the GNU General Public License as published by
10-
* the Free Software Foundation, either version 2 of the License, or
11-
* (at your option) any later version.
12-
*
13-
* ts_print_mt is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU General Public License for more details.
17-
*
18-
* You should have received a copy of the GNU General Public License
19-
* along with ts_print_mt. If not, see <http://www.gnu.org/licenses/>.
20-
*
21-
* SPDX-License-Identifier: GPL-2.0+
8+
* SPDX-License-Identifier: GPL-2.0-or-later
229
*
2310
*
2411
* Test the ts_config_filter API. Change filters at runtime.

tests/ts_print_mt.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,7 @@
55
*
66
* This file is part of tslib.
77
*
8-
* ts_print_mt is free software: you can redistribute it and/or modify
9-
* it under the terms of the GNU General Public License as published by
10-
* the Free Software Foundation, either version 2 of the License, or
11-
* (at your option) any later version.
12-
*
13-
* ts_print_mt is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU General Public License for more details.
17-
*
18-
* You should have received a copy of the GNU General Public License
19-
* along with ts_print_mt. If not, see <http://www.gnu.org/licenses/>.
20-
*
21-
* SPDX-License-Identifier: GPL-2.0+
8+
* SPDX-License-Identifier: GPL-2.0-or-later
229
*
2310
*
2411
* Just prints touchscreen events -- does not paint them on framebuffer

tests/ts_test_mt.c

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,7 @@
33
*
44
* Copyright (C) 2016 Martin Kepplinger
55
*
6-
* This file is part of tslib.
7-
*
8-
* ts_test_mt is free software: you can redistribute it and/or modify
9-
* it under the terms of the GNU General Public License as published by
10-
* the Free Software Foundation, either version 2 of the License, or
11-
* (at your option) any later version.
12-
*
13-
* ts_test_mt is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU General Public License for more details.
17-
*
18-
* You should have received a copy of the GNU General Public License
19-
* along with ts_test_mt. If not, see <http://www.gnu.org/licenses/>.
20-
*
21-
* SPDX-License-Identifier: GPL-2.0+
6+
* SPDX-License-Identifier: GPL-2.0-or-later
227
*
238
*
249
* Basic multitouch test program for the libts library.

tests/ts_test_mt_sdl.c

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
11
/*
22
* (C) 2017 Martin Keppligner <[email protected]>
33
*
4-
* This file is part of tslib.
5-
*
6-
* ts_calibrate is free software: you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation, either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* ts_calibrate is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with this tool. If not, see <http://www.gnu.org/licenses/>.
18-
*
19-
* SPDX-License-Identifier: GPL-2.0+
4+
* SPDX-License-Identifier: GPL-2.0-or-later
205
*/
216

227
#include <SDL2/SDL.h>

tests/ts_verify.c

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,7 @@
33
*
44
* Copyright (C) 2017 Martin Kepplinger
55
*
6-
* This file is part of tslib.
7-
*
8-
* ts_verify is free software: you can redistribute it and/or modify
9-
* it under the terms of the GNU General Public License as published by
10-
* the Free Software Foundation, either version 2 of the License, or
11-
* (at your option) any later version.
12-
*
13-
* ts_verify is distributed in the hope that it will be useful,
14-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
* GNU General Public License for more details.
17-
*
18-
* You should have received a copy of the GNU General Public License
19-
* along with ts_verify. If not, see <http://www.gnu.org/licenses/>.
20-
*
21-
* SPDX-License-Identifier: GPL-2.0+
6+
* SPDX-License-Identifier: GPL-2.0-or-later
227
*
238
*
249
* This program includes random tests of tslib's API

tools/ts_uinput.c

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,7 @@
55
* Martin Kepplinger <[email protected]> 2016-09-14
66
* Melchior FRANZ <[email protected]> 2015-09-30
77
*
8-
* This file is part of tslib.
9-
*
10-
* ts_uinput is free software: you can redistribute it and/or modify
11-
* it under the terms of the GNU General Public License as published by
12-
* the Free Software Foundation, either version 2 of the License, or
13-
* (at your option) any later version.
14-
*
15-
* ts_uinput is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
* GNU General Public License for more details.
19-
*
20-
* You should have received a copy of the GNU General Public License
21-
* along with ts_uinput. If not, see <http://www.gnu.org/licenses/>.
22-
*
23-
* SPDX-License-Identifier: GPL-2.0+
8+
* SPDX-License-Identifier: GPL-2.0-or-later
249
*
2510
*
2611
* ts_uinput daemon to generate (single- and multitouch) input events

0 commit comments

Comments
 (0)