Bug 262784

Summary: devel/ocaml-*: adding new ports used as basic components for OCaml development.
Product: Ports & Packages Reporter: Thierry Thomas <thierry>
Component: Individual Port(s)Assignee: Thierry Thomas <thierry>
Status: New ---    
Severity: Affects Some People CC: wen
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263044
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263152
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263162
Bug Depends on: 262783    
Bug Blocks: 262795    
Attachments:
Description Flags
Basic components for OCaml development
none
Basic components for OCaml development
none
Basic components for OCaml development
none
Basic components for OCaml development
none
Basic components for OCaml development
none
Basic components for OCaml development none

Description Thierry Thomas freebsd_committer freebsd_triage 2022-03-25 11:15:53 UTC
Created attachment 232693 [details]
Basic components for OCaml development

In order to upgrade or add new ports with the dune method, several basic components are required, and the attached patch adds them.

Included are:

devel/ocaml-compiler-libs
devel/ocaml-ppx_derivers
devel/ocaml-sexplib0
devel/ocaml-stdlib-shims
devel/ocaml-ppxlib
devel/ocaml-csexp
devel/ocaml-dune-configurator
devel/ocaml-base
devel/ocaml-jane-street-headers
devel/ocaml-ppx_cold
devel/ocaml-ppx_compare
devel/ocaml-ppx_here
devel/ocaml-ppx_sexp_conv
devel/ocaml-num
devel/ocaml-parsexp
devel/ocaml-ppx_assert
devel/ocaml-stdio
devel/ocaml-jst-config
devel/ocaml-ppx_enumerate
devel/ocaml-ppx_hash
devel/ocaml-octavius
devel/ocaml-ppx_js_style
devel/ocaml-ppx_base
devel/ocaml-ppx_optcomp
devel/ocaml-time_now
devel/ocaml-ppx_inline_test
devel/ocaml-integers
devel/ocaml-bigarray-compat
devel/ocaml-ctypes
devel/ocaml-luv
devel/ocaml-ppx_let
devel/ocaml-ocplib-endian
devel/ocaml-mmap
devel/ocaml-ppx_expect
devel/ocaml-ppx_custom_printf
devel/ocaml-fieldslib
devel/ocaml-ppx_fields_conv
devel/ocaml-variantslib
devel/ocaml-ppx_variants_conv
devel/ocaml-bin_prot
devel/ocaml-ppx_bin_prot
devel/ocaml-ppx_sexp_message
devel/ocaml-ppx_sexp_value
devel/ocaml-ppx_bench
devel/ocaml-splittable_random
devel/ocaml-base_quickcheck
devel/ocaml-ppx_fixed_literal
devel/ocaml-ppx_module_timer
devel/ocaml-ppx_optional
devel/ocaml-ppx_pipebang
devel/ocaml-ppx_stable
devel/ocaml-ppx_string
devel/ocaml-typerep
devel/ocaml-ppx_typerep_conv
devel/ocaml-ppx_jane
devel/ocaml-ppx_deriving
devel/ocaml-base_bigstring
devel/ocaml-core_kernel
devel/ocaml-fmt
devel/ocaml-menhirLib
devel/ocaml-menhirSdk
devel/ocaml-easy-format
devel/ocaml-biniou
devel/ocaml-yojson
devel/ocaml-camlp-streams
devel/ocaml-domain-name
devel/ocaml-async_kernel
devel/ocaml-timezone
devel/ocaml-spawn
devel/ocaml-core
devel/ocaml-async_unix
devel/ocaml-cstruct

with the entries for the new port in devel/Makefile.

Important note: all the PR related to Ocaml ports must be committed at the same time!
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2022-04-02 15:04:57 UTC
Created attachment 232894 [details]
Basic components for OCaml development

This adds some new ports required to fix the failures reported at
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262781#c7

Added ports are:

- devel/ocaml-ppx_deriving_yojson
- devel/ocaml-batteries
- devel/ocaml-psmt2-frontend
- devel/ocaml-ocplib-simplex
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2022-04-04 17:56:13 UTC
Created attachment 232941 [details]
Basic components for OCaml development

Add some new components, mainly used to fix devel/aifad, devel/coccinelle and math/coq.

Included are:
- graphics/ocaml-cairo2
- x11-toolkits/ocaml-lablgtk3
- x11-toolkits/ocaml-lablgtk3-sourceview3
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2022-04-08 16:06:22 UTC
Created attachment 233066 [details]
Basic components for OCaml development

Adding:
- devel/ocaml-xmlm
- devel/ocaml-uucd
- devel/ocaml-uunf
- devel/ocaml-uucp
- devel/ocaml-jingoo
- devel/ocaml-ppx_blob
- devel/ocaml-ppx_import
- converters/ocaml-unidecode
- converters/ocaml-calendars
- textproc/ocaml-markup

These are needed to fix failures reported in PR 262781.
Comment 4 Thierry Thomas freebsd_committer freebsd_triage 2022-04-09 16:21:32 UTC
Created attachment 233102 [details]
Basic components for OCaml development

Adding x11/ocaml-graphics, the Graphics library from OCaml, previously included with lang/ocaml.
Comment 5 Thierry Thomas freebsd_committer freebsd_triage 2022-04-10 18:14:57 UTC
Created attachment 233128 [details]
Basic components for OCaml development

Adding devel/ocaml-curses, needed to fix math/orpie.
Comment 6 Wen Heping freebsd_committer freebsd_triage 2022-05-23 02:20:47 UTC
devel/ocaml-dune-configurator build failed:

/usr/bin/sed -i.bak -e 's|%%ver%%|2.8.0|' /wrkdirs/usr/ports/devel/ocaml-dune-configurator/work/dune-2.8.0/dune-project
(cd /wrkdirs/usr/ports/devel/ocaml-dune-configurator/work/dune-2.8.0 && /usr/local/bin/dune build        -p dune-configurator --profile=dune-bootstrap)
dune: Cannot use --profile and -p simultaneously