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

Re: splitting up the ocaml package: summary



Hello,

On Fri, Jun 11, 2004 at 10:00:19AM -0400, Mike Furr wrote:
> Hello all,
> 
> I've been playing around with the ocaml package trying to produce a
> patch for splitting it up.  We have had several requests for this and
> there seemed to be a consesus that each was a good idea, but I wanted to
> make sure that we(or, at least Sven) agree on how to lay things out and
> to get a big picture of the changes required.
> The requests have been:
> 
>  a) split out the /usr/bin/ocaml interpreter so that ocaml can be used
>     more like a scripting langauge without pulling in a lot of
>     dependencies. (motivation: init scripts)[0]
>  b) split out the labltk files which pulls in lots of X and tk
>     dependencies.  Note that this appears to have been requested in
>     two ways:
>      i) the runtime without tk (motivation: debmirror2 Depends: ??)[1]
>      ii) the compilers without tk (motivation: ocamlc on a zaurus)[2]
>  c) add internal libs from the compiler (typing/* utils/*...)[3]
> 
> Currently, we just have ocaml and ocaml-base which provide the compilers
> and runtime respectively.  Implementing all of the above would create
> the something like the following:
> pkg                  depends              contents
> -------------------------------------------------------
> ocaml                -nox,-base,-interp  transitively everything
> ocaml-base           -base-nox           full runtime
> ocaml-base-nox                           runtime w/o tk
> ocaml-nox            -base-nox           compilers w/o tk
> ocaml-interp         -base-nox           interpreter, no tk
> ocaml-compiler-libs  ocaml               extra libs

Humm... the split is fine with me, but i just don't like name :
pkg                    depends               contents
-------------------------------------------------------------
ocaml                  everything            everything
ocaml-base             ocaml-interpreter
ocaml-interpreter      
ocaml-compilers                              (pseudo package)
ocaml-native-compilers                       compilers *.opt 
ocaml-byte-compilers                         compilers *.byte
liblabltk-ocaml                              labltk stublibs
liblabltk-ocaml-dev     liblabltk-ocaml      labltk header
libbase-extra-ocaml                          extra stublibs 
libbase-extra-ocaml-dev libbase-extra-ocaml  extra header
libgraphics-ocaml                            graphics stublibs
libgraphics-ocaml-dev                        graphics header

I am sorry to rename all the package... I think it should be good to
split graphics/tk. 

It also more compliant regarding the ocaml policy.

Kind regard
Sylvain Le Gall



Reply to: