Bug#143415: liblablgl-ocaml-dev: A Meta file for lablgl
A mistake of mine make a (interesting) discussion about META file (and
lablgl) not be here, so I followup it here.
On Thu, Apr 18, 2002 at 11:48:58AM +0200, Sven wrote :
> On Thu, Apr 18, 2002 at 11:28:58AM +0200, Vanicat Remi wrote:
> > Package: liblablgl-ocaml-dev
> > Version: 0.97-3
> > Severity: wishlist
> >
> > I was looking for ocaml library that doesn't have META file, and
> > liblablgl is one, so here is my proposed META file :
> >
> > requires=""
> > version="0.97"
> > archive(byte)="lablgl.cma"
> > archive(native)="lablgl.cmxa"
> > linkopts=""
> > directory="+lablgl"
>
> I only use lablgl with lablgtk, but a quick search gave me :
>
> $ ls *.cm*a
> lablgl.cma lablgl.cmxa togl.cma togl.cmxa
>
> So, maybe this should be changed to :
>
> archive(byte)="lablgl.cma togl.cma"
> archive(native)="lablgl.cmxa togl.cmxa"
>
> Or even there should be various metafiles as for lablgtk ?
togl seem to be lablgl binding for labltk, so togl it should be in a
different META file (or use a predicate but I really don't know how
this work).
by the way, with the META file in lablgtkgl and the lablgl META file i
propose this work very well :
moi@debian:/usr/lib/ocaml$ ocaml
Objective Caml version 3.04
# #use "ocamlfind";;
# #require "lablgl";;
# #require "lablgtkgl";;
# #load "gtkInit.cmo";;
# #use "/home/moi/src-system/lablgtk-1.2.3/examples/GL/gears.ml";;
and of course, with the modification of the lablgtkgl META file which
add lablgl to the require field, one have only to require lablgtkgl.
--
Rémi Vanicat
vanicat@labri.u-bordeaux.fr
http://dept-info.labri.u-bordeaux.fr/~vanicat
--
To UNSUBSCRIBE, email to debian-ocaml-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: