Richard W.M. Jones
rjones at redhat.com
Thu Mar 19 16:01:51 UTC 2015
On Thu, Mar 19, 2015 at 09:19:49AM -0600, Orion Poplawski wrote:
> On 03/19/2015 08:17 AM, Richard W.M. Jones wrote:
> > Orion, I realize there was not anything actionable in my last
> > emails.
> > Could you take a look at this scratch build:
> > http://koji.fedoraproject.org/koji/taskinfo?taskID=9273794
> > and check that it's suitable for what you want.
> > If plplot is using ocamlfind, then we may need to change the META file
> > in ocaml-cairo. I essentially made up the package names off the top
> > of my head (as '-package cairo' and '-package cairo.gtk') since
> > upstream doesn't provide any guidance.
> > Rich.
> plplot does:
> ocamlfind c -package cairo2 -linkpkg test_cairo.ml -o test_cairo
Thanks for investigating this.
What I propose to do is to change the META file so the packages are
"cairo2" and "cairo2.lablgtk2" respectively. A new build with that
change is going on here:
Hopefully this will work ..
> with test_cairo.ml:
> module C = Cairo
> ocamlfind c -package cairo2.lablgtk2 -linkpkg test_gtk.ml -o test_gtk
> module G = Gtk
> module C = Cairo_gtk
> Since apparently the opam name is "cairo2", and since no distribution (yet)
> carries this version, it assumed that's what the name would be:
> commit 84d2a859f31b69c1d440a7a61d5c57528de94355
> Author: Hezekiah M. Carty <hez at 0ok.org>
> Date: Thu Jul 3 14:46:13 2014 +0000
> Switch to a different OCaml Cairo binding ("cairo2" in opam)
> This is a more actively maintained binding to the Cairo library. It is
> unfortunately not packaged for Debian at this time so interested users
> would need to install the library through opam. opam is generally the
> recommended way to install and manage OCaml libraries (this cpan, pip, etc)
> so this isn't a particularly serious limitation.
> debian report on the issue:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649439 CC'ing debian
> plplot is fairly responsive, so if we think they should change, they may be
> willing to. CC'ing Hezekiah.
> Orion Poplawski
> Technical Manager 303-415-9701 x222
> NWRA, Boulder/CoRA Office FAX: 303-415-9702
> 3380 Mitchell Lane orion at nwra.com
> Boulder, CO 80301 http://www.nwra.com
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
More information about the devel