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 binaries. Without this patch some modules would embed temporary file names. A few packages also had reproducibility issues, but that is fixed, except for one of them. 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: Add 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.patch create mode 100644 gnu/packages/patches/ocaml-bisect-fix-camlp4-in-another-directory.patch create mode 100644 gnu/packages/patches/ocaml-bitstring-fix-configure.patch create mode 100644 gnu/packages/patches/ocaml-janestreet-fix-libdir.patch 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-epoch.patch create mode 100644 guix/build-system/ocaml.scm create mode 100644 guix/build/ocaml-build-system.scm -- 2.11.0