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

Re: Bug#143415: META file for lablgl



Le jeu 18/04/2002 à 11:58, Sven a écrit :
> On Thu, Apr 18, 2002 at 11:37:28AM +0200, Vanicat Remi wrote:
> > By the way, if there is a META file in lablgl, then the matafile of
> > lablgtkgl should become :
> > 
> > requires="lablgtk lablgl"
> > version="1.2.3"
> > archive(byte)="lablgtkgl.cma"
> > archive(native)="lablgtkgl.cmxa"
> > linkopts=""
> > directory="+lablgtk"
> 
> Ok, thought something such also.
> 
> But then, what is this ugly place to install the META files ?
> 
>         cp debian/META.lablgtk $(CURDIR)/debian/liblablgtk-ocaml-dev/usr/lib/ocaml/lablgtk/META
>         mkdir $(CURDIR)/debian/liblablgtk-ocaml-dev/usr/lib/ocaml/lablgnome
>         cp debian/META.lablgnome $(CURDIR)/debian/liblablgtk-ocaml-dev/usr/lib/ocaml/lablgnome/META
>         mkdir $(CURDIR)/debian/liblablgtk-ocaml-dev/usr/lib/ocaml/lablglade
>         cp debian/META.lablglade $(CURDIR)/debian/liblablgtk-ocaml-dev/usr/lib/ocaml/lablglade/META
>         mkdir $(CURDIR)/debian/liblablgtk-ocaml-dev/usr/lib/ocaml/lablgtkgl
>         cp debian/META.lablgtkgl $(CURDIR)/debian/liblablgtk-ocaml-dev/usr/lib/ocaml/lablgtkgl/META
> 
> Why in hell do we need to have one subdir per library ? Did we not standardize
> on something more pleasant back then when we did speak about these things ?
> 

for what I recall, when one ask findlib to load say "foo", it look for a
file named /usr/lib/ocaml/foo/META and make what it should with it.

So I only apply this.

Also if you look to the /usr/lib/ocaml/unix and /usr/lib/ocaml/str
directories that are in the package ocaml-findlib you will see that they
are directories containing only a META file. I've done the same here.

may be something might be done with findlib predicate, but i don't know
enought findlib for this.

> I think it would be highly appreciated if we added a findlib entry in the
> debian/ocaml policy. I will be doing a new ocaml package before this weekend,
> and would like to include it. Even if it is not fully respected for the woody
> release, it would be appreciable if it is there. (but then some such documents
> are maybe already in the findlib package).
> 

Yes it could be usefull.

I also belive that it would be clearer if the directories that contain
the META file where somwhere else (say /usr/share/findlib or something
like that) but this may need to modify findlib, and i don't know if this
is usefull.

> Any comment on those ? Remi, Stefano, Claudio, Gerd ?
> 
> Friendly,
> 
> Sven Luther



--
To UNSUBSCRIBE, email to debian-ocaml-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: