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

Re: Getting rid of circular dependencies



Le mardi 28 juin 2005 à 14:48 -0400, Anthony DeRobertis a écrit :
> > To make things clearer: there is no way to tell whether a program
> > actually needs librsvg2-common. Even testing it with and without
> > librsvg2-common installed wouldn't be enough, as it could e.g. make use
> > of themes that include SVG files.
> 
> Wouldn't that at most be a Recommends, or even a Suggests?

Wait, I have a better idea: why not split all the gdk-pixbuf loaders in
separate packages? Packages using PNG themes or icons would only need to
depend on libgdkpixbuf-loader-png, while packages using XPM icons would
only need libgdkpixbuf-loader-xpm and packages using JPEG backgrounds
would require libgtkpixbuf-loader-jpeg. This would save a few kilobytes
on the hard disk drives of users wanting to install libgtk2.0-0 without
installing any application that depends on it.

To make things less sarcastic: more and more themes or backgrounds are
using SVG files. Applications using GTK2 don't really *need*
librsvg2-common, but it should nevertheless be installed every time
libgtk2.0-0 is installed, so that the SVG format is always supported.
However that would introduce a circular dependency between gtk+2.0 and
librsvg2, which would be even worse.
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
   `-  Debian GNU/Linux -- The power of freedom



Reply to: