From b62b0454b5401a0667fd00c89b50dc602b617b88 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 5 Oct 2025 10:03:15 +0100 Subject: [PATCH] webstead: add Emscripten and musl copyright notices Programs compiled with Emscripten end up statically linked against the Emscripten runtime, which includes musl libc. So we need to comply with their licences by including a copy of the licence and the relevant copyright notices. I think putting them on the webstead page in small print is probably the best approach. This might need updating each release to match the version of Emscripten that I build the editor with. --- bedstead.css | 6 +++++- webstead.xhtml | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/bedstead.css b/bedstead.css index 23020b6..ba24f5d 100644 --- a/bedstead.css +++ b/bedstead.css @@ -63,6 +63,10 @@ img { max-width: 100%; } +.smallprint { + font-size: 0.5em; +} + /* * When we're using text as a sample of Bedstead, it should be hidden * from browsers without font support, and the image sample should @@ -93,7 +97,7 @@ body, .fade { color: #33ff88; } -:link, kbd, code, tt { +:link, kbd, code, tt, .smallprint { color: #38bf66; } :visited { diff --git a/webstead.xhtml b/webstead.xhtml index 919d17b..03b1152 100644 --- a/webstead.xhtml +++ b/webstead.xhtml @@ -169,5 +169,30 @@

+
+

This editor contains code from Emscripten and musl libc under + the following licence:

+

Copyright 2010-2022 The Emscripten Authors

+

Copyright © 2005-2020 Rich Felker, et al.

+

Copyright (C) 2011 by Valentin Ochs

+

Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions:

+ +

The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software.

+ +

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+
-- 2.30.2