From: Sven Luther Date: Wed, 2 Nov 2005 11:36:31 +0000 (+0000) Subject: Let's put them directly in place instead of into the templates dir. X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~703 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f58a7273d977f85563f28aaa32bbe0fd83c23c56;p=ocaml.git Let's put them directly in place instead of into the templates dir. --- diff --git a/debian/copyright.in b/debian/copyright.in new file mode 100644 index 00000000..2383f444 --- /dev/null +++ b/debian/copyright.in @@ -0,0 +1,163 @@ +This package was debianized by Sven Luther on +Fri, 14 Dec 2001 12:44:03 +0100. + +It was downloaded from + + http://caml.inria.fr/pub/distrib/ocaml-#OcamlMAJOR#/ocaml-#OcamlABI#.tar.gz + +Upstream Authors: Xavier Leroy, Jerome Vouillon and Damien Doligez +Upstream Author for the camlp4 part: Daniel de Rauglaudre + +Copyright: + +In the following, "the Library" refers to all files marked "Copyright +INRIA" in the following directories and their sub-directories: + + asmrun, byterun, camlp4, config, otherlibs, stdlib, win32caml + +and "the Compiler" refers to all files marked "Copyright INRIA" in the +following directories and their sub-directories: + + asmcomp, boot, bytecomp, debugger, driver, lex, ocamldoc, parsing, + tools, toplevel, typing, utils, yacc + +and the "emacs bindings" refer to all files marked "Copyright INRIA" in +the followin directory : + + emacs + +The Compiler is distributed under the terms of the Q Public License +version 1.0 with a change to choice of law (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). + +The emacs bindings are distributed under the terms of the GNU General +Public License version 2 (found in /usr/share/common-licenses/GPL-2 +on debian systems). + +As a special exception to the Q Public Licence, you may develop +application programs, reusable components and other software items +that link with the original or modified versions of the Compiler +and are not made available to the general public, without any of the +additional requirements listed in clause 6c of the Q Public licence. + +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. diff --git a/debian/ld.conf.in b/debian/ld.conf.in new file mode 100644 index 00000000..554967ab --- /dev/null +++ b/debian/ld.conf.in @@ -0,0 +1,2 @@ +/usr/local/lib/ocaml/#OcamlABI#/stublibs +/usr/lib/ocaml/#OcamlABI#/stublibs diff --git a/debian/ocaml-base-nox.dirs.in b/debian/ocaml-base-nox.dirs.in new file mode 100644 index 00000000..d713ce3e --- /dev/null +++ b/debian/ocaml-base-nox.dirs.in @@ -0,0 +1,4 @@ +usr/bin +usr/share/man/man1 +usr/lib/ocaml/#OcamlABI# +usr/lib/ocaml/#OcamlABI#/stublibs diff --git a/debian/ocaml-base-nox.files.in b/debian/ocaml-base-nox.files.in new file mode 100644 index 00000000..8f546d1c --- /dev/null +++ b/debian/ocaml-base-nox.files.in @@ -0,0 +1,10 @@ +usr/bin/ocamlrun +usr/share/man/man1/ocamlrun.1 +usr/lib/ocaml/#OcamlABI#/stublibs/dllunix.so +usr/lib/ocaml/#OcamlABI#/stublibs/dllstr.so +usr/lib/ocaml/#OcamlABI#/stublibs/dllbigarray.so +usr/lib/ocaml/#OcamlABI#/stublibs/dllthreads.so +usr/lib/ocaml/#OcamlABI#/stublibs/dllvmthreads.so +usr/lib/ocaml/#OcamlABI#/stublibs/dllmldbm.so +usr/lib/ocaml/#OcamlABI#/stublibs/dllnums.so +usr/lib/ocaml/#OcamlABI#/ld.conf diff --git a/debian/ocaml-base-nox.postinst.in b/debian/ocaml-base-nox.postinst.in new file mode 100644 index 00000000..cfeb73b1 --- /dev/null +++ b/debian/ocaml-base-nox.postinst.in @@ -0,0 +1,29 @@ +#!/bin/sh +if [ ! -e /usr/local/lib/ocaml ]; then + if mkdir /usr/local/lib/ocaml 2>/dev/null; then + chown root:staff /usr/local/lib/ocaml + chmod 2775 /usr/local/lib/ocaml + fi +fi +if [ ! -e /usr/local/lib/ocaml/#OcamlABI# ]; then + if mkdir /usr/local/lib/ocaml/#OcamlABI# 2>/dev/null; then + chown root:staff /usr/local/lib/ocaml/#OcamlABI# + chmod 2775 /usr/local/lib/ocaml/#OcamlABI# + fi +fi +if [ ! -e /usr/local/lib/ocaml/#OcamlABI#/stublibs ]; then + if mkdir /usr/local/lib/ocaml/#OcamlABI#/stublibs 2>/dev/null; then + chown root:staff /usr/local/lib/ocaml/#OcamlABI#/stublibs + chmod 2775 /usr/local/lib/ocaml/#OcamlABI#/stublibs + fi +fi + +for i in /usr/lib/ocaml/3.06 /etc/ocaml /var/lib/ocaml; do \ + if [ -e $i/ld.conf ]; then \ + echo "Removing leftover $i/ld.conf"; \ + rm -f $i/ld.conf; \ + rmdir --ignore-fail-on-non-empty $i; \ + fi; \ +done + +#DEBHELPER# diff --git a/debian/ocaml-base-nox.prerm.in b/debian/ocaml-base-nox.prerm.in new file mode 100644 index 00000000..da4a861c --- /dev/null +++ b/debian/ocaml-base-nox.prerm.in @@ -0,0 +1,7 @@ +#!/bin/sh -e + +rmdir /usr/local/lib/ocaml/#OcamlABI#/stublibs 2>/dev/null || true +rmdir /usr/local/lib/ocaml/#OcamlABI# 2>/dev/null || true +rmdir /usr/local/lib/ocaml 2>/dev/null || true + +#DEBHELPER# diff --git a/debian/ocaml-base.dirs.in b/debian/ocaml-base.dirs.in new file mode 100644 index 00000000..69d9e064 --- /dev/null +++ b/debian/ocaml-base.dirs.in @@ -0,0 +1 @@ +usr/lib/ocaml/#OcamlABI#/stublibs diff --git a/debian/ocaml-base.files.in b/debian/ocaml-base.files.in new file mode 100644 index 00000000..635cff9f --- /dev/null +++ b/debian/ocaml-base.files.in @@ -0,0 +1,3 @@ +usr/lib/ocaml/#OcamlABI#/stublibs/dllgraphics.so +usr/lib/ocaml/#OcamlABI#/stublibs/dlllabltk.so +usr/lib/ocaml/#OcamlABI#/stublibs/dlltkanim.so diff --git a/debian/ocaml-compiler-libs.dirs.in b/debian/ocaml-compiler-libs.dirs.in new file mode 100644 index 00000000..bcc131ed --- /dev/null +++ b/debian/ocaml-compiler-libs.dirs.in @@ -0,0 +1,2 @@ +usr/lib/ocaml/#OcamlABI#/compiler-libs +usr/share/lintian/overrides diff --git a/debian/ocaml-interp.dirs.in b/debian/ocaml-interp.dirs.in new file mode 100644 index 00000000..31d82691 --- /dev/null +++ b/debian/ocaml-interp.dirs.in @@ -0,0 +1,4 @@ +usr/bin +usr/share/man/man1 +usr/lib/ocaml/#OcamlABI# +usr/share/pixmaps diff --git a/debian/ocaml-interp.files.in b/debian/ocaml-interp.files.in new file mode 100644 index 00000000..a116bb36 --- /dev/null +++ b/debian/ocaml-interp.files.in @@ -0,0 +1,65 @@ +usr/share/man/man1/ocaml.1 +usr/bin/ocaml +usr/lib/ocaml/#OcamlABI#/stdlib.cma +usr/lib/ocaml/#OcamlABI#/arg.cmi +usr/lib/ocaml/#OcamlABI#/array.cmi +usr/lib/ocaml/#OcamlABI#/arrayLabels.cmi +usr/lib/ocaml/#OcamlABI#/buffer.cmi +usr/lib/ocaml/#OcamlABI#/callback.cmi +usr/lib/ocaml/#OcamlABI#/camlinternalOO.cmi +usr/lib/ocaml/#OcamlABI#/char.cmi +usr/lib/ocaml/#OcamlABI#/complex.cmi +usr/lib/ocaml/#OcamlABI#/digest.cmi +usr/lib/ocaml/#OcamlABI#/filename.cmi +usr/lib/ocaml/#OcamlABI#/format.cmi +usr/lib/ocaml/#OcamlABI#/gc.cmi +usr/lib/ocaml/#OcamlABI#/genlex.cmi +usr/lib/ocaml/#OcamlABI#/hashtbl.cmi +usr/lib/ocaml/#OcamlABI#/int32.cmi +usr/lib/ocaml/#OcamlABI#/int64.cmi +usr/lib/ocaml/#OcamlABI#/lazy.cmi +usr/lib/ocaml/#OcamlABI#/lexing.cmi +usr/lib/ocaml/#OcamlABI#/list.cmi +usr/lib/ocaml/#OcamlABI#/listLabels.cmi +usr/lib/ocaml/#OcamlABI#/map.cmi +usr/lib/ocaml/#OcamlABI#/marshal.cmi +usr/lib/ocaml/#OcamlABI#/moreLabels.cmi +usr/lib/ocaml/#OcamlABI#/nativeint.cmi +usr/lib/ocaml/#OcamlABI#/obj.cmi +usr/lib/ocaml/#OcamlABI#/oo.cmi +usr/lib/ocaml/#OcamlABI#/parsing.cmi +usr/lib/ocaml/#OcamlABI#/pervasives.cmi +usr/lib/ocaml/#OcamlABI#/printexc.cmi +usr/lib/ocaml/#OcamlABI#/printf.cmi +usr/lib/ocaml/#OcamlABI#/queue.cmi +usr/lib/ocaml/#OcamlABI#/random.cmi +usr/lib/ocaml/#OcamlABI#/scanf.cmi +usr/lib/ocaml/#OcamlABI#/set.cmi +usr/lib/ocaml/#OcamlABI#/sort.cmi +usr/lib/ocaml/#OcamlABI#/stack.cmi +usr/lib/ocaml/#OcamlABI#/stdLabels.cmi +usr/lib/ocaml/#OcamlABI#/std_exit.cmi +usr/lib/ocaml/#OcamlABI#/stream.cmi +usr/lib/ocaml/#OcamlABI#/string.cmi +usr/lib/ocaml/#OcamlABI#/stringLabels.cmi +usr/lib/ocaml/#OcamlABI#/sys.cmi +usr/lib/ocaml/#OcamlABI#/weak.cmi +usr/lib/ocaml/#OcamlABI#/toplevellib.cma +usr/lib/ocaml/#OcamlABI#/toploop.cmi +usr/lib/ocaml/#OcamlABI#/topdirs.cmi +usr/lib/ocaml/#OcamlABI#/topmain.cmi +usr/lib/ocaml/#OcamlABI#/unix.cma +usr/lib/ocaml/#OcamlABI#/unix.cmi +usr/lib/ocaml/#OcamlABI#/unixLabels.cmi +usr/lib/ocaml/#OcamlABI#/str.cma +usr/lib/ocaml/#OcamlABI#/str.cmi +usr/lib/ocaml/#OcamlABI#/dynlink.cmi +usr/lib/ocaml/#OcamlABI#/dynlink.cma +usr/lib/ocaml/#OcamlABI#/bigarray.cmi +usr/lib/ocaml/#OcamlABI#/bigarray.cma +usr/lib/ocaml/#OcamlABI#/nums.cma +usr/lib/ocaml/#OcamlABI#/big_int.cmi +usr/lib/ocaml/#OcamlABI#/nat.cmi +usr/lib/ocaml/#OcamlABI#/num.cmi +usr/lib/ocaml/#OcamlABI#/ratio.cmi +usr/lib/ocaml/#OcamlABI#/arith_status.cmi diff --git a/debian/ocaml-nox.dirs.in b/debian/ocaml-nox.dirs.in new file mode 100644 index 00000000..49dbea4d --- /dev/null +++ b/debian/ocaml-nox.dirs.in @@ -0,0 +1,8 @@ +usr/bin +usr/lib/ocaml/#OcamlABI# +usr/lib/ocaml/#OcamlABI#/config +usr/include/ocaml/#OcamlABI# +usr/share/man/man1 +usr/share/man/man3 +usr/share/texmf/tex/latex/misc +usr/share/lintian/overrides diff --git a/debian/ocaml-nox.override.in b/debian/ocaml-nox.override.in new file mode 100644 index 00000000..5c348863 --- /dev/null +++ b/debian/ocaml-nox.override.in @@ -0,0 +1 @@ +script-not-executable ./usr/lib/ocaml/#OcamlABI#/camlheader diff --git a/debian/ocaml-nox.postinst.in b/debian/ocaml-nox.postinst.in new file mode 100644 index 00000000..5695cd49 --- /dev/null +++ b/debian/ocaml-nox.postinst.in @@ -0,0 +1,21 @@ +#!/bin/sh -e + +ln -sf /usr/lib/ocaml/#OcamlABI#/caml /usr/include/caml + +ln -sf ../ocaml-base-nox/Changes.gz /usr/share/doc/ocaml-nox +ln -sf ../ocaml-base-nox/README.gz /usr/share/doc/ocaml-nox +ln -sf ../ocaml-base-nox/ocaml_packaging_policy.gz /usr/share/doc/ocaml-nox + +if [ "$1" = "configure" ]; then + ocaml-md5sums update + + # Save Emacs conffiles from previous ocaml versions + for f in ocaml ocaml-nox ; do + file="/etc/emacs/site-start.d/50$f.el" + if [ -e "$file" ]; then + mv "$file" "$file.save" + fi + done +fi + +#DEBHELPER# diff --git a/debian/ocaml-opt.files.in b/debian/ocaml-opt.files.in new file mode 100644 index 00000000..3871d144 --- /dev/null +++ b/debian/ocaml-opt.files.in @@ -0,0 +1,6 @@ +usr/bin/labltk +usr/lib/ocaml/#OcamlABI#/libgraphics.a +usr/lib/ocaml/#OcamlABI#/labltk +usr/lib/ocaml/#OcamlABI#/graphics.cmx +usr/lib/ocaml/#OcamlABI#/graphics.cmxa +usr/lib/ocaml/#OcamlABI#/graphics.a diff --git a/debian/ocaml.dirs.in b/debian/ocaml.dirs.in new file mode 100644 index 00000000..5105aee5 --- /dev/null +++ b/debian/ocaml.dirs.in @@ -0,0 +1,2 @@ +usr/bin +usr/lib/ocaml/#OcamlABI# diff --git a/debian/ocaml.files.in b/debian/ocaml.files.in new file mode 100644 index 00000000..90d15a87 --- /dev/null +++ b/debian/ocaml.files.in @@ -0,0 +1,7 @@ +usr/bin/labltk +usr/lib/ocaml/#OcamlABI#/graphics.cma +usr/lib/ocaml/#OcamlABI#/graphics.cmi +usr/lib/ocaml/#OcamlABI#/graphicsX11.cmi +usr/lib/ocaml/#OcamlABI#/graphics.mli +usr/lib/ocaml/#OcamlABI#/graphicsX11.mli +usr/lib/ocaml/#OcamlABI#/labltk diff --git a/debian/rules b/debian/rules index 0e6fccac..3cd9ae4f 100755 --- a/debian/rules +++ b/debian/rules @@ -37,9 +37,8 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) endif config-stamp: configure - for t in templates/*; do \ - target=${t#templates/}; \ - sed -e 's%#OcamlABI#%3.09.0%' -e 's%#OcamlMAJOR#%3.09%' $t >${target%.in}; \ + for t in `find . -name \*.in`; do \ + sed -e 's%#OcamlABI#%3.09.0%' -e 's%#OcamlMAJOR#%3.09%' $t >${t%.in}; \ done dh_testdir # Add here commands to configure the package. diff --git a/debian/templates/copyright.in b/debian/templates/copyright.in deleted file mode 100644 index 2383f444..00000000 --- a/debian/templates/copyright.in +++ /dev/null @@ -1,163 +0,0 @@ -This package was debianized by Sven Luther on -Fri, 14 Dec 2001 12:44:03 +0100. - -It was downloaded from - - http://caml.inria.fr/pub/distrib/ocaml-#OcamlMAJOR#/ocaml-#OcamlABI#.tar.gz - -Upstream Authors: Xavier Leroy, Jerome Vouillon and Damien Doligez -Upstream Author for the camlp4 part: Daniel de Rauglaudre - -Copyright: - -In the following, "the Library" refers to all files marked "Copyright -INRIA" in the following directories and their sub-directories: - - asmrun, byterun, camlp4, config, otherlibs, stdlib, win32caml - -and "the Compiler" refers to all files marked "Copyright INRIA" in the -following directories and their sub-directories: - - asmcomp, boot, bytecomp, debugger, driver, lex, ocamldoc, parsing, - tools, toplevel, typing, utils, yacc - -and the "emacs bindings" refer to all files marked "Copyright INRIA" in -the followin directory : - - emacs - -The Compiler is distributed under the terms of the Q Public License -version 1.0 with a change to choice of law (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). - -The emacs bindings are distributed under the terms of the GNU General -Public License version 2 (found in /usr/share/common-licenses/GPL-2 -on debian systems). - -As a special exception to the Q Public Licence, you may develop -application programs, reusable components and other software items -that link with the original or modified versions of the Compiler -and are not made available to the general public, without any of the -additional requirements listed in clause 6c of the Q Public licence. - -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. diff --git a/debian/templates/ld.conf.in b/debian/templates/ld.conf.in deleted file mode 100644 index 554967ab..00000000 --- a/debian/templates/ld.conf.in +++ /dev/null @@ -1,2 +0,0 @@ -/usr/local/lib/ocaml/#OcamlABI#/stublibs -/usr/lib/ocaml/#OcamlABI#/stublibs diff --git a/debian/templates/ocaml-base-nox.dirs.in b/debian/templates/ocaml-base-nox.dirs.in deleted file mode 100644 index d713ce3e..00000000 --- a/debian/templates/ocaml-base-nox.dirs.in +++ /dev/null @@ -1,4 +0,0 @@ -usr/bin -usr/share/man/man1 -usr/lib/ocaml/#OcamlABI# -usr/lib/ocaml/#OcamlABI#/stublibs diff --git a/debian/templates/ocaml-base-nox.files.in b/debian/templates/ocaml-base-nox.files.in deleted file mode 100644 index 8f546d1c..00000000 --- a/debian/templates/ocaml-base-nox.files.in +++ /dev/null @@ -1,10 +0,0 @@ -usr/bin/ocamlrun -usr/share/man/man1/ocamlrun.1 -usr/lib/ocaml/#OcamlABI#/stublibs/dllunix.so -usr/lib/ocaml/#OcamlABI#/stublibs/dllstr.so -usr/lib/ocaml/#OcamlABI#/stublibs/dllbigarray.so -usr/lib/ocaml/#OcamlABI#/stublibs/dllthreads.so -usr/lib/ocaml/#OcamlABI#/stublibs/dllvmthreads.so -usr/lib/ocaml/#OcamlABI#/stublibs/dllmldbm.so -usr/lib/ocaml/#OcamlABI#/stublibs/dllnums.so -usr/lib/ocaml/#OcamlABI#/ld.conf diff --git a/debian/templates/ocaml-base-nox.postinst.in b/debian/templates/ocaml-base-nox.postinst.in deleted file mode 100644 index cfeb73b1..00000000 --- a/debian/templates/ocaml-base-nox.postinst.in +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -if [ ! -e /usr/local/lib/ocaml ]; then - if mkdir /usr/local/lib/ocaml 2>/dev/null; then - chown root:staff /usr/local/lib/ocaml - chmod 2775 /usr/local/lib/ocaml - fi -fi -if [ ! -e /usr/local/lib/ocaml/#OcamlABI# ]; then - if mkdir /usr/local/lib/ocaml/#OcamlABI# 2>/dev/null; then - chown root:staff /usr/local/lib/ocaml/#OcamlABI# - chmod 2775 /usr/local/lib/ocaml/#OcamlABI# - fi -fi -if [ ! -e /usr/local/lib/ocaml/#OcamlABI#/stublibs ]; then - if mkdir /usr/local/lib/ocaml/#OcamlABI#/stublibs 2>/dev/null; then - chown root:staff /usr/local/lib/ocaml/#OcamlABI#/stublibs - chmod 2775 /usr/local/lib/ocaml/#OcamlABI#/stublibs - fi -fi - -for i in /usr/lib/ocaml/3.06 /etc/ocaml /var/lib/ocaml; do \ - if [ -e $i/ld.conf ]; then \ - echo "Removing leftover $i/ld.conf"; \ - rm -f $i/ld.conf; \ - rmdir --ignore-fail-on-non-empty $i; \ - fi; \ -done - -#DEBHELPER# diff --git a/debian/templates/ocaml-base-nox.prerm.in b/debian/templates/ocaml-base-nox.prerm.in deleted file mode 100644 index da4a861c..00000000 --- a/debian/templates/ocaml-base-nox.prerm.in +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -e - -rmdir /usr/local/lib/ocaml/#OcamlABI#/stublibs 2>/dev/null || true -rmdir /usr/local/lib/ocaml/#OcamlABI# 2>/dev/null || true -rmdir /usr/local/lib/ocaml 2>/dev/null || true - -#DEBHELPER# diff --git a/debian/templates/ocaml-base.dirs.in b/debian/templates/ocaml-base.dirs.in deleted file mode 100644 index 69d9e064..00000000 --- a/debian/templates/ocaml-base.dirs.in +++ /dev/null @@ -1 +0,0 @@ -usr/lib/ocaml/#OcamlABI#/stublibs diff --git a/debian/templates/ocaml-base.files.in b/debian/templates/ocaml-base.files.in deleted file mode 100644 index 635cff9f..00000000 --- a/debian/templates/ocaml-base.files.in +++ /dev/null @@ -1,3 +0,0 @@ -usr/lib/ocaml/#OcamlABI#/stublibs/dllgraphics.so -usr/lib/ocaml/#OcamlABI#/stublibs/dlllabltk.so -usr/lib/ocaml/#OcamlABI#/stublibs/dlltkanim.so diff --git a/debian/templates/ocaml-compiler-libs.dirs.in b/debian/templates/ocaml-compiler-libs.dirs.in deleted file mode 100644 index bcc131ed..00000000 --- a/debian/templates/ocaml-compiler-libs.dirs.in +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/ocaml/#OcamlABI#/compiler-libs -usr/share/lintian/overrides diff --git a/debian/templates/ocaml-interp.dirs.in b/debian/templates/ocaml-interp.dirs.in deleted file mode 100644 index 31d82691..00000000 --- a/debian/templates/ocaml-interp.dirs.in +++ /dev/null @@ -1,4 +0,0 @@ -usr/bin -usr/share/man/man1 -usr/lib/ocaml/#OcamlABI# -usr/share/pixmaps diff --git a/debian/templates/ocaml-interp.files.in b/debian/templates/ocaml-interp.files.in deleted file mode 100644 index a116bb36..00000000 --- a/debian/templates/ocaml-interp.files.in +++ /dev/null @@ -1,65 +0,0 @@ -usr/share/man/man1/ocaml.1 -usr/bin/ocaml -usr/lib/ocaml/#OcamlABI#/stdlib.cma -usr/lib/ocaml/#OcamlABI#/arg.cmi -usr/lib/ocaml/#OcamlABI#/array.cmi -usr/lib/ocaml/#OcamlABI#/arrayLabels.cmi -usr/lib/ocaml/#OcamlABI#/buffer.cmi -usr/lib/ocaml/#OcamlABI#/callback.cmi -usr/lib/ocaml/#OcamlABI#/camlinternalOO.cmi -usr/lib/ocaml/#OcamlABI#/char.cmi -usr/lib/ocaml/#OcamlABI#/complex.cmi -usr/lib/ocaml/#OcamlABI#/digest.cmi -usr/lib/ocaml/#OcamlABI#/filename.cmi -usr/lib/ocaml/#OcamlABI#/format.cmi -usr/lib/ocaml/#OcamlABI#/gc.cmi -usr/lib/ocaml/#OcamlABI#/genlex.cmi -usr/lib/ocaml/#OcamlABI#/hashtbl.cmi -usr/lib/ocaml/#OcamlABI#/int32.cmi -usr/lib/ocaml/#OcamlABI#/int64.cmi -usr/lib/ocaml/#OcamlABI#/lazy.cmi -usr/lib/ocaml/#OcamlABI#/lexing.cmi -usr/lib/ocaml/#OcamlABI#/list.cmi -usr/lib/ocaml/#OcamlABI#/listLabels.cmi -usr/lib/ocaml/#OcamlABI#/map.cmi -usr/lib/ocaml/#OcamlABI#/marshal.cmi -usr/lib/ocaml/#OcamlABI#/moreLabels.cmi -usr/lib/ocaml/#OcamlABI#/nativeint.cmi -usr/lib/ocaml/#OcamlABI#/obj.cmi -usr/lib/ocaml/#OcamlABI#/oo.cmi -usr/lib/ocaml/#OcamlABI#/parsing.cmi -usr/lib/ocaml/#OcamlABI#/pervasives.cmi -usr/lib/ocaml/#OcamlABI#/printexc.cmi -usr/lib/ocaml/#OcamlABI#/printf.cmi -usr/lib/ocaml/#OcamlABI#/queue.cmi -usr/lib/ocaml/#OcamlABI#/random.cmi -usr/lib/ocaml/#OcamlABI#/scanf.cmi -usr/lib/ocaml/#OcamlABI#/set.cmi -usr/lib/ocaml/#OcamlABI#/sort.cmi -usr/lib/ocaml/#OcamlABI#/stack.cmi -usr/lib/ocaml/#OcamlABI#/stdLabels.cmi -usr/lib/ocaml/#OcamlABI#/std_exit.cmi -usr/lib/ocaml/#OcamlABI#/stream.cmi -usr/lib/ocaml/#OcamlABI#/string.cmi -usr/lib/ocaml/#OcamlABI#/stringLabels.cmi -usr/lib/ocaml/#OcamlABI#/sys.cmi -usr/lib/ocaml/#OcamlABI#/weak.cmi -usr/lib/ocaml/#OcamlABI#/toplevellib.cma -usr/lib/ocaml/#OcamlABI#/toploop.cmi -usr/lib/ocaml/#OcamlABI#/topdirs.cmi -usr/lib/ocaml/#OcamlABI#/topmain.cmi -usr/lib/ocaml/#OcamlABI#/unix.cma -usr/lib/ocaml/#OcamlABI#/unix.cmi -usr/lib/ocaml/#OcamlABI#/unixLabels.cmi -usr/lib/ocaml/#OcamlABI#/str.cma -usr/lib/ocaml/#OcamlABI#/str.cmi -usr/lib/ocaml/#OcamlABI#/dynlink.cmi -usr/lib/ocaml/#OcamlABI#/dynlink.cma -usr/lib/ocaml/#OcamlABI#/bigarray.cmi -usr/lib/ocaml/#OcamlABI#/bigarray.cma -usr/lib/ocaml/#OcamlABI#/nums.cma -usr/lib/ocaml/#OcamlABI#/big_int.cmi -usr/lib/ocaml/#OcamlABI#/nat.cmi -usr/lib/ocaml/#OcamlABI#/num.cmi -usr/lib/ocaml/#OcamlABI#/ratio.cmi -usr/lib/ocaml/#OcamlABI#/arith_status.cmi diff --git a/debian/templates/ocaml-nox.dirs.in b/debian/templates/ocaml-nox.dirs.in deleted file mode 100644 index 49dbea4d..00000000 --- a/debian/templates/ocaml-nox.dirs.in +++ /dev/null @@ -1,8 +0,0 @@ -usr/bin -usr/lib/ocaml/#OcamlABI# -usr/lib/ocaml/#OcamlABI#/config -usr/include/ocaml/#OcamlABI# -usr/share/man/man1 -usr/share/man/man3 -usr/share/texmf/tex/latex/misc -usr/share/lintian/overrides diff --git a/debian/templates/ocaml-nox.override.in b/debian/templates/ocaml-nox.override.in deleted file mode 100644 index 5c348863..00000000 --- a/debian/templates/ocaml-nox.override.in +++ /dev/null @@ -1 +0,0 @@ -script-not-executable ./usr/lib/ocaml/#OcamlABI#/camlheader diff --git a/debian/templates/ocaml-nox.postinst.in b/debian/templates/ocaml-nox.postinst.in deleted file mode 100644 index 5695cd49..00000000 --- a/debian/templates/ocaml-nox.postinst.in +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -e - -ln -sf /usr/lib/ocaml/#OcamlABI#/caml /usr/include/caml - -ln -sf ../ocaml-base-nox/Changes.gz /usr/share/doc/ocaml-nox -ln -sf ../ocaml-base-nox/README.gz /usr/share/doc/ocaml-nox -ln -sf ../ocaml-base-nox/ocaml_packaging_policy.gz /usr/share/doc/ocaml-nox - -if [ "$1" = "configure" ]; then - ocaml-md5sums update - - # Save Emacs conffiles from previous ocaml versions - for f in ocaml ocaml-nox ; do - file="/etc/emacs/site-start.d/50$f.el" - if [ -e "$file" ]; then - mv "$file" "$file.save" - fi - done -fi - -#DEBHELPER# diff --git a/debian/templates/ocaml-opt.files.in b/debian/templates/ocaml-opt.files.in deleted file mode 100644 index 3871d144..00000000 --- a/debian/templates/ocaml-opt.files.in +++ /dev/null @@ -1,6 +0,0 @@ -usr/bin/labltk -usr/lib/ocaml/#OcamlABI#/libgraphics.a -usr/lib/ocaml/#OcamlABI#/labltk -usr/lib/ocaml/#OcamlABI#/graphics.cmx -usr/lib/ocaml/#OcamlABI#/graphics.cmxa -usr/lib/ocaml/#OcamlABI#/graphics.a diff --git a/debian/templates/ocaml.dirs.in b/debian/templates/ocaml.dirs.in deleted file mode 100644 index 5105aee5..00000000 --- a/debian/templates/ocaml.dirs.in +++ /dev/null @@ -1,2 +0,0 @@ -usr/bin -usr/lib/ocaml/#OcamlABI# diff --git a/debian/templates/ocaml.files.in b/debian/templates/ocaml.files.in deleted file mode 100644 index 90d15a87..00000000 --- a/debian/templates/ocaml.files.in +++ /dev/null @@ -1,7 +0,0 @@ -usr/bin/labltk -usr/lib/ocaml/#OcamlABI#/graphics.cma -usr/lib/ocaml/#OcamlABI#/graphics.cmi -usr/lib/ocaml/#OcamlABI#/graphicsX11.cmi -usr/lib/ocaml/#OcamlABI#/graphics.mli -usr/lib/ocaml/#OcamlABI#/graphicsX11.mli -usr/lib/ocaml/#OcamlABI#/labltk