From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: [PATCH 00/96] ocaml-build-system and packages Date: Tue, 3 Jan 2017 20:10:41 +0100 Message-ID: <20170103191217.6431-1-julien@lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOUVk-0007EJ-04 for guix-devel@gnu.org; Tue, 03 Jan 2017 14:12:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOUVg-0004NR-As for guix-devel@gnu.org; Tue, 03 Jan 2017 14:12:39 -0500 Received: from dau94-h03-89-91-205-84.dsl.sta.abo.bbox.fr ([89.91.205.84]:35235 helo=skaro.lepiller.eu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOUVf-0004Me-Ra for guix-devel@gnu.org; Tue, 03 Jan 2017 14:12:36 -0500 Received: from localhost (localhost [127.0.0.1]) by skaro.lepiller.eu (Postfix) with ESMTP id D568C811FA for ; Tue, 3 Jan 2017 20:12:31 +0100 (CET) Received: from skaro.lepiller.eu ([127.0.0.1]) by localhost (lepiller.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 33fMooeBmAje for ; Tue, 3 Jan 2017 20:12:26 +0100 (CET) Received: from localhost.localdomain (128-79-116-134.hfc.dyn.abo.bbox.fr [128.79.116.134]) by skaro.lepiller.eu (Postfix) with ESMTPSA id 84BDD7F81F for ; Tue, 3 Jan 2017 20:12:25 +0100 (CET) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hi, it's a bit late for christmas, so let's call this ocamlismas ;). Here are ~100 patches that: - Add an ocaml-build-system - Change the ocaml compiler, camlp4 and findlib to work nicely with it - A lot of packages (all dependencies of bap, and bap itself). I took one patch from debian to help the compiler produce reproducible bi= naries. Without this patch some modules would embed temporary file names. A few p= ackages also had reproducibility issues, but that is fixed, except for one of the= m. Julien Lepiller (96): gnu: ocaml: Add a .file directive to generated .s files gnu: ocaml: Add CAML_LD_LIBRARY_PATH search-path gnu: camlp4: compile native gnu: Add ocaml-build-system. gnu: ocaml: Use a prefix for license field. gnu: ocaml: Use a helper function to download from ocaml-forge. gnu: camlp4: Install camlp4 META file. gnu: Add ocaml-ounit. gnu: Add camlzip gnu: Add ocamlmod. gnu: Add ocaml-zarith. gnu: Add ocaml-frontc gnu: Add ocaml-qtest gnu: Add ocaml-stringext gnu: Add ocaml-bisect gnu: Add ocaml-bitstring gnu: Add ocaml-result gnu: Add ocaml-topkg gnu: Add ocaml-rresult gnu: Add ocaml-mtime gnu:=C2=A0Add ocaml-cmdliner gnu: Add ocaml-fmt gnu: Add ocaml-astring gnu: Add ocaml-alcotest gnu: Add ocaml-ppx-tools gnu: Add ocaml-react gnu: Add ocaml-ssl gnu: Add ocaml-lwt gnu: Add ocaml-logs gnu: Add ocaml-fpath gnu: Add ocaml-bos gnu: Add ocaml-xmlm gnu: Add ocaml-ulex gnu: Add ocaml-uchar gnu: Add ocaml-uutf gnu: Add ocaml-jsonm gnu: Add ocaml-ocurl gnu: Add ocaml-base64 gnu: Add ocamlify gnu: Add omake gnu: Add ocaml-batteries gnu: Add ocaml-pcre gnu: Add ocaml-expect gnu: Add ocaml-fileutils gnu: Add ocaml-oasis gnu: Add ocaml-js-build-tools gnu: Add ocaml-bin-prot gnu: Add ocaml-fieldslib gnu: Add ocaml-ppx-core gnu: Add ocaml-ppx-optcomp gnu: Add ocaml-ppx-driver gnu: Add ocaml-cppo gnu: Add ocaml-ppx-deriving gnu: Add ocaml-ppx-type-conv gnu: Add ocaml-ppx-inline-test gnu: Add ocaml-ppx-bench gnu: Add ocaml-ppx-compare gnu: Add ocaml-sexplib gnu: Add ocaml-typerep gnu: Add ocaml-variantslib gnu: Add ocaml-ppx-sexp-conv gnu: Add ocaml-ppx-variants-conv gnu: Add ocaml-ppx-here gnu: Add ocaml-ppx-assert gnu: Add ocaml-ppx-enumerate gnu: Add ocaml-ppx-let gnu: Add ocaml-ppx-typerep-conv gnu: Add ocaml-ppx-sexp-value gnu: Add ocaml-ppx-pipebang gnu: Add ocaml-ppx-bin-prot gnu: Add ocaml-ppx-fail gnu: Add ocaml-ppx-custom-printf gnu: Add ocaml-ppx-sexp-message gnu: Add ocaml-ppx-fields-conv gnu: Add ocaml-re gnu: Add ocaml-ppx-expect gnu: Add ocaml-ppx-jane gnu: Add ocaml-core-kernel gnu: Add ocaml-async-kernel gnu: Add ocaml-async-rpc-kernel gnu: Add ocaml-core gnu: Add ocaml-async-unix gnu: Add ocaml-async-extra gnu: Add ocaml-async gnu: Add ocaml-ocplib-endian gnu: Add ocaml-cstruct gnu: Add ocaml-hex gnu: Add ocaml-ezjsonm gnu: Add ocaml-uri gnu: Add ocaml-easy-format gnu: Add ocaml-optcomp gnu: Add ocaml-piqilib gnu: Add ocaml-uuidm gnu: Add ocamlgraph gnu: Add ocaml-piqi gnu: Add bap Makefile.am | 2 + gnu/local.mk | 7 + gnu/packages/ocaml.scm | 2305 ++++++++++++++= +++++- .../patches/ocaml-Add-a-.file-directive.patch | 96 + ...ml-bisect-fix-camlp4-in-another-directory.patch | 125 ++ .../patches/ocaml-bitstring-fix-configure.patch | 53 + .../patches/ocaml-janestreet-fix-libdir.patch | 36 + .../patches/ocaml-omake-fix-non-determinism.patch | 41 + .../patches/ocaml-piqilib-fix-makefile.patch | 47 + .../ocamlgraph-honor-source-date-epoch.patch | 34 + guix/build-system/ocaml.scm | 181 ++ guix/build/ocaml-build-system.scm | 119 + 12 files changed, 3021 insertions(+), 25 deletions(-) create mode 100644 gnu/packages/patches/ocaml-Add-a-.file-directive.patc= h create mode 100644 gnu/packages/patches/ocaml-bisect-fix-camlp4-in-anoth= er-directory.patch create mode 100644 gnu/packages/patches/ocaml-bitstring-fix-configure.pa= tch create mode 100644 gnu/packages/patches/ocaml-janestreet-fix-libdir.patc= h create mode 100644 gnu/packages/patches/ocaml-omake-fix-non-determinism.= patch create mode 100644 gnu/packages/patches/ocaml-piqilib-fix-makefile.patch create mode 100644 gnu/packages/patches/ocamlgraph-honor-source-date-epo= ch.patch create mode 100644 guix/build-system/ocaml.scm create mode 100644 guix/build/ocaml-build-system.scm --=20 2.11.0