Re: Getting rid of circular dependencies
On Tue, Jun 28, 2005 at 04:05:55PM +0200, Josselin Mouette wrote:
> Le mardi 28 juin 2005 à 14:51 +0200, Bill Allombert a écrit :
> > 1) include the offending binary (e.g. fc-cache) in the library package.
> No. See policy, §8.2.
You could ship fc-cache as /usr/lib/libfontconfig1/fc-cache
so it will not need to conflict with libfontconfig2.
> > 2) document that packages using some extra feature (e.g. SVG loader)
> > needs to depend on an extra package (librsvg2-common)
> Guess why we moved from doing things this way to make librsvg2-2 depend
> on librsvg2-common...
I will certainly not hazard a guess.
> > 4) split the library in two libraries so that the -common package depend
> > only on the first and is used only by the second.
> This one would be good. In fact, maybe linking to the library isn't
> necessary in these packages, I'll have a closer look. In this case using
> --as-needed would solve the problem.
Thanks for looking at it!
Imagine a large red swirl here.