Re: About the Ruby packages split: a concrete proposal
Ar 27/01/2005 am 13:38, ysgrifennodd Dafydd Harries:
> Ar 27/01/2005 am 14:06, ysgrifennodd Adeodato Simó:
> > - a new package ruby-core is introduced, that depends on _most_ of
> > the Ruby stdlib (Tcl/Tk libs are left out). At first, it was
> > thought of including here only the pure ruby libraries, so that no
> > dependencies outside libruby existed. However, as many of the
> > needed libraries were 'required' or 'important' or 'standard',
> > they have been included. Installing ruby-core, then, gives a very
> > reasonable, yet compact, ruby environment.
>
> Yes, this is sound.
>
> Another alternative is to make a package (ruby-libs, ruby-modules,
> ruby-stdlib, etc.) which includes all of the standard library, but
> doesn't declare a dependency on Tk. This way, all the libraries are in
> one package, but packages which want to depend on Tk being available
> will have to depend on ruby-libs (even if indirectly through the ruby
> package), *and* Tk itself.
I should clarify what I meant here.
The ruby-libs package would include the libtk-ruby stuff, but not depend
on Tk itself.
In retrospect, this wouldn't work with the current package split, as
ruby-libs would depend on libtk-ruby and libtk-ruby would still depend
on Tk.
Perhaps some sort of "Undepends:" field in dpkg would let us do this. :)
--
Dafydd
Reply to: