[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using graphivz's bindings



On Thu, Oct 18, 2007 at 08:41:45PM +0200, Cyril Brulebois wrote:
> Here is where I came to.
> 
> ocaml package:
> | $ dpkg --contents ../libgv-ocaml_2.12-5_i386.deb  | grep /lib/

See Samuel's comment about the needed split between libgv-ocaml and
libgv-ocaml-dev.

> -dev package:
> | $ dpkg --contents ../libgraphviz3-dev_2.12-5_i386.deb  | grep /ocaml/
> | drwxr-xr-x root/root         0 2007-10-18 19:56 ./usr/lib/ocaml/
> | drwxr-xr-x root/root         0 2007-10-18 19:56 ./usr/lib/ocaml/3.10.0/
> | drwxr-xr-x root/root         0 2007-10-18 19:56 ./usr/lib/ocaml/3.10.0/gv/
> | -rw-r--r-- root/root      3015 2007-10-18 19:55 ./usr/lib/ocaml/3.10.0/gv/gv.mli
> | -rw-r--r-- root/root     22672 2007-10-18 19:55 ./usr/lib/ocaml/3.10.0/gv/gv.ml

The .mli should go in libgv-ocaml-dev (so that ocaml programmers can
have a look at how to invoke graphviz stuff), whereas there is no need
to ship the .ml (though it won't do any harm).

> I'm able to do the following:
> | $ ocaml
<snip>
> | - : unit = ()
> | # #require "gv";;
> | /usr/lib/ocaml/3.10.0/gv/gv.cma: loaded

Cool!

> But then I'm totally clueless on the how-to-use-it topic. I tried some
> things using gv.* stuff, but nothing sounded like wanting to be friendly
> to me, that's why I'm asking for a review of the current state of the
> package, which you can find in git [1] (Usage: just clone it an put the
> files of the .orig.tar.gz in the same folder). A .dsc is also available

Uhm: ...

  zack@aquarium:/tmp$ git clone 'http://git.debian.org/?p=collab-maint/graphviz.git;a=summary'
  Initialized empty Git repository in /tmp/graphviz.git;a=summary/.git/
  Cannot get remote repository information.
  Perhaps git-update-server-info needs to be run there?

any hints? missing sever info update? mismatch in git version (1.5.3.4
here)?

> If there are no strong objections, I'll upload the package with these
> files, since the upload is far overdue. Some cleanup will happen first
> (e.g. the clean rules, a double-build would fail), but it sounds to me
> that this set of files is more useful than the previous.

Please do the split of libgraphviz-ocaml-dev. More comments when I'll
manage to checkout the git repo :)

Cheers.

-- 
Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
(15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
(15:57:15)  Bac: no, la demo scema    \/    right keys at the right time

Attachment: signature.asc
Description: Digital signature


Reply to: