• R/O
  • HTTP
  • SSH
  • HTTPS

website: Commit

HTML source code, style-sheets, scripts, and images for deployment on mingw.osdn.io


Commit MetaInfo

Revision8cf6dedbf1f746bfbdb74ffec9d8c19717465416 (tree)
Time2020-10-08 04:15:44
AuthorKeith Marshall <keith@user...>
CommiterKeith Marshall

Log Message

Add "licensing terms" overlay pages.

* terms.html fdl.html: New files.
* header.html (Licensing tab): Add "terms.html" overlay reference.
* site.css (h3-numbered): New "div" class; specify formatting.
* site.js (load_page_overlay): New function; implement it.

Change Summary

Incremental Difference

--- /dev/null
+++ b/fdl.html
@@ -0,0 +1,77 @@
1+<!DOCTYPE HTML><!--
2+ *
3+ * fdl.html
4+ *
5+ * An HTML rendition of the MinGW.org free documentation licence; (a
6+ * derivative of the FreeBSD Documentation Licence).
7+ *
8+ *
9+ * $Id$
10+ *
11+ * Written by Keith Marshall <keith@users.osdn.me>
12+ * Copyright (C) 2020, MinGW.org Project
13+ *
14+ *
15+ * Redistribution and use in source and 'compiled' forms (SGML, HTML,
16+ * PDF, PostScript, RTF, etc) with or without modification, are permitted
17+ * provided that the following conditions are met:
18+ *
19+ * 1. Redistributions of source code must retain the above copyright
20+ * notice, this list of conditions and the following disclaimer as
21+ * the first lines of this file, unmodified.
22+ *
23+ * 2. Redistributions in compiled form (transformed to other DTDs,
24+ * converted to PDF, PostScript, RTF and other formats) must
25+ * reproduce the above copyright notice, this list of conditions
26+ * and the following disclaimer in the documentation and/or other
27+ * materials provided with the distribution.
28+ *
29+ * THIS DOCUMENTATION IS PROVIDED BY THE MINGW.ORG PROJECT "AS IS" AND
30+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
32+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE MINGW.ORG PROJECT, OR
33+ * ITS CONTRIBUTORS, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
34+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
35+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
36+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39+ * OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
40+ * DAMAGE.
41+ *
42+-->
43+<p>Copyright &copy; 2020, MinGW.org Project
44+</p>
45+<p>Redistribution and use in source and 'compiled' forms (SGML, HTML,
46+PDF, PostScript, RTF, etc) with or without modification, are permitted
47+provided that the following conditions are met:&mdash;
48+</p>
49+<ol style="margin: 0.2em 0 0 0;">
50+ <li style="padding-bottom: 0.2em;">
51+ Redistributions of source code must retain the above copyright
52+ notice, this list of conditions and the following disclaimer as
53+ the first lines of this file, unmodified.
54+ </li>
55+ <li>Redistributions in compiled form (transformed to other DTDs,
56+ converted to PDF, PostScript, RTF and other formats) must
57+ reproduce the above copyright notice, this list of conditions
58+ and the following disclaimer in the documentation and/or other
59+ materials provided with the distribution.
60+ </li>
61+</ol>
62+<p>
63+THIS DOCUMENTATION IS PROVIDED BY THE MINGW.ORG PROJECT "AS IS" AND
64+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
65+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
66+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE MINGW.ORG PROJECT, OR
67+ITS CONTRIBUTORS, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
68+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
69+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
70+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
71+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
72+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
73+OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
74+DAMAGE.
75+</p>
76+
77+<!-- $RCSfile$: end of file -->
--- a/header.html
+++ b/header.html
@@ -46,7 +46,11 @@
4646 <ul id="navbar">
4747 <li><a href="index.html">Home</a></li>
4848 <li><a href="#">Downloads</a></li>
49- <li><a href="#">Licensing</a></li>
49+ <li><a onclick="load_page_overlay('terms.html', 'MinGW Licensing',
50+ 'Terms of Use for MinGW.org Products and Resources')"
51+ href="#"
52+ >Licensing</a>
53+ </li>
5054 <li><a href="#">Documentation</a></li>
5155 <li><a href="#">Contact Us</a></li>
5256 </ul>
--- a/site.css
+++ b/site.css
@@ -213,4 +213,24 @@ p+ul
213213 margin: 0; padding-top: 1px; font-weight: normal;
214214 }
215215
216+/* Supplementary formatting for sections with numbered headings
217+ * ============================================================
218+ */
219+.h3-numbered
220+{ /* On starting any new numbered section division, reset the
221+ * heading serial number sequence, and establish a suitable
222+ * space at the top of the display region.
223+ */
224+ counter-reset: h3-number;
225+ margin-top: 0.8em;
226+}
227+.h3-numbered h3::before
228+{ /* For each section heading, in sequence, increment the serial
229+ * number, and prefix it to the heading text.
230+ */
231+ counter-increment: h3-number;
232+ font-family: inherit; font-size: 0.87em; font-weight: bold;
233+ content: counter(h3-number) ". ";
234+}
235+
216236 /* $RCSfile$: end of file */
--- a/site.js
+++ b/site.js
@@ -64,6 +64,15 @@ function load_page_content( src, subtitle )
6464 load_content( "page-content", src );
6565 }
6666
67+function load_page_overlay( src, title, subtitle )
68+{ /* Replace the existing page content from the specified overlay
69+ * "src" file, updating the page title, and subtitle, as may be
70+ * appropriate.
71+ */
72+ if( title ) document.title = title;
73+ load_page_content( src, subtitle );
74+}
75+
6776 function new_page( src, subtitle )
6877 { /* Create a new page display, starting from scratch; assign the
6978 * displayed title from the HTML document title attribute, adding
--- /dev/null
+++ b/terms.html
@@ -0,0 +1,155 @@
1+<!DOCTYPE HTML><!--
2+ *
3+ * terms.html
4+ *
5+ * General description of the licensing terms which are applicable to
6+ * the use of MinGW.org products, and resources.
7+ *
8+ *
9+ * $Id$
10+ *
11+ * Written by Keith Marshall <keith@users.osdn.me>
12+ * Copyright (C) 2020, MinGW.org Project
13+ *
14+ *
15+ * Redistribution and use in source and 'compiled' forms (SGML, HTML,
16+ * PDF, PostScript, RTF, etc) with or without modification, are permitted
17+ * provided that the following conditions are met:
18+ *
19+ * 1. Redistributions of source code must retain the above copyright
20+ * notice, this list of conditions and the following disclaimer as
21+ * the first lines of this file, unmodified.
22+ *
23+ * 2. Redistributions in compiled form (transformed to other DTDs,
24+ * converted to PDF, PostScript, RTF and other formats) must
25+ * reproduce the above copyright notice, this list of conditions
26+ * and the following disclaimer in the documentation and/or other
27+ * materials provided with the distribution.
28+ *
29+ * THIS DOCUMENTATION IS PROVIDED BY THE MINGW.ORG PROJECT "AS IS" AND
30+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
32+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE MINGW.ORG PROJECT, OR
33+ * ITS CONTRIBUTORS, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
34+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
35+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
36+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39+ * OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
40+ * DAMAGE.
41+ *
42+ *
43+ * Note: this page assumes browser support for the following numeric
44+ * HTML entity codes:
45+ *
46+ * &#8209; non-breaking hyphen
47+ * &#8217; typographic apostrophe
48+ * &#8220; left (opening) typographic double quote
49+ * &#8221; right (closing) typographic double quote
50+ *
51+-->
52+<div class="h3-numbered">
53+<p>Each of the various packages,
54+which are distributed by MinGW.org,
55+is governed by its own individual copyright and licensing terms.
56+In summary, the applicable terms for the web&#8209;site content,
57+and for the most commonly deployed packages,
58+are as follows:&mdash;
59+</p>
60+<h3>MinGW.org Web&#8209;Site Content</h3>
61+<p>Publication of the content of this MinGW.org web&#8209;site is
62+subject to the terms of
63+<a href="#"
64+onclick="load_page_content('fdl.html','The MinGW Free Documentation Licence')"
65+>this MinGW specific adaptation</a>
66+of the
67+<a rel="noopener noreferrer" target="_blank"
68+href="https://www.freebsd.org/copyright/freebsd-doc-license.html"
69+>FreeBSD Documentation Licence</a>.
70+</p>
71+<h3>MinGW.org Windows System Libraries (WSL)</h3>
72+<p>Not to be confused with
73+Microsoft&#8217;s &#8220;Windows Subsystem for Linux&#8221;,
74+(MinGW.org&#8217;s adoption of the &#8220;WSL&#8221; acronym
75+preceded Microsoft&#8217;s by several years),
76+the &#8220;MinGW.org Windows System Libraries&#8221; comprise:&mdash;
77+</p>
78+<ul>
79+<li>the &#8220;MinGW C&#8209;Runtime Library&#8221; (mingwrt), and</li>
80+<li>the &#8220;MinGW Windows API&#8221; (w32api).</li>
81+</ul>
82+<p>Prior to version 4.0,
83+these constituents of MinGW.org WSL were released independently,
84+with no synchronization of their version numbers.
85+There is a commonly held misconception,
86+that both of these constituent packages
87+were released into the public domain,
88+and thus, were exempt from licensing and copyright considerations.
89+However,
90+while it is true that all
91+<em>direct</em> contributors to MinGW agreed to waive copyright,
92+it is <em>not</em>,
93+and <em>never has been</em> true
94+that the entire code base is exempt from copyright;
95+in fact,
96+substantial portions of the code base have been acquired from third parties,
97+who retain copyright,
98+and have granted permission to redistribute under licences such as BSD,
99+or MIT/X11, so while parts of the code base <em>may</em> be public domain,
100+the work as a whole must be considered to be licensed under
101+a hybrid collection of BSD, MIT/X11,
102+and a few other compatible (generally very permissive) licences.
103+</p>
104+<p>From version 4.0 onwards,
105+the two constituents of the &#8220;MinGW.org Windows System Libraries&#8221;
106+have been published as an integrated package set;
107+(version 4.x blurred the distinction between the two constituents;
108+version 5.x reinstated it,
109+but the two constituents are <em>always</em> released concurrently,
110+with <em>strictly</em> synchronized version numbers).
111+Additionally,
112+from the release of version 4.0,
113+and on account of the inadmissibility of the very concept of public domain,
114+in certain legal jurisdictions,
115+the entire &#8220;MinGW.org Windows System Libraries&#8221; suite
116+has been published under the terms of
117+<a rel="noopener noreferrer" target="_blank"
118+href="http://git.osdn.net/view?p=mingw/mingw-org-wsl.git;a=blob;f=LICENSE;
119+h=d5640dc6377de4b4e9af1a472b0be5999b885a71;hb=HEAD"
120+>the MIT/X11 Licence</a>,
121+(except in the case of those elements of the code base to which
122+some alternative <em>explicit</em> licence was already applicable;
123+such elements retain their original licensing terms).
124+</p>
125+<h3>MinGW.org WSL Code Profiling Extensions</h3>
126+<p>The code profiling extensions,
127+which are included within
128+the &#8220;MinGW.org Windows System Libraries&#8221; distribution,
129+are licensed under the terms of the
130+<a rel="noopener noreferrer" target="_blank"
131+ href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
132+>GNU General Public Licence (GPL), Version&#8209;2</a>.
133+If you use these profiling extensions within your code,
134+then your application becomes subject to the terms of the GPL&#8209;v2.
135+</p>
136+<h3>MinGW Distributions of GNU Packages</h3>
137+<p>Other than the
138+&#8220;MinGW.org Windows System Libraries&#8221;,
139+the principal packages which comprise the MinGW distribution,
140+including the &#8220;GNU Compiler Collection (GCC)&#8221;,
141+the &#8220;GNU Binary Utilities (binutils)&#8221;,
142+the &#8220;GNU Debugger (GDB)&#8221;,
143+and &#8220;GNU Make&#8221;,
144+are derived from upstream GNU packages;
145+as such, they are distributed under the terms of the
146+<a rel="noopener noreferrer" target="_blank"
147+ href="http://www.gnu.org/licenses/licenses.html#GPL"
148+>GNU General Public Licence</a>;
149+(in the case of more recent releases,
150+this will normally be GPL&#8209;v3;
151+earlier releases may often still be under GPL&#8209;v2).
152+</p>
153+</div>
154+
155+<!-- $RCSfile$: end of file -->
Show on old repository browser