Alexander Vlasov wrote: > Hello, > > I've tried to analyze packages' dependencies and noticed interesting > thing, which os easier to show than to explain in words: > > --- > Processing SUNWgnome-search-tool > > Declared deps: SUNWgnome-config; SUNWgnome-vfs; SUNWgnome-libs; > SUNWgnome-panel; SUNWgnome-base-libs; SUNWcsl > > Calculated by ldd: SUNWdbus; SUNWlxml or openoffice; SUNWgnome-libs; > SUNWgnome-panel; SUNWgnome-component; openoffice or SUNWfreetype2; > SUNWgnome-audio; SUNWgnome-vfs; SUNWgnome-base-libs; SUNWxwrtl or > SUNWxorg-clientlibs; SUNWdbus-bindings; SUNWxwrtl or SUNWxwplt; > SUNWlibms; SUNWopenssl; SUNWfontconfig; SUNWmlib; SUNWzlib; > SUNWgnome-config; SUNWpng; SUNWxwrtl or SUNWxwice; SUNWlexpt; SUNWcsl; > SUNWlibpopt > --- > > maybe all those low-level libraries would be installed anyway to satisfy > dependencies of high-level libraries -- I don't know, haven't traversed > dependency tree yet. But I want to clarify dependency policy: > Should package declare dependency on all other packages it uses or only > to high-level ones? >
Packages should never specify the transitive closure of their dependencies; rather, they should declare their own direct dependencies. IPS will compute the closure at install time, which will be more accurate than computing it at publication time. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird." _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
