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

Re: Getting rid of circular dependencies, stage 4



On Wed, May 10, 2006 at 12:32:53AM -0400, Hubert Chan wrote:
> On Tue, 9 May 2006 22:49:36 +0200, Bill Allombert <allomber@math.u-bordeaux.fr> said:
> > Hubert Chan <hubert@uhoreg.ca>
> >    alsaplayer-alsa
> >    alsaplayer-common
> >    alsaplayer-gtk
> 
> Hmm...  alsaplayer-common Depends: on "alsaplayer-alsa |
> alsaplayer-output" and "alsaplayer-gtk | alsaplayer-interface".  Is this
> really a problem?

The problem is that all three packages Depend on each other as seen from
grep-dctrl -sPackage,Depends -FPackage -e 'alsaplayer-(alsa|common|gtk)'

Package: alsaplayer-alsa
Depends: libasound2 (>> 1.0.9), libc6 (>= 2.3.5-1),
         alsaplayer-common (= 0.99.76-7)
         -----------------

Package: alsaplayer-common
Depends: libc6 (>= 2.3.5-1), libflac7, libgcc1 (>= 1:4.0.1),
         libid3tag0 (>= 0.15.1b), libmad0 (>= 0.15.1b),
         libmikmod2 (>= 3.1.10), libogg0 (>= 1.1.2), liboggflac3,
         libsndfile1 (>= 1.0.2-1), libstdc++6 (>= 4.0.1),
         libvorbis0a (>= 1.1.0), libvorbisfile3 (>= 1.1.0),
         zlib1g (>= 1:1.2.1), alsaplayer-alsa | alsaplayer-output,
                              ---------------
         alsaplayer-gtk | alsaplayer-interface
         --------------

Package: alsaplayer-gtk
Depends: libc6 (>= 2.3.5-1), libgcc1 (>= 1:4.0.1), libglib1.2 (>= 1.2.0),
         libgtk1.2 (>= 1.2.10-4), libstdc++6 (>= 4.0.1),
         libx11-6 | xlibs (>> 4.1.0), libxext6 | xlibs (>> 4.1.0),
         libxi6 | xlibs (>> 4.1.0), xlibmesa-gl | libgl1,
         alsaplayer-common (= 0.99.76-7)
         -----------------

There's no real reason that alsaplayer-common needs to Depend on an
alsaplayer-output variant or an alsaplayer-interface variant.  As a
user, if I just want to look at the common files for some reason, I
sholudn't need to install alsaplayer-(output|gtk).  Those would be fine
as Recommends.

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@jamessan.com>

Attachment: signature.asc
Description: Digital signature


Reply to: