summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/emcccopy.but
diff options
context:
space:
mode:
authorFranklin Wei <franklin@rockbox.org>2024-08-11 23:31:33 -0400
committerFranklin Wei <franklin@rockbox.org>2024-08-16 16:31:28 -0400
commit903e8c5b32285e50907e6525388162bd459cbef8 (patch)
tree7e23ce2646a31f80b1d6879d2b30cfc30eadace6 /apps/plugins/puzzles/src/emcccopy.but
parentceea52ce0f4782466c3bcfb69c64c975515fe198 (diff)
downloadrockbox-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.but128
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
4included in the Emscripten builds of Puzzles. To get a list of
5relevant source files, you can build Puzzles with "-gsource-map" and
6then do something like:
7
8\# jq -r '.sources[]' *.map | sort -u
9
10\# This file is based on a build of Git commit
112e48ce132e011e83517a9fc4905edcc8f9a5ef58 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
17LLVM 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
23The JavaScript and KaiOS versions of Puzzles incorporate some third
24party 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
38Emscripten LICENSE file or make no mention of a licence. LICENSE
39allows use under the MIT licence and specifies this copyright notice:
40
41Copyright (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
75MIT licence. These parts don't carry any licence notice themselves.
76This is the copyright notice from musl's COPYRIGHT file, modified to
77allow for non-Unicode targets:
78
79Copyright \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
84licence in its source file.
85
86Copyright (C) 2011 by Valentin Ochs
87
88}
89
90Other 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
106Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
107
108Developed at SunPro, a Sun Microsystems, Inc. business.
109Permission to use, copy, modify, and distribute this
110software is freely granted, provided that this notice
111is 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
121Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
122
123Developed at SunSoft, a Sun Microsystems, Inc. business.
124Permission to use, copy, modify, and distribute this
125software is freely granted, provided that this notice
126is preserved.
127
128} \ No newline at end of file