Bart Smaalders wrote: > 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 >
OK. Please explain what "direct dependencies" means, because binaries from gnome-search-tool _do_ depend directly (ldd for me is quite direct dependency) Do you mean "package should declare minimal possible set of dependencies, transitive closure of which will be superset of real dependencies"? > compute the > closure at install time, which will be more accurate than computing it > at publication > time. > > - Bart > > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
