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

Bug#735884: RFS: ocp-indent -- OCaml indentation tool for emacs and vim



Le 06/03/2014 14:57, Johannes Schauer a écrit :
> I dont remember from where I got the splitting into libocp-indent-lib-ocaml
> (with META and cma) and libocp-indent-lib-ocaml-dev (with all the rest) but now
> that I search for it I can see some packages which do it that way (for example
> libxen-ocaml or libatd-ocaml or libben-ocaml or libfindlib-ocaml).

This practice appeared with Ocsigen dynamically loading many libraries
already (seperately) packaged in Debian, but is not yet documented in
policy :-( There is an open bug about it, though:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500036

> Are you also saying that I do not need to create the two packages
> libocp-indent-lib-ocaml and libocp-indent-lib-ocaml-dev but that only
> libocp-indent-lib-ocaml-dev with all the files is enough? From reading [1] it
> seems that splitting it into a lib and a dev package is only advised if a
> shared library is involved which is not the case here.

This is indeed what I'm saying. But keep in mind that if someone later
writes a plugin using libocp-indent-lib-ocaml-dev for a program not
using it, nor the OCaml toolchain, the second package might be needed.

Whether you create the second package now or later, on demand, is up to
you :-)


Cheers,

-- 
Stéphane


Reply to: