From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id E7220D45F for ; Tue, 1 Nov 2005 02:38:19 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jA11cJ3P012345 for ; Tue, 1 Nov 2005 02:38:19 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA21601 for ; Tue, 1 Nov 2005 02:38:18 +0100 (MET) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.191]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jA11cIxO012342 for ; Tue, 1 Nov 2005 02:38:18 +0100 Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1EWl6M-00028p-00 for caml-list@inria.fr; Tue, 01 Nov 2005 02:38:14 +0100 Received: from [84.58.137.12] (helo=gate.lan.gerd-stolpmann.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1EWl6M-0008F6-00 for caml-list@inria.fr; Tue, 01 Nov 2005 02:38:14 +0100 Received: from flakew.lan.gerd-stolpmann.de (flakew.lan.gerd-stolpmann.de [192.168.0.32]) by gate.lan.gerd-stolpmann.de (Postfix) with ESMTP id AEA55C0AD for ; Tue, 1 Nov 2005 02:38:13 +0100 (CET) Subject: Findlib 1.1 released From: Gerd Stolpmann To: caml-list Content-Type: text/plain Date: Tue, 01 Nov 2005 02:38:13 +0100 Message-Id: <1130809093.25153.43.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:a6865a839c0178d9aa0ce41878507ea2 X-Miltered: at nez-perce with ID 4366C70B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4366C70A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; findlib:01 gerd:01 stolpmann:01 findlib:01 o'caml:01 command-line:01 overwrite:01 overwritten:01 subpackages:01 subpackages:01 foo:01 foo:01 byte:01 optionally:01 snippets:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Hi list, I just managed to get a new version of findlib released. It works now perfectly (hopefully) with O'Caml 3.09, and you can use all 3.09 command-line arguments. There are also a number of improvements triggered by discussions: - The check whether a package is already installed has been relaxed. In particular, the destination directory may already exist. It is, however, still not allowed to overwrite files when packages are installed. - One can declare files as optional when installing a package. - One can patch the META file when installing a package. Currently, there are three types of patches: The version string can be overwritten. Subpackages can be removed. Archive references can be removed when the corresponding files do not exist. Especially the latter is still experimental because it is unclear whether it improves anything. The resulting META file may be broken. - There is an exists_if variable in META. The idea is to disable subpackages when a certain file does not exist, e.g. package "foo" ( exists_if = "foo.cma" archive(byte) = "foo.cma" ) If this package is only optionally built, the exists_if variable may hide the package. - The may be a directory with findlib configuration snippets. If you have findlib.conf.d and put *.conf files into it, these files will be read. This is to be used in conjunction with the following... - It is now possible to drive patched compilers. Assume you have ocamlc-mypatch which is binary compatible with ocamlc. It is now possible to use the patched compiler instead of the regular one with ocamlfind. First, you need to define the patched toolchain. Use this in findlib.conf: ocamlc(mypatch) = "ocamlc-mypatch" (This works with all findlib.conf parameters.) Second, you can select this toolchain by: ocamlfind -toolchain mypatch ocamlc ... Note that the -toolchain argument is before the command name. One should put the toolchain definition into its own mypatch.conf file for easier installation. There are also a number of bugfixes. See http://www.ocaml-programming.de/packages/documentation/findlib/ for documentation and links. See http://www.ocaml-programming.de/packages/ for downloads. Gerd -- ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de Telefon: 06151/153855 Telefax: 06151/997714 ------------------------------------------------------------