Opened 10 years ago

Closed 10 years ago

#18786 closed enhancement (fixed)

ocaml port updates

Reported by: anil@… Owned by: stechert@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: landonf@…, erikt@…, stechert@…, loshea@…
Port: ocaml caml-ocamlnet caml-sqlite3 cryptokit omake

Description

I have a macports repository up at: http://github.com/avsm/darwinports with a number of updates to ocaml-related ports (and also some new ports). Most of the ports involved are openmaintainers and the updates are a bit interlinked due to ocaml being updated to 3.11.0.

  • UPDATE: lang/ocaml : to 3.11.0, with threading on MacOS fixed (backport from ocaml-cvs)
  • NEW: devel/caml-json-static
  • NEW: devel/caml-json-wheel
  • UPDATE: caml-ocamlnet : patches to fix various bugs and enable building the nethttpd module
  • UPDATE: caml-sqlite3: update to 1.4.0 upstream
  • NEW: lang/caml-uuidm
  • UPDATE: devel/cryptokit : to upstream 1.3, and findlib-compliant now
  • UPDATE: devel/omake : fixed to work with ocaml-3.11.0

Attachments (11)

devel--caml-ansicolor.patch (1.6 KB) - added by Damien.Pollet@… 10 years ago.
devel--caml-json-static.patch (1.9 KB) - added by Damien.Pollet@… 10 years ago.
devel--caml-json-wheel.patch (1.9 KB) - added by Damien.Pollet@… 10 years ago.
devel--caml-ocamlnet.patch (10.4 KB) - added by Damien.Pollet@… 10 years ago.
devel--caml-ounit.patch (1.4 KB) - added by Damien.Pollet@… 10 years ago.
devel--caml-sqlite3.patch (4.3 KB) - added by Damien.Pollet@… 10 years ago.
devel--caml-uuidm.patch (3.0 KB) - added by Damien.Pollet@… 10 years ago.
devel--cryptokit.patch (2.7 KB) - added by Damien.Pollet@… 10 years ago.
devel--omake.patch (4.1 KB) - added by Damien.Pollet@… 10 years ago.
devel--tailor-python25.patch (3.3 KB) - added by Damien.Pollet@… 10 years ago.
lang--ocaml.patch (10.1 KB) - added by Damien.Pollet@… 10 years ago.

Download all attachments as: .zip

Change History (30)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: pguyot@… removed
Keywords: ocaml removed
Owner: changed from macports-tickets@… to pguyot@…
Port: ocaml added

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Port: caml-ocamlnet caml-sqlite3 cryptokit omake added

You should probably open new tickets for each of the new ports.

comment:3 Changed 10 years ago by blb@…

Note that ocaml was updated to 3.11.0 in r46042. For the updates can you attach unified diffs to the listed ports, and for the new one, attach the Portfiles?

Changed 10 years ago by Damien.Pollet@…

Attachment: devel--caml-ansicolor.patch added

Changed 10 years ago by Damien.Pollet@…

Changed 10 years ago by Damien.Pollet@…

Changed 10 years ago by Damien.Pollet@…

Attachment: devel--caml-ocamlnet.patch added

Changed 10 years ago by Damien.Pollet@…

Attachment: devel--caml-ounit.patch added

Changed 10 years ago by Damien.Pollet@…

Attachment: devel--caml-sqlite3.patch added

Changed 10 years ago by Damien.Pollet@…

Attachment: devel--caml-uuidm.patch added

Changed 10 years ago by Damien.Pollet@…

Attachment: devel--cryptokit.patch added

Changed 10 years ago by Damien.Pollet@…

Attachment: devel--omake.patch added

Changed 10 years ago by Damien.Pollet@…

Changed 10 years ago by Damien.Pollet@…

Attachment: lang--ocaml.patch added

comment:4 in reply to:  description Changed 10 years ago by Damien.Pollet@…

I diffed Anil's github repo against my ports tree, using this:

for p in */*; do
    diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/$p $p > `dirname $p`--`basename $p`.patch
done

I guess for the new ports you can get the files with patch -p1 too.

comment:5 Changed 10 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:6 Changed 10 years ago by stechert@…

Owner: changed from pguyot@… to stechert@…
Status: newassigned

comment:7 Changed 10 years ago by stechert@…

maintainer timeout (> 3 months + openmaintainer tag).

First patch against lang/ocaml/Portfile - rejected because (1) ocaml is now at 3.11.1 and has the fork patch applied (see http://caml.inria.fr/mantis/view.php?id=4666) and (2) the rest of the diff is just whitespace changes.

comment:8 Changed 10 years ago by stechert@…

Cc: stechert@… added

Cc Me!

comment:9 Changed 10 years ago by stechert@…

Added devel/caml-json-wheel in r53818.

comment:10 Changed 10 years ago by stechert@…

Added devel/caml-json-static in r53820.

comment:11 Changed 10 years ago by stechert@…

Added devel/caml-ansicolor in r53821.

comment:12 Changed 10 years ago by stechert@…

Patch for caml-sqlite3 modified in the following ways:

  • revision unnecessary in the Portfile
  • a newer version of caml-sqlite3 has been released in the meantime, jumping ahead to 1.5.1 stable
  • one of the patch hunks is now incorporated upstream. dropping that hunk.

Committed in r53823.

comment:13 Changed 10 years ago by stechert@…

Patch for caml-ounit applied in r53824.

comment:14 Changed 10 years ago by stechert@…

Anil, can you please explain what we're trying to do with the patch for tailor-python25? It looks like you're creating a new tailor port, but there's already one that exists at devel/tailor. Why does yours need to stand apart from that one?

comment:15 Changed 10 years ago by anil@…

I found the version of tailor in the tree (when I used it anyway) was completely broken with the newer version of Mercurial (>1.1), and the patch in my tree fixes it. I'm not at all sure if its the right patch and I didnt include it in the original bug report for submission (I just stuck it in my tree for completeness).

comment:16 Changed 10 years ago by anil@…

Please disregard the caml-ocamlnet update; I've been talking to the author and there are now official fixes upstream. I'll ask him to make a release so we can just upgrade to that.

comment:17 Changed 10 years ago by loshea@…

I was getting an error (the error reported http://zunermuka.blogspot.com/2009/05/macports-omake.html) on Snow Leopard. Applying the attached omake port made the problem go away. Thanks!

Why has this patch not been added to MP?

comment:18 Changed 10 years ago by loshea@…

Cc: loshea@… added

Cc Me!

comment:19 Changed 10 years ago by avsm@…

Resolution: fixed
Status: assignedclosed

fixed omake in r60078 , resolving as others are mostly sorted.

Note: See TracTickets for help on using tickets.