[indiana-discuss] X11/GNOME package dependencies

Alan Coopersmith Alan.Coopersmith at Sun.COM
Mon Jul 14 12:38:10 PDT 2008


Moinak Ghosh wrote:
> On Tue, Jul 15, 2008 at 12:03 AM, Stephen Hahn <sch at sun.com> wrote:
>>   A couple of times now I've had to chase X11 headers and pkg-config
>>   files to get GTK+ apps to build on a basic 2008.05 system.  I was
>>   wondering if we could figure out some dependencies between
>>
>>   - SUNWgnome-common-devel,
>>   - SUNWxwinc, and
>>   - SUNWxorg-headers,
>>
>>   so that it's one pkg(1) invocation to be able to compile these
>>   applications.
> 
>    I think the dependencies should be:
> 
>    SUNWgnome-common-devel -> SUNWxwinc -> SUNWxorg-headers

I think it would be the other way around actually - SUNWxorg-headers
should depend on SUNWxwinc, since the core X11 headers are in SUNWxwinc,
SUNWxorg-headers adds some extension libraries that first came in with
Xorg.

Of course, the SVR4 X packages have these dependencies already, it's just
pkg ignores the SVR4 dependencies, and doesn't autocompute these as being
needed.  (Should it follow #include's in header files for calculating
dependencies as well?)

% grep SUNWx
combined.nvx_wos/93/Solaris_11/Product/SUNWxorg-headers/install/depend
                P SUNWxwinc     X Window System include files

How do I see which packages an IPS package depends on so we can compare
against our SVR4 dependencies and see where explicit ones need to be
added in the distro-import rulesets?   I can't find any mention of pkg
dependencies in pkg(1) other than uninstall -r.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering




More information about the indiana-discuss mailing list