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

Re: Dependency of a single binary package



On Tue, May 17, 2011 at 4:23 PM, Daigo Moriwaki <daigo@debian.org> wrote:
> Taking ruby-taglib2 as just an example, it contains binaries for both
> Ruby 1.8 and 1.9.1 in a single package.
>
> % apt-file list ruby-taglib2
> ruby-taglib2: /usr/lib/ruby/vendor_ruby/1.8/x86_64-linux/taglib2_ext.so
> ruby-taglib2: /usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux/taglib2_ext.so
> ruby-taglib2: /usr/lib/ruby/vendor_ruby/taglib.rb
> ruby-taglib2: /usr/lib/ruby/vendor_ruby/taglib2.rb
> ...
>
> However, it depends on libruby1.8 or libruby1.9.1.

  This is perfect: it surely needs on ruby lib. If it is run with
either ruby interpreter, the corresponding libruby-ver is necessarily
installed, and there will not be any missing dependency.

  On the other hand, if it depended on both, that would force the
installation of the libraries of all ruby interpreters, which would
bloat small installs.

  I find this way is the best.

  Cheers,

      Vincnet


Reply to: