From ecf905469ade1972f8a8acadfcd182d56dacb4f0 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 15 Oct 2019 18:16:21 -0600 Subject: [PATCH] normalize license file names can centralize as much as possible --- .github/CONTRIBUTING.md | 5 +- LICENSE | 8 +-- README.md | 7 +-- build-guide.md => build.md | 0 pkgs/racket-build-guide/Makefile | 2 +- .../scribblings/main/license.scrbl | 7 +-- .../src/LICENSE-APACHE.txt | 0 racket/src/{COPYING.txt => LICENSE-GPL.txt} | 0 .../{COPYING_LESSER.txt => LICENSE-LGPL.txt} | 0 LICENSE-MIT => racket/src/LICENSE-MIT.txt | 0 ...NG-libscheme.txt => LICENSE-libscheme.txt} | 0 racket/src/LICENSE.txt | 52 +++++++++++++++++++ racket/src/Makefile.in | 6 +-- racket/src/README.txt | 2 +- racket/src/worksp/build.bat | 6 +-- racket/src/worksp/csbuild.rkt | 12 ++--- 16 files changed, 78 insertions(+), 29 deletions(-) rename build-guide.md => build.md (100%) rename LICENSE-APACHE => racket/src/LICENSE-APACHE.txt (100%) rename racket/src/{COPYING.txt => LICENSE-GPL.txt} (100%) rename racket/src/{COPYING_LESSER.txt => LICENSE-LGPL.txt} (100%) rename LICENSE-MIT => racket/src/LICENSE-MIT.txt (100%) rename racket/src/{COPYING-libscheme.txt => LICENSE-libscheme.txt} (100%) create mode 100644 racket/src/LICENSE.txt diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index abece7cd21..2b466d13a3 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -5,7 +5,8 @@ the IRC or Slack channels. By making a contribution, you are agreeing that your contribution is licensed under the LGPLv3, Apache 2.0, and MIT licenses. Those licenses are available in this repository in the files -racket/src/COPYING_LESSER.txt, LICENSE-APACHE, and LICENSE-MIT. +racket/src/LICENSE-LGPL.txt, racket/src/LICENSE-APACHE.txt, and +racket/src/LICENSE-MIT.txt. -See the [Racket Build Guide](../build-guide.md) for more guidabce on +See the [Racket Build Guide](../build.md) for more guidance on contributing. diff --git a/LICENSE b/LICENSE index 8cf9b78fb5..3629a31612 100644 --- a/LICENSE +++ b/LICENSE @@ -6,15 +6,15 @@ version, you must distribute it under the terms of the LGPL, which in particular states that you must release the source code for the modified software. -See the file racket/src/COPYING_LESSER.txt for the full text of the +See the file racket/src/LICENSE-LGPL.txt for the full text of the license. There may also be other licenses for code withing the Racket distribution with which you must comply. Some of them are listed below. -* libscheme. Code from libscheme can be found in - racket/src/racket. See the file racket/src/COPYING-libscheme.txt +* libscheme. Code from libscheme can be found in racket/src/racket. + See the file racket/src/LICENSE-libscheme.txt. * GNU Lightning. Code from GNU Lightning can be found in racket/src/racket/src. GNU Lightning is distributed under the GNU @@ -30,7 +30,7 @@ below. * zlib. Code translated from earlier versions of zlib can be found in racket/racket/collects/file/{gzip,gunzip}.rkt. Zlib is distributed - under a liberal license, see http://zlib.net/ + under a liberal license, see http://zlib.net/. * libffi. Code from libffi can be found in racket/src/foreign/libffi. See racket/src/foreign/libffi/LICENSE. diff --git a/README.md b/README.md index 3a3da27529..c9b1461467 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Building To build the full Racket distribution from this repository, run `make` in the top-level directory. To build minimal Racket, run `make base`. -For more information, see the [Build Guide](build-guide.md). +For more information, see the [Build Guide](build.md). Contributing ------------ @@ -20,8 +20,9 @@ the IRC or Slack channels. By making a contribution, you are agreeing that your contribution is licensed under the LGPLv3, Apache 2.0, and MIT licenses. Those licenses are available in this repository in the files -[COPYING_LESSER](racket/src/COPYING_LESSER.txt), -[LICENSE-APACHE](LICENSE-APACHE), and [LICENSE-MIT](LICENSE-MIT). +[LICENSE-LGPL.txt](racket/src/LICENSE-LGPL.txt), +[LICENSE-APACHE.txt](racket/src/LICENSE-APACHE.txt), and +[LICENSE-MIT.txt](racket/src/LICENSE-MIT.txt). License ------- diff --git a/build-guide.md b/build.md similarity index 100% rename from build-guide.md rename to build.md diff --git a/pkgs/racket-build-guide/Makefile b/pkgs/racket-build-guide/Makefile index 9a2f5d0ae2..ebaff0ba5b 100644 --- a/pkgs/racket-build-guide/Makefile +++ b/pkgs/racket-build-guide/Makefile @@ -1,3 +1,3 @@ render: - raco scribble +m --markdown --seclink --dest ../.. --dest-name build-guide racket-build-guide.scrbl + raco scribble +m --markdown --link-section --dest ../.. --dest-name build racket-build-guide.scrbl diff --git a/pkgs/racket-index/scribblings/main/license.scrbl b/pkgs/racket-index/scribblings/main/license.scrbl index 7e4c9bd8b1..f9ea9624a6 100644 --- a/pkgs/racket-index/scribblings/main/license.scrbl +++ b/pkgs/racket-index/scribblings/main/license.scrbl @@ -21,14 +21,9 @@ General Public License (LGPL). This means ] -See @filepath{COPYING_LESSER.txt} in your Racket installation's @filepath{lib} +See @filepath{LICENSE-LGPL.txt} in your Racket installation's @filepath{share} directory for more information. -@copyright{ - Racket - Copyright (c) 2010-2018 PLT Design Inc. -} - Racket software includes or extends the following copyrighted material: @copyright{ diff --git a/LICENSE-APACHE b/racket/src/LICENSE-APACHE.txt similarity index 100% rename from LICENSE-APACHE rename to racket/src/LICENSE-APACHE.txt diff --git a/racket/src/COPYING.txt b/racket/src/LICENSE-GPL.txt similarity index 100% rename from racket/src/COPYING.txt rename to racket/src/LICENSE-GPL.txt diff --git a/racket/src/COPYING_LESSER.txt b/racket/src/LICENSE-LGPL.txt similarity index 100% rename from racket/src/COPYING_LESSER.txt rename to racket/src/LICENSE-LGPL.txt diff --git a/LICENSE-MIT b/racket/src/LICENSE-MIT.txt similarity index 100% rename from LICENSE-MIT rename to racket/src/LICENSE-MIT.txt diff --git a/racket/src/COPYING-libscheme.txt b/racket/src/LICENSE-libscheme.txt similarity index 100% rename from racket/src/COPYING-libscheme.txt rename to racket/src/LICENSE-libscheme.txt diff --git a/racket/src/LICENSE.txt b/racket/src/LICENSE.txt new file mode 100644 index 0000000000..1b9105a2f3 --- /dev/null +++ b/racket/src/LICENSE.txt @@ -0,0 +1,52 @@ +Racket is distributed under the GNU Lesser General Public License +(LGPL) version 3. This implies that you may link Racket into +proprietary applications, provided you follow the rules stated in the +LGPL. You can also modify Racket; if you distribute a modified +version, you must distribute it under the terms of the LGPL, which in +particular states that you must release the source code for the +modified software. + +See the file LICENSE-LGPL.txt for the full text of the license. + +There may also be other licenses for code withing the Racket +distribution with which you must comply. Some of them are listed +below. + +* libscheme. Code from libscheme can be found in + racket/src/racket. See the file LICENSE-libscheme.txt. + +* GNU Lightning. Code from GNU Lightning can be found in + racket/src/racket/src. GNU Lightning is distributed under the GNU + Lesser General Public License version 3. + +* GMP. Code from GMP can be found in racket/src. The + version of GMP used is distributed under the GNU Lesser General + Public License version 2.1. + +* The Boehm Collector. Code for this package can be found in + racket/gc. See the file racket/gc/README.QUICK + for license information. + +* zlib. Code translated from earlier versions of zlib can be found in + racket/racket/collects/file/{gzip,gunzip}.rkt. Zlib is distributed + under a liberal license, see http://zlib.net/. + +* libffi. Code from libffi can be found in foreign/libffi. See + foreign/libffi/LICENSE. + +* libunwind. Code from libunwind can be found in racket/src/unwind. + +* random.c. Code from random.c from FreeBSD 2.2 found in random.inc. + +* install. Code from install can be found in lt/install-sh and is + distributed under the MIT license. + +* psyntax. Code from psyntax can be found in + pkgs/racket-benchmarks/tests/racket/benchmarks/common/psyntax.sch + +* MemoryModule. Code from MemoryModule can be found in + start/MemoryModule.c. MemoryModule is distributed under the MPL + v2.0. + +* mbed TLS. Code from mbed TLS can be found in rktio/rktio_sha2.c. + mbed TLS is licensed under the Apache v2.0 License. diff --git a/racket/src/Makefile.in b/racket/src/Makefile.in index 55a66e21ee..2b0c9460ff 100644 --- a/racket/src/Makefile.in +++ b/racket/src/Makefile.in @@ -43,9 +43,9 @@ ALLDIRINFO = "$(DESTDIR)$(bindir)" \ "$(DESTDIR)$(appsdir)" \ "$(DESTDIR)$(mandir)" -COPYING = "$(srcdir)/COPYING-libscheme.txt" \ - "$(srcdir)/COPYING_LESSER.txt" \ - "$(srcdir)/COPYING.txt" +COPYING = "$(srcdir)/LICENSE-libscheme.txt" \ + "$(srcdir)/LICENSE-LGPL.txt" \ + "$(srcdir)/LICENSE-GPL.txt" all: $(MAKE) @MAIN_MAKE_TARGET@ diff --git a/racket/src/README.txt b/racket/src/README.txt index f419803a90..7bbb7336d8 100644 --- a/racket/src/README.txt +++ b/racket/src/README.txt @@ -2,7 +2,7 @@ This is the source code distribution for minimal Racket. If this directory is part of a clone of the Git repository for Racket, then the clone's root directory includes a makefile to both build -minimal Racket and install packages. See "build-guide.md" in the clone's +minimal Racket and install packages. See "build.md" in the clone's root directory. ======================================================================== diff --git a/racket/src/worksp/build.bat b/racket/src/worksp/build.bat index 88b4705b95..36da29f117 100644 --- a/racket/src/worksp/build.bat +++ b/racket/src/worksp/build.bat @@ -71,11 +71,11 @@ msbuild mzcom%PLTSLNVER%.sln /p:Configuration=3m /p:Platform=%BUILDMODE% if errorlevel 1 exit /B 1 cd .. -copy ..\COPYING-libscheme.txt ..\..\share\ +copy ..\LICENSE-libscheme.txt ..\..\share\ if errorlevel 1 exit /B 1 -copy ..\COPYING_LESSER.txt ..\..\share\ +copy ..\LICENSE-LGPL.txt ..\..\share\ if errorlevel 1 exit /B 1 -copy ..\COPYING.txt ..\..\share\ +copy ..\LICENSE-GPL.txt ..\..\share\ if errorlevel 1 exit /B 1 set PLT_REPLACE_INDEPENDENT_LAUNCHERS=yes diff --git a/racket/src/worksp/csbuild.rkt b/racket/src/worksp/csbuild.rkt index 6fdef5a35a..8558b9bd81 100644 --- a/racket/src/worksp/csbuild.rkt +++ b/racket/src/worksp/csbuild.rkt @@ -292,14 +292,14 @@ (make-directory* "../../doc") (make-directory* "../../share") -(copy-file "../COPYING-libscheme.txt" - "../../share/COPYING-libscheme.txt" +(copy-file "../LICENSE-libscheme.txt" + "../../share/LICENSE-libscheme.txt" #t) -(copy-file "../COPYING_LESSER.txt" - "../../share/COPYING_LESSER.txt" +(copy-file "../LICENSE-LGPL.txt" + "../../share/LICENSE-LGPL.txt" #t) -(copy-file "../COPYING.txt" - "../../share/COPYING.txt" +(copy-file "../LICENSE-GPL.txt" + "../../share/LICENSE-GPL.txt" #t) (parameterize ([current-directory "mzstart"])