Bug 267693

Summary: net/unison: Version 2.53.0 released
Product: Ports & Packages Reporter: Guido Falsi <madpilot>
Component: Individual Port(s)Assignee: Guido Falsi <madpilot>
Status: Closed FIXED    
Severity: Affects Some People CC: fernape
Priority: --- Keywords: needs-patch
Version: Latest   
Hardware: Any   
OS: Any   

Description Guido Falsi freebsd_committer freebsd_triage 2022-11-10 14:27:56 UTC
Creating this to track the update of the port.

The new version 2.53.0 has a requirement for ocaml 4.08 or later.

It also requires lablgtk3, which is not present in the ports tree at present, but in the while I can start working on a port of that, time allowing.

Creating the bug to register the dependency on the ongoing ocaml update effort.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2022-11-15 12:23:22 UTC
^Triage: reporter is committer, assign accordingly.
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2022-11-21 22:51:48 UTC
Upstream provided a patch to allow building with ocaml 4.07, that I'm testing.

Lablgtk3 also has dependencies requiring a newer ocaml compiler, so I'll be creating a port of an earlier release for such dependencies.
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2022-11-21 22:56:37 UTC
Forgot to mention the patch was provided by Tõivo Leedjärv. Many thanks to him.
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-11-22 17:37:18 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e4db3f2e77fb08e8a29e2bc91c0d6e7454716e61

commit e4db3f2e77fb08e8a29e2bc91c0d6e7454716e61
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2022-11-22 17:35:30 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2022-11-22 17:35:30 +0000

    net/unison: Update to 2.53.0

    Project moved to GTK 3, through ocaml-lablgtk3.

    Port includes patch to allow building with ocaml 4.07 included in
    ports, provided by Tõivo Leedjärv on the unison-users mailing list.

    Many thanks to him and Greg Troxel from the unison project for the
    patch, their suggestions and support.

    NOTE: version since 2.52.0 are wire compatibile so no need to
    preserve the old version.

    PR:             267693

 net/unison/Makefile                            |  12 +--
 net/unison/distinfo                            |   6 +-
 net/unison/files/patch-Makefile.OCaml          |  21 +++--
 net/unison/files/patch-ubase_umarshal.ml (new) | 114 +++++++++++++++++++++++++
 4 files changed, 138 insertions(+), 15 deletions(-)
Comment 5 Guido Falsi freebsd_committer freebsd_triage 2022-11-22 17:46:19 UTC
Port committed including patch allowing it to build with older ocaml compiler.

Removing dependency on bug 250408 for now, although there is no warranty for future releases to still be adaptable.