ocaml cairo

Richard W.M. Jones rjones at redhat.com
Thu Mar 19 08:50:49 UTC 2015

On Wed, Mar 18, 2015 at 08:42:40PM -0600, Orion Poplawski wrote:
> Richard -
>    Apparently plplot is shifting to using
> https://github.com/Chris00/ocaml-cairo for it ocaml cairo bindings.
> It is known by "cairo2" on opam.  plplot appears to be the only user
> of ocaml-cairo.  Do you have any thoughts about
> swapping/replacing/etc. ?

NB: I'm CC'ing this to the devel mailing list in case anyone is using
the old ocaml-cairo package.

The facts seem to be:

 - cairo itself still only has version 1.x releases

 - as you say above, in Fedora only plplot requires ocaml-cairo

 - the ocaml-cairo bindings we currently use
   (http://cgit.freedesktop.org/cairo-ocaml/) have not been touched
   upstream for ~ 3 years

 - the ocaml-cairo bindings from
   https://github.com/Chris00/ocaml-cairo are as far as I can tell a
   complete rewrite, and not in any way backwards compatible

 - https://github.com/Chris00/ocaml-cairo seems to be reasonably
   active upstream

 - Debian is still packaging http://cgit.freedesktop.org/cairo-ocaml/ only

So I believe in this case, unless anyone objects, we should simply
replace the upstream of the ocaml-cairo package with

I _don't_ think we need to rename the package nor create a new
ocaml-cairo2 package, because (a) only OPAM is using the "cairo2" name
and (b) it's going to confuse the heck out of everyone because they'll
think cairo itself has been rewritten.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.

More information about the devel mailing list