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

Re: Getting rid of circular dependencies



Bill Allombert <allomber@math.u-bordeaux.fr> writes:

> On Tue, Jun 28, 2005 at 02:51:52PM +0200, Bill Allombert wrote:
>> In all that cases, you can _either_:
>> 
>> 3) change the shlibs file to document the dependency on the library, e.g
>> change libfontconfig1.shlibs to
>> libfontconfig 1 libfontconfig1 (>= 2.3.0), fontconfig
>> and rebuild every package using libfontconfig. At this point you can
>> remove the circular dependency.
>
> I start to believe this is part of the solution if done completly
> differently:
>
> Do not change libfontconfig1.shlibs. Instead move the actual library to
> a new package libfontconfig1-lib.  Provide a (possibly dummy) package
> libfontconfig1 that depend on libfontconfig1-lib (=${Source-version}) and
> on fontconfig. Change fontconfig to depend on libfontconfig1-lib but not
> on libfontconfig1 (overriding the shlibdeps mechanism here).

I like that.

MfG
        Goswin



Reply to: