From 65dc2f5348df9099fff44eb655eec9de615053fe Mon Sep 17 00:00:00 2001 From: Mike Furr Date: Tue, 29 Jun 2004 20:10:38 +0000 Subject: [PATCH] Added warning about compiler-libs being QPL, not LGPL. --- debian/changelog | 3 +- debian/ocaml-compiler-libs.README.Debian | 57 +++++++++ debian/ocaml-compiler-libs.copyright | 150 +++++++++++++++++++++++ 3 files changed, 209 insertions(+), 1 deletion(-) create mode 100644 debian/ocaml-compiler-libs.README.Debian create mode 100644 debian/ocaml-compiler-libs.copyright diff --git a/debian/changelog b/debian/changelog index 99d433e1..b050dbed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,7 +4,8 @@ ocaml (3.07.2a-3) unstable; urgency=low * Split out all of the tk/xlibs stuff from ocaml into ocaml-nox and from ocaml-base into ocaml-base-nox * Added a bunch of internal modules from the compiler into a new binary: - compiler-libs + compiler-libs. Also added notes in REAMDE.D and copyright that these + are QPL, not LGPL like everything else. * Changed 'Objectif' to 'Objective' in ocaml-source short description * Cleaned up debian/rules. It now uses stamp files a little more intelligently so that it doesn't rebuild the whole thing every time diff --git a/debian/ocaml-compiler-libs.README.Debian b/debian/ocaml-compiler-libs.README.Debian new file mode 100644 index 00000000..0acf07d1 --- /dev/null +++ b/debian/ocaml-compiler-libs.README.Debian @@ -0,0 +1,57 @@ +ocaml for Debian +---------------- + + Please note that the copyright of the compiler libs is QPL, not LGPL like + the rest of the standard library. See the copyright file for details. + + WARNING !!! + + If you installed this package, and all of a sudden your bytecode program + stopped working, then you need to upgrade your ocaml library packages (the + libfoo-ocaml ones) to packages rebuilt using ocaml (>= 3.06-13). Normally + you should not have been able to upgrade ocaml to 3.06-13 or later if such + libraries are still installed on your system, but Bug#170825 in dpkg allowed + you to upgrade ocaml without checking that the virtual dependencies are + still provided. + + 1) The ocaml package has been split into different binary packages : + + o ocaml : contains the full ocaml suite + o ocaml-nox : the full suite except for the graphics(Tk) modules + o ocaml-base : contains the rutime stuff (ocamlrun + dlls + Tk) + o ocaml-base-nox : contains the rutime stuff (ocamlrun + dlls - Tk) + + o ocaml-native-compilers : contains the native built part of the ocaml suite + (ocamlc.opt, ocamlopt.opt, ocamllex.opt, camlp4o.opt and camlp4r.opt) + o ocaml-compiler-libs : contains several modules used internally by + the ocaml compilers. They are not needed for normal ocaml + development, but may be helpful in the development of certain + applications. + o ocaml-source : contains the full ocaml source for the (few) package which + need them at build time or for personal use (it should _not_ be used to + build ocam litself). + + 2) The caml include files are found under /usr/lib/ocaml//caml. + A symlink is provided from /usr/include/caml for convenience. If + /usr/include/caml was previously a directory, for whatever reason, a warning + will be isued and the file moved to /usr/include/caml.bad. This can be + safely erased later on. + + 3) User installed stuff should not go under /usr/lib/ocaml/, + but rather under /usr/local/lib/ocaml/. + I will take no responsability for people who break this rule and mess things + up. + + 4) Starting from ocaml 3.05, ocaml now puts all dll.so files into a common + stublibs directory, so the ocaml-ldconf tool for handling the ld.conf + file is not needed anymore, but we will still keep it aroung until all + libraries are ported. ocaml-ldconf is now declared deprecated, and will + be removed in the near future, probably at the time of the ocaml 3.07 + release, and outputs a warning in this sense when a package still using + it get installed. + Notice that user installed dll.so files should go into + /usr/local/lib/ocaml//stublibs which is searched before + /usr/lib/ocaml//stublibs. + The older method of using ocaml-ldconf is obsolet now. + + -- Mike Furr , Thu Jun 24 14:23:14 2004 diff --git a/debian/ocaml-compiler-libs.copyright b/debian/ocaml-compiler-libs.copyright new file mode 100644 index 00000000..a00fbbc3 --- /dev/null +++ b/debian/ocaml-compiler-libs.copyright @@ -0,0 +1,150 @@ +This package was debianized by Sven Luther on +Fri, 14 Dec 2001 12:44:03 +0100. + +It was downloaded from + + ftp://ftp.inria.fr:/INRIA/cristal/caml-light/ocaml-3.07 + +Upstream Authors: Xavier Leroy, Jerome Vouillon and Damien Doligez +Upstream Author for the camlp4 part: Daniel de Rauglaudre + +NOTE: All of the files in the compiler-libs package fall under the +license of "the Compiler" below, which means that they are QPL, +NOT LGPL. + +Copyright: + +In the following, "the Library" refers to all files marked "Copyright +INRIA" in the following directories and their sub-directories: + + asmrun, byterun, config, maccaml, otherlibs, stdlib, win32caml + +and "the Compiler" refers to all files marked "Copyright INRIA" in the +other directories and their sub-directories. + +The Compiler is distributed under the terms of the Q Public License +version 1.0 (included below). + +The Library is distributed under the terms of the GNU Library General +Public License version 2 (found in /usr/share/common-licenses/LGPL-2 +on debian systems). + +As a special exception to the GNU Library General Public License, you +may link, statically or dynamically, a "work that uses the Library" +with a publicly distributed version of the Library to produce an +executable file containing portions of the Library, and distribute +that executable file under terms of your choice, without any of the +additional requirements listed in clause 6 of the GNU Library General +Public License. By "a publicly distributed version of the Library", +we mean either the unmodified Library as distributed by INRIA, or a +modified version of the Library that is distributed under the +conditions defined in clause 3 of the GNU Library General Public +License. This exception does not however invalidate any other reasons +why the executable file might be covered by the GNU Library General +Public License. + +---------------------------------------------------------------------- + + THE Q PUBLIC LICENSE version 1.0 + + Copyright (C) 1999 Troll Tech AS, Norway. + Everyone is permitted to copy and + distribute this license document. + +The intent of this license is to establish freedom to share and change +the software regulated by this license under the open source model. + +This license applies to any software containing a notice placed by the +copyright holder saying that it may be distributed under the terms of +the Q Public License version 1.0. Such software is herein referred to +as the Software. This license covers modification and distribution of +the Software, use of third-party application programs based on the +Software, and development of free software which uses the Software. + + Granted Rights + +1. You are granted the non-exclusive rights set forth in this license +provided you agree to and comply with any and all conditions in this +license. Whole or partial distribution of the Software, or software +items that link with the Software, in any form signifies acceptance of +this license. + +2. You may copy and distribute the Software in unmodified form +provided that the entire package, including - but not restricted to - +copyright, trademark notices and disclaimers, as released by the +initial developer of the Software, is distributed. + +3. You may make modifications to the Software and distribute your +modifications, in a form that is separate from the Software, such as +patches. The following restrictions apply to modifications: + + a. Modifications must not alter or remove any copyright notices + in the Software. + + b. When modifications to the Software are released under this + license, a non-exclusive royalty-free right is granted to the + initial developer of the Software to distribute your + modification in future versions of the Software provided such + versions remain available under these terms in addition to any + other license(s) of the initial developer. + +4. You may distribute machine-executable forms of the Software or +machine-executable forms of modified versions of the Software, +provided that you meet these restrictions: + + a. You must include this license document in the distribution. + + b. You must ensure that all recipients of the machine-executable + forms are also able to receive the complete machine-readable + source code to the distributed Software, including all + modifications, without any charge beyond the costs of data + transfer, and place prominent notices in the distribution + explaining this. + + c. You must ensure that all modifications included in the + machine-executable forms are available under the terms of this + license. + +5. You may use the original or modified versions of the Software to +compile, link and run application programs legally developed by you or +by others. + +6. You may develop application programs, reusable components and other +software items that link with the original or modified versions of the +Software. These items, when distributed, are subject to the following +requirements: + + a. You must ensure that all recipients of machine-executable + forms of these items are also able to receive and use the + complete machine-readable source code to the items without any + charge beyond the costs of data transfer. + + b. You must explicitly license all recipients of your items to + use and re-distribute original and modified versions of the + items in both machine-executable and source code forms. The + recipients must be able to do so without any charges whatsoever, + and they must be able to re-distribute to anyone they choose. + + c. If the items are not available to the general public, and the + initial developer of the Software requests a copy of the items, + then you must supply one. + + Limitations of Liability + +In no event shall the initial developers or copyright holders be +liable for any damages whatsoever, including - but not restricted to - +lost revenue or profits or other direct, indirect, special, incidental +or consequential damages, even if they have been advised of the +possibility of such damages, except to the extent invariable law, if +any, provides otherwise. + + No Warranty + +The Software and this license document are provided AS IS with NO +WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + Choice of Law + +This license is governed by the Laws of France. Disputes shall be +settled by the Court of Versailles. -- 2.30.2