Bug#583475: META file for ocaml-llvm has a wrong filename

Mehdi Dogguy mehdi at dogguy.org
Sun May 30 11:48:48 UTC 2010


On 05/28/2010 10:55 PM, Sylvain Le Gall wrote:
> Hello,
> 
> On Fri, May 28, 2010 at 03:34:57PM +0200, Mehdi Dogguy wrote:
>> On 27/05/2010 22:12, Sylvain Le Gall wrote:
>>> Package: libllvm-ocaml-dev
>>> Version: 2.6-9
>>> Severity: normal
>>> Tags: patch
>>>
>>>
>>> The patch attached fix this bug.
>>>
>>
>> Isn't it better to put the META file in $(OCAML_STDLIB_DIR)/llvm/META?
>> As I see it, only ocaml's libraries should have their META file under
>> $(OCAML_STDLIB_DIR)/METAS/, all the rest should be put under the library's
>> folder.
>>
> 
> Well it doesn't really matter and I tend to place META files that are
> not shipped with the library inside METAS/. After all, this is the
> reason why all the METAS/META.* files are placed herei by findlib. 
> 

It *does* matter! When I have to open some META file by hand to see its
content, it's much more easier to know beforehand (and without looking
for it) where it is. For now, the situation is not uniform: most of the
people put the META file under +$lib/META, some others put under METAS
(but a few¹ of them when looking at the archive's state).

¹: The complete list is:
camlidl
libcameleon-ocaml-dev
libcothreads-ocaml-dev
libcryptokit-ocaml
libfindlib-ocaml
libgmp-ocaml-dev
libgraphviz-dev
liblablgtk2-gl-ocaml
liblablgtk2-gnome-ocaml
liblablgtksourceview2-ocaml
libllvm-ocaml-2.7-dev
libllvm-ocaml-dev
libocsigen-xhtml-ocaml-dev
libxml-light-ocaml-dev

where you can ignore "libfindlib-ocaml" because it puts the META files
for the standard library and "libocsigen-xhtml-ocaml-dev" for another
reason.

-- 
Mehdi Dogguy مهدي الدڤي
http://dogguy.org/





More information about the Pkg-llvm-team mailing list