diff options
author | Franklin Wei <franklin@rockbox.org> | 2024-08-11 23:31:33 -0400 |
---|---|---|
committer | Franklin Wei <franklin@rockbox.org> | 2024-08-16 16:31:28 -0400 |
commit | 903e8c5b32285e50907e6525388162bd459cbef8 (patch) | |
tree | 7e23ce2646a31f80b1d6879d2b30cfc30eadace6 /apps/plugins/puzzles/src/emcccopy.but | |
parent | ceea52ce0f4782466c3bcfb69c64c975515fe198 (diff) | |
download | rockbox-903e8c5b32285e50907e6525388162bd459cbef8.tar.gz rockbox-903e8c5b32285e50907e6525388162bd459cbef8.zip |
puzzles: remove unnecessary files from the src/ directory.
This updates the resync.sh script to be more intelligent about which files
it copies from the upstream tree. It now attempts some rudimentary parsing
of the puzzles CMakeLists.txt file to figure out which files are actually
necessary, and copies only those.
This adds a new SOURCES.rockbox source file list for the Rockbox-specific
parts of the port.
Change-Id: I461f87ac712e3b2982dcbb0be9d70d278384a4e7
Diffstat (limited to 'apps/plugins/puzzles/src/emcccopy.but')
-rw-r--r-- | apps/plugins/puzzles/src/emcccopy.but | 128 |
1 files changed, 0 insertions, 128 deletions
diff --git a/apps/plugins/puzzles/src/emcccopy.but b/apps/plugins/puzzles/src/emcccopy.but deleted file mode 100644 index 5332e0df38..0000000000 --- a/apps/plugins/puzzles/src/emcccopy.but +++ /dev/null | |||
@@ -1,128 +0,0 @@ | |||
1 | \A{thirdparty} Third-party software licences | ||
2 | |||
3 | \# This file should contain the copyright notices for third-party code | ||
4 | included in the Emscripten builds of Puzzles. To get a list of | ||
5 | relevant source files, you can build Puzzles with "-gsource-map" and | ||
6 | then do something like: | ||
7 | |||
8 | \# jq -r '.sources[]' *.map | sort -u | ||
9 | |||
10 | \# This file is based on a build of Git commit | ||
11 | 2e48ce132e011e83517a9fc4905edcc8f9a5ef58 using Emscripten 3.1.35 | ||
12 | |||
13 | \# system/lib/compiler-rt/lib/builtins/* | ||
14 | \# upstream/lib/clang/17/include/tgmath.h | ||
15 | |||
16 | \# These are under the Apache Licence v2.0 with LLVM Exceptions. The | ||
17 | LLVM Exceptions allow us not to mention them in binary distributions. | ||
18 | |||
19 | \# system/lib/dlmalloc.c | ||
20 | |||
21 | \# dlmalloc is in the public domain and so needs no acknowledgement. | ||
22 | |||
23 | The JavaScript and KaiOS versions of Puzzles incorporate some third | ||
24 | party software. Most of it is licensed under the \i{MIT licence} (see | ||
25 | \k{licence}) and requires the following \i{copyright} notices: | ||
26 | |||
27 | \quote{ | ||
28 | |||
29 | \# system/lib/libc/emscripten_get_heap_size.c | ||
30 | \# system/lib/libc/emscripten_memcpy.c | ||
31 | \# system/lib/libc/emscripten_syscall_stubs.c | ||
32 | \# system/lib/libc/wasi-helpers.c | ||
33 | \# system/lib/pthread/library_pthread_stub.c | ||
34 | \# system/lib/pthread/pthread_self_stub.c | ||
35 | \# system/lib/sbrk.c | ||
36 | |||
37 | \# These are parts of Emscripten and either refer explicitly to the | ||
38 | Emscripten LICENSE file or make no mention of a licence. LICENSE | ||
39 | allows use under the MIT licence and specifies this copyright notice: | ||
40 | |||
41 | Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file. | ||
42 | |||
43 | \# cache/sysroot/include/math.h | ||
44 | \# system/lib/libc/musl/src/ctype/* | ||
45 | \# system/lib/libc/musl/src/env/* | ||
46 | \# system/lib/libc/musl/src/errno/* | ||
47 | \# system/lib/libc/musl/src/internal/atomic.h | ||
48 | \# system/lib/libc/musl/src/internal/floatscan.c | ||
49 | \# system/lib/libc/musl/src/internal/intscan.c | ||
50 | \# system/lib/libc/musl/src/internal/shgetc.c | ||
51 | \# system/lib/libc/musl/src/math/copysignl.c | ||
52 | \# system/lib/libc/musl/src/math/fabs.c | ||
53 | \# system/lib/libc/musl/src/math/fabsl.c | ||
54 | \# system/lib/libc/musl/src/math/floor.c | ||
55 | \# system/lib/libc/musl/src/math/fmodl.c | ||
56 | \# system/lib/libc/musl/src/math/__fpclassifyl.c | ||
57 | \# system/lib/libc/musl/src/math/frexp.c | ||
58 | \# system/lib/libc/musl/src/math/scalbn.c | ||
59 | \# system/lib/libc/musl/src/math/scalbnl.c | ||
60 | \# system/lib/libc/musl/src/math/sqrtf.c | ||
61 | \# system/lib/libc/musl/src/multibyte/* | ||
62 | \# system/lib/libc/musl/src/stdio/* | ||
63 | \# system/lib/libc/musl/src/stdlib/abs.c | ||
64 | \# system/lib/libc/musl/src/stdlib/atof.c | ||
65 | \# system/lib/libc/musl/src/stdlib/atoi.c | ||
66 | \# system/lib/libc/musl/src/stdlib/atol.c | ||
67 | \# system/lib/libc/musl/src/stdlib/labs.c | ||
68 | \# system/lib/libc/musl/src/stdlib/qsort_nr.c | ||
69 | \# system/lib/libc/musl/src/stdlib/strtod.c | ||
70 | \# system/lib/libc/musl/src/stdlib/strtol.c | ||
71 | \# system/lib/libc/musl/src/string/* | ||
72 | \# system/lib/libc/musl/src/unistd/getpid.c | ||
73 | |||
74 | \# These are parts of musl, which is licensed "as a whole" under the | ||
75 | MIT licence. These parts don't carry any licence notice themselves. | ||
76 | This is the copyright notice from musl's COPYRIGHT file, modified to | ||
77 | allow for non-Unicode targets: | ||
78 | |||
79 | Copyright \u00A9{(C)} 2005-2020 Rich Felker, et al. | ||
80 | |||
81 | \# system/lib/libc/musl/src/stdlib/qsort.c | ||
82 | |||
83 | \# This is part of musl, but has its own copyright notice and MIT | ||
84 | licence in its source file. | ||
85 | |||
86 | Copyright (C) 2011 by Valentin Ochs | ||
87 | |||
88 | } | ||
89 | |||
90 | Other incorporated software requires these notices: | ||
91 | |||
92 | \quote{ | ||
93 | |||
94 | \# system/lib/libc/musl/src/math/acosf.c | ||
95 | \# system/lib/libc/musl/src/math/atan.c | ||
96 | \# system/lib/libc/musl/src/math/cos.c | ||
97 | \# system/lib/libc/musl/src/math/__cosdf.c | ||
98 | \# system/lib/libc/musl/src/math/cosf.c | ||
99 | \# system/lib/libc/musl/src/math/__rem_pio2f.c | ||
100 | \# system/lib/libc/musl/src/math/sin.c | ||
101 | \# system/lib/libc/musl/src/math/__sindf.c | ||
102 | \# system/lib/libc/musl/src/math/sinf.c | ||
103 | |||
104 | \# These are parts of musl with a SunPro copyright notice and licence. | ||
105 | |||
106 | Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. | ||
107 | |||
108 | Developed at SunPro, a Sun Microsystems, Inc. business. | ||
109 | Permission to use, copy, modify, and distribute this | ||
110 | software is freely granted, provided that this notice | ||
111 | is preserved. | ||
112 | |||
113 | \# system/lib/libc/musl/src/math/atan2.c | ||
114 | \# system/lib/libc/musl/src/math/__cos.c | ||
115 | \# system/lib/libc/musl/src/math/__rem_pio2.c | ||
116 | \# system/lib/libc/musl/src/math/__rem_pio2_large.c | ||
117 | \# system/lib/libc/musl/src/math/__sin.c | ||
118 | |||
119 | \# These are parts of musl with a SunSoft copyright notice and licence. | ||
120 | |||
121 | Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. | ||
122 | |||
123 | Developed at SunSoft, a Sun Microsystems, Inc. business. | ||
124 | Permission to use, copy, modify, and distribute this | ||
125 | software is freely granted, provided that this notice | ||
126 | is preserved. | ||
127 | |||
128 | } \ No newline at end of file | ||