Kyle McDonald wrote:
> If this isn't the right place, plese tell me and I'll move the question
> elsewhere.

pkg-discuss is probably the right place for most of these, xwin-discuss not
as much.

> Recently playing with the AI image, I noticed packages like SUNWcs were
> pulling some X11 packages that (to my uneducated self) seem un neccasary.
> 
> I'm curious if this reficatoring your doing has (or can?) do anything
> about it? With SUNWcs and SUNWcsd still being required base packages, it
> seems like one should be able to install them with out causing any of
> X11 to be intalled.

I can't do anything about it by refactoring X - though my refactoring should
result in a smaller set of X software being pulled in by these.   Fixing it
for real will require refactoring SUNWcs and related packages so that they no
longer contain the components with X dependencies.   I've not looked into why
all these dependencies exist.

Refactoring ON & other consolidations are projects on the todo list still.
You can see some of the issues already filed in the bug databases for
consideration in these projects via the "pkg-refactoring" keywords:

http://bugs.opensolaris.org/bugdatabase/search.do?process=1&keyword=pkg-refactoring
https://defect.opensolaris.org/bz/buglist.cgi?status_whiteboard_type=allwordssubstr&query_format=advanced&status_whiteboard=pkg-refactoring


> Off topic for X11, (but on topic for pkg-discuss?) I'd also be
> interested in why these get pulled in automatically?
> 
>> <TRANSFER_MOD Jun 28 02:22:03> Download: shell/bash ...  Done
> 
> I know this is the default user shell, but what else in the system
> requires it to be installed? The system shell should be enough for
> anything installed at this 'core' level right?

A bunch of shell scripts in external open source starts with #! /bin/bash
since they wouldn't work with the old Solaris bourne shell.   Validating
those all work with ksh93 & then updating all those scripts would be a
sizable undertaking.

>> <TRANSFER_MOD Jun 28 02:23:17> Download: runtime/python-24 ...  Done
>> <TRANSFER_MOD Jun 28 02:26:37> Download: runtime/python-26 ...  Done
> 
> I know more and more of Solaris is being done in python, but are both
> of these really needed?

Python 2.6 is needed for pkg itself.   Python 2.4 is needed because ZFS
hasn't ported to 2.6 yet:
   http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6908227

>> <TRANSFER_MOD Jun 28 02:24:36> Download: storage/svm ...  Done
> 
> What is depending on SVM? With ZFS it seems that it's use would be rare.

http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6902522

>> <TRANSFER_MOD Jun 28 02:27:17> Download: runtime/tk-8 ...  Done
>> <TRANSFER_MOD Jun 28 02:28:38> Download: runtime/tcl-8 ...  Done
> 
> 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).

I don't see an existing bug for that (since Python is delivered via JDS, it
should be filed in defect.opensolaris.org under opensolaris/desktop), though
6857158 mentions the issue indirectly.

-- 
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

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

Reply via email to