From: Sylvain Le Gall Date: Thu, 16 Oct 2003 22:18:19 +0000 (+0000) Subject: No log message X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~641^2~23 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b459b899c33456e580aca9b82f588c7f0aef5d8b;p=ocaml.git No log message --- diff --git a/ocaml_packaging_policy.xml b/ocaml_packaging_policy.xml new file mode 100644 index 00000000..c8ebff40 --- /dev/null +++ b/ocaml_packaging_policy.xml @@ -0,0 +1,188 @@ + +ocaml-upstream_version-package_compatibility"> +ocaml-base-upstream_version-package_compatibility"> +]> +
+ + Debian Ocaml Policy + For Objective Caml version 3.06 + Revision 0.1 + + Sven + LUTHER + + The Debian Project +
luther@lambda.u-strasbg.fr
+
+
+ + Stefano + ZACCHIROLI + + The Debian Project +
zack@cs.unibo.it
+
+
+ + Sylvain + LE GALL + + The NM Debian Project +
sylvain.le-gall@polytechnique.org
+
+
+ + 20022003 + Sven LUTHER, Stefano ZACCHIROLI and Sylvain LE GALL + + + This manual is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version + 2 of the License, or (at your option) any later version. + + + This is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See + the GNU General Public License for more details. + + + A copy of the GNU General Public License is available as + /usr/share/common-licenses/GPL in the Debian GNU/Linux + distribution or on the World Wide Web at + . + + + You can also obtain it by writing to the + Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. + + +
+ + + Ocaml Packaging + + Version + + At any given time, the package ocaml + should represent the current stable upstream version of Ocam + revision 3.06. + + + + This package provides a virtual package called &ocaml-pkg;. + This will help to track incompatible changes made within the + same version of Ocaml. + + + + + + Base Package + + In order to have a minimal installation, a virtual package + ocaml-base exists. It enable to have + a bare minimum install of Ocaml library. + + + + As for ocaml this package provides + a virtual package &ocaml-base-pkg;. This will help to track + incompatible changes made within the same version of Ocaml. + + + + + + File terminology for Ocaml packaging + + + Ocaml is a complete language allowing to create : + + bytecoded executable + bytecoded library ( *.cma ) + native executable + native library ( *.cmxa ) + shared library ( for C-binding ) ( dll*.so ) + static library ( for C-binding ) ( lib*.a ) + bytecoded object ( *.cmo ) + native object ( *.cmx ) + configuration file for handling library ( META ) + + + + + There is a convention considering that native executable should be + called progname.opt and bytecoded one + progname.byte. When packaging, only progname is + taken in account. + + + + For easying library management, the Ocaml Task Force used the + ocamlfind library management scheme. + This scheme includes a file named META which holds + all the library possibility. This is the configuration file for + handling library ( see XXX ). + + + + + Library paths + + Ocaml will search library in two different location, referred to + as local which hold user installed library and as + core in which packaged modules stood. + + + + By default, ocaml will look for modules in this order : + + + local + + /usr/local/lib/ocaml/ocaml_version/ + /usr/local/lib/ocaml/ocaml_version/ + + + + + Documentation + + + + + + + Locally installed library + + + Camlp4 files + + + + + Packaged library + + + Camlp4 files + + + + + Packaged program + + + + Managing version transition + + + + Debian Ocaml task force + +