Commit Graph

515 Commits

Author SHA1 Message Date
Kate 6e7a1e4574 opam: update to 2.5.2 2026-07-10 08:25:29 +02:00
Paul Guyot bbc3c76335 ocaml-lwt: update to 6.1.2
6.1.1 fixed the OCaml 5.5 build error (ocsigen/lwt#1100), which was
previously patched; remove the backport patch now that the fix is
upstream. 6.1.2 fixes lock initialisation on Windows.

Bump revision of ocaml-logs, ocaml-lambda-term, ocaml-utop, and stog
for updated Lwt C unix stubs.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-07-05 06:15:54 -04:00
Paul Guyot 371a15fa0d ocaml-topkg: update to 1.1.1
Also fix livecheck: the default regex was built from livecheck.name,
which defaults to ${name} (ocaml-topkg), but distfiles are named
topkg-X.Y.Z.tbz. Set livecheck.name explicitly, matching the same
fix already in ocaml-astring, ocaml-bos, and ocaml-rresult.

ocaml-topkg is only consumed via depends_build (ocaml.build_type
topkg), never depends_lib, so no dependent ports need a revision
bump for this update.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-07-03 20:55:43 -04:00
Paul Guyot 54ab9eb1d6 ocaml-dune: update to 3.24.0
Bump revision of ocaml-lacaml, ocaml-base, ocaml-checkseum,
ocaml-cryptokit, ocaml-lwt, ocaml-sqlite3, and stog for updated
ocaml-dune-configurator, ocaml-dune-build-info, and ocaml-dune-site
subport library interfaces.

Bump revision of ocaml-camomile and patch EBCDIC-PT charmap to add
missing <code_set_name> header, fixing charmap generation with dune 3.24.0.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-07-02 17:28:30 -04:00
Paul Guyot 7dd6f662d7 ocaml-re: update to 1.14.0
Drop the depends_lib on ocaml-seq: upstream no longer requires the
seq compatibility package (minimum OCaml is now 4.12.0, and the
stdlib's built-in Seq module is used directly). Fixes the build
failure where dune could not find library "seq".

The public re.mli/Re module interface gained new functions and
modules between 1.11.0 and 1.14.0 (Re.split_delim, character
classes in Re.Posix, non-raising Re.Group variants, hex/octal
escapes, \Q...\E quoting, Re.Pcre.get_named_substring_opt, the
experimental Re.Stream API), so dependents linking against ocaml-re
need a clean rebuild. Bump revision for all direct depends_lib
dependents:

  ocaml-expect_test_helpers_kernel, ocaml-ocamlformat (main subport
  only; ocaml-ocamlformat-lib does not depend on ocaml-re),
  ocaml-sexp_pretty, ocaml-patdiff, ocaml-core_extended, ocaml-jingoo,
  ocaml-alcotest, ocaml-camlp5-buildscripts,
  ocaml-expect_test_helpers_core, everparse, stanc3, abella, camlp5,
  ocaml-xtmpl

Of these, only ocaml-core_extended re-exports Re types in its own
public interface (lib/selector.mli), but nothing in the ports tree
depends on it, so the cascade stops there.

Also fix two pre-existing non-ASCII characters (curly apostrophes)
in ocaml-patdiff and ocaml-core_extended descriptions while touching
those files.

Closes: https://trac.macports.org/ticket/67356
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-07-01 18:09:03 -04:00
Paul Guyot 31c4902e6a ocaml-pcre: update to 8.0.5
The public pcre.mli interface is unchanged between 7.5.0 and 8.0.5,
so no revision bumps are needed for dependents.

Also fix the post-destroot doc install list (CHANGES.md was renamed
to CHANGELOG.md, pre-v7.3.0-CHANGES.txt no longer exists upstream)
and drop the stale livecheck.regex left over from before the port
switched to the github PortGroup; the default github livecheck now
works.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-07-01 08:40:12 -04:00
Paul Guyot 70ab90739b camlp5: update to 8.05.02
Bump revision of ocaml-ulex for updated camlp5.
Move camlp5 to depends_build in geneweb and ledit, where it is only
used as a preprocessor at build time and not needed at runtime.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-30 10:58:59 -04:00
Paul Guyot 2cde1fadd9 ocaml-menhir: fix livecheck for ocaml-menhirLib/Sdk/GLR subports
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-30 08:09:43 -04:00
Paul Guyot a776172ef6 ocaml: update to 5.5.0; cascade ecosystem updates
Version updates required for 5.5:
- ocaml-merlin to 5.8-505
- ocaml-camlp4 to 5.5+1
- ocaml-js_of_ocaml to 6.4.0
- ocaml-batteries to 3.11.0

Removed ocaml-ppx_tools which is dead upstream and superseded by ppxlib.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-29 18:06:48 -04:00
Paul Guyot f0fa5057aa ocaml: revbump library ports missed in the 5.4.1 cascade
The OCaml 5.4.1 update (4c8893022e) rebuilt the ecosystem but left these
library ports at their old revision, while their own dependencies were
revbumped. They need a rebuild against OCaml 5.4.1:

  lablgtk3
  ocaml-camlidl
  ocaml-camlp5-buildscripts
  ocaml-lambda-term
  ocaml-lua
  ocaml-zip

Also revbump their direct depends_lib dependents so they rebuild against
the updated interfaces:

  ocaml-utop  (links ocaml-lambda-term; currently fails to build against
              the stale OCaml 4.14 lambda-term .cmi)
  unison      (links lablgtk3 in the default +gtk variant)

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-18 18:31:00 -04:00
Paul Guyot 38c9fa6969 ocaml-menhir, ocaml-ounit2: fix noarch misclassification
ocaml-coq-menhirlib and ocaml-ounit install architecture-specific OCaml
native compiled files and must not be declared noarch.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-18 17:36:30 -04:00
Paul Guyot f51594fec7 ocaml-cppo: update to 1.8.0
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-18 08:43:46 -04:00
Paul Guyot a575d308fe ocaml-ctypes: update to 0.24.0
Bump revision of ocaml-hacl-star (raw + bindings subports) for
updated OCaml module interfaces.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-18 08:43:33 -04:00
Paul Guyot 40232642e2 ocaml-fileutils: update to 0.6.6
Remove ocaml-seq and ocaml-stdlib-shims dependencies, which are now
bundled with OCaml 4.14+. Move ocaml-ounit to depends_test-append.

Bump revision of fstar and karamel for updated OCaml module interfaces.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-18 08:42:55 -04:00
Paul Guyot f5b1bc4f54 ocaml-dune: update to 3.23.1
Add livecheck.regex to skip X.Y.Z_alphaN pre-release tags.

The OCaml 5.4.1 ecosystem update did not rebuild the ocaml-dune ports,
so the published ocaml-dune-configurator, ocaml-dune-site and
ocaml-dune-build-info modules remained compiled for the previous OCaml
version. Every port building against those interfaces failed on the
buildbot with ".cmi is not a compiled interface for this version of
OCaml", which cascaded to their dependents.

Update ocaml-dune and its subports to rebuild the dune library
interfaces against OCaml 5.4.1, and bump the revision of every port
that links those interfaces so it is rebuilt against OCaml 5.4.1.

Direct dune library dependents: camlimages, ocaml-base,
ocaml-bigstringaf, ocaml-cairo2, ocaml-camomile, ocaml-checkseum,
ocaml-cryptokit, ocaml-gsl, ocaml-jst-config, ocaml-lacaml, ocaml-lwt,
ocaml-ocaml_intrinsics, ocaml-ocamlformat, ocaml-parmap, ocaml-pcre,
ocaml-pcre2, ocaml-sqlite3, ocaml-utop and stog, together with their
transitive dependents (the ppx, core, async and textutils libraries
and the camlp5, coccinelle, geneweb, ledit and stanc3 consumers).

ocaml-ctypes is a dune-configurator dependent handled in its own
continuation PR, to be merged after this one.

Also fix ocaml-jane-street-headers, which was marked supported_archs
noarch but builds a native, architecture-specific OCaml library
(jane_street_headers.a) as of 0.17.0. The x86_64 archive was served to
arm64, so the link of ocaml-ppx_jane's driver failed with "found
architecture 'x86_64', required architecture 'arm64'". Drop the noarch
and platforms any markers so it is built per-architecture, and bump its
revision.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-15 11:02:59 -04:00
Paul Guyot de0e5547c3 ocaml-config-file: fix livecheck
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-14 22:42:50 -04:00
Paul Guyot 882cd156a0 ocaml-base64: update to 3.5.2
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-14 22:42:36 -04:00
Paul Guyot bee5dfbc56 ocaml-coq-menhirlib: fix livecheck
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-14 22:42:11 -04:00
Paul Guyot ef8b63f09f ocaml-crunch: update to 4.0.0
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-14 22:41:54 -04:00
Paul Guyot b16746dd00 ocaml-alcotest: update to 1.9.1
Bump revision of ocaml-ppx_blob for updated OCaml module interfaces.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-14 22:41:34 -04:00
Paul Guyot 7752894fc3 ocaml-findlib: update to 1.9.8
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-14 07:21:10 -04:00
Paul Guyot ed703045cf camlp5: update to 8.05.01
Bump revision of ocaml-ulex and geneweb for updated OCaml module
interfaces (mLast.mli, ast2pt.mli, asttools.mli changed).

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-14 07:18:34 -04:00
Paul Guyot 4c8893022e ocaml: update to 5.4.1; cascade ecosystem updates
Port to OCaml 5: mldonkey, ocaml-dypgen, ocamldot, ocaml-ftp, ocaml-bisect_ppx, ocaml-ocamlnet
New ports: ocaml-capitalization, ocaml-gel, ocaml-ocaml_intrinsics_kernel,
           ocaml-ppx_diff, ocaml-ppx_string_conv, ocaml-ppxlib_jane,
           ocaml-iri, ocaml-ocf (+ocf_ppx), ocaml-higlo
New subport: ocaml-xtmpl_ppx
Remove ocaml-configurator (merged into ocaml-dune)
Also removed ocaml-migrate-parsetree, ocaml-ppx_find and
     ocaml-ppx_tools_versioned as they are leaves and ocaml-migrate-parsetree
     is marked deprecated upstream and incompatible with OCaml 5.4
Update stog, fstar, camlimages, lablgtk2 and many others
ocaml-mysql: update to 1.2.4; switch mysql5 dependency to mariadb-10.11
opam: fix dune bootstrap of AVX-512 asm with older Xcode
wyrd: mark known_fail (abandoned upstream, incompatible with OCaml 5)

i386/ppc/ppc64 support is completely untested

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-13 13:42:44 -04:00
Paul Guyot 8e64c10705 ocaml-camomile: update to 2.0.0
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-11 17:32:26 -04:00
Paul Guyot a5b26d700b ocaml-dune: add dune-site subport and integrate dune-site build
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2026-06-10 08:31:55 -04:00