On 06/29/10 09:34 AM, Alan Coopersmith wrote:
Kyle McDonald wrote:
...
Are *core* parts of solaris being written in TCL/TK?

None that I know of, but I've not kept track of all the moving parts.

Lets see where that dependency comes from:

% pkg search 'depend::*/tk-8'
INDEX       ACTION VALUE                     PACKAGE
require     depend runtime/[email protected] pkg:/[email protected]
require     depend runtime/[email protected] pkg:/[email protected]
require     depend runtime/[email protected] pkg:/[email protected]
require     depend runtime/[email protected] pkg:/shell/[email protected]
require     depend runtime/[email protected] pkg:/runtime/[email protected]
require     depend runtime/[email protected] pkg:/[email protected]
require     depend runtime/[email protected]
pkg:/library/python-2/[email protected]
require     depend runtime/[email protected] pkg:/[email protected]
require     depend runtime/[email protected] pkg:/[email protected]
require     depend runtime/[email protected] pkg:/runtime/[email protected]
require     depend runtime/[email protected] pkg:/runtime/[email protected]
require     depend runtime/[email protected]
pkg:/library/python-2/[email protected]
require     depend runtime/[email protected]
pkg:/communication/im/[email protected]
require     depend runtime/[email protected] pkg:/runtime/[email protected]
incorporate depend runtime/[email protected]
pkg:/consolidation/sfw/[email protected]

Looks like the problem is that the core python package includes the tk bindings,
so pulls in that dependency (which in turn is responsible for some  of the X
library dependencies, as 'pkg contents -t depend -o fmri tk-8' shows).

See also:

  https://defect.opensolaris.org/bz/show_bug.cgi?id=16327

I believe the require-conditional dependency type has been discussed for this particular use case before.

Cheers,
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to