OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » indiana » discuss

Thread: X11/GNOME package dependencies

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 5 - Last Post: Jul 16, 2008 3:15 PM by: alanc
sch

Posts: 305
From: US

Registered: 3/9/05
X11/GNOME package dependencies
Posted: Jul 14, 2008 11:33 AM

  Click to reply to this thread Reply


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.

- Stephen

--
sch at sun dot com http://blogs.sun.com/sch/
_______________________________________________
indiana-discuss mailing list
indiana-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


moinakg

Posts: 1,223
From: India

Registered: 7/15/05
Re: X11/GNOME package dependencies
Posted: Jul 14, 2008 11:40 AM   in response to: sch

  Click to reply to this thread Reply

On Tue, Jul 15, 2008 at 12:03 AM, Stephen Hahn <sch at sun dot 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

Regards,
Moinak.

>
> - Stephen
>
> --
> sch at sun dot com http://blogs.sun.com/sch/
> _______________________________________________
> indiana-discuss mailing list
> indiana-discuss at opensolaris dot org
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>
_______________________________________________
indiana-discuss mailing list
indiana-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


alanc

Posts: 5,829
From: US

Registered: 3/9/05
Re: X11/GNOME package dependencies
Posted: Jul 14, 2008 12:38 PM   in response to: moinakg

  Click to reply to this thread Reply

Moinak Ghosh wrote:
> On Tue, Jul 15, 2008 at 12:03 AM, Stephen Hahn <sch at sun dot 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 dot coopersmith at sun dot com
Sun Microsystems, Inc. - X Window System Engineering

_______________________________________________
indiana-discuss mailing list
indiana-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


duey

Posts: 45
From: Colorado

Registered: 10/19/07
Re: X11/GNOME package dependencies
Posted: Jul 14, 2008 12:57 PM   in response to: alanc

  Click to reply to this thread Reply

On 7/14/2008 1:38 PM, Alan Coopersmith wrote:
> Moinak Ghosh wrote:
>> On Tue, Jul 15, 2008 at 12:03 AM, Stephen Hahn <sch at sun dot 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.
>

The Package Manager GUI has a Dependencies tab that might provide the
information you're looking for. Select a package and then click on the
Dependencies tab.

Marty
--
_/_/_/ Marty Duey
_/ _/ _/ _/ _/ Partner Development Manager
_/_/_/ _/ _/ _/_/ _/ Partner Marketing
_/ _/ _/ _/ _/_/ Email: marty dot duey at sun dot com
_/_/_/ _/_/_/ _/ _/ Direct: 303.223.6141
Internal: x69342
M I C R O S Y S T E M S
_______________________________________________
indiana-discuss mailing list
indiana-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


comay

Posts: 988
From: US

Registered: 3/9/05
Re: X11/GNOME package dependencies
Posted: Jul 14, 2008 1:22 PM   in response to: alanc

  Click to reply to this thread Reply

> 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.

Here's a CLI method

$ pkg contents -o action.raw -r -t depend <pkg>

dsc
_______________________________________________
indiana-discuss mailing list
indiana-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


alanc

Posts: 5,829
From: US

Registered: 3/9/05
Re: X11/GNOME package dependencies
Posted: Jul 16, 2008 3:15 PM   in response to: comay

  Click to reply to this thread Reply

David dot Comay at Sun dot COM wrote:
>> 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.
>
> Here's a CLI method
>
> $ pkg contents -o action.raw -r -t depend <pkg>

Thanks - I've gone through the output of that and suggested some manual
dependencies to add to the X packages in distro-import:

http://defect.opensolaris.org/bz/show_bug.cgi?id=2561

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

_______________________________________________
indiana-discuss mailing list
indiana-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss





Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2010, Oracle Corporation and/or its affiliates

Oracle