Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2002 13:01:50 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Glenn Johnson <glennpj@charter.net>
Cc:        Tadayuki OKADA <tadayuki.okada@windriver.com>, Joe Clarke <marcus@marcuscom.com>, freebsd-gnome@FreeBSD.org
Subject:   Re: dependency question
Message-ID:  <3C552F9E.7284744A@FreeBSD.org>
References:  <20020120205118.GA447@gforce.johnson.home> <1011565282.28534.22.camel@shumai.marcuscom.com> <20020120234902.GA74865@gforce.johnson.home> <1011573437.28534.24.camel@shumai.marcuscom.com> <20020121011015.GA20453@gforce.johnson.home> <1011575865.28534.39.camel@shumai.marcuscom.com> <3C518120.CB4F6E71@windriver.com> <20020128015959.GA4082@gforce.johnson.home>

next in thread | previous in thread | raw e-mail | index | archive | help
Glenn Johnson wrote:
> 
> On Fri, Jan 25, 2002 at 11:00:32AM -0500, Tadayuki OKADA wrote:
> 
> > Joe Clarke wrote:
> >
> > > Doh!  You're right.  USE_GNOME requires gnomecore which requires
> > > gtkhtml which requires gal which requires libglade, which requires
> > > gnomedb, which requires libgda, which requires bonobob, which
> > > requires gnomeprint....
> >
> > With this method, if a port uses those shared-libs API directly, the
> > port can't get PORTREVISION bump when those shlib's major version is
> > bumped.
> 
> How does one know what shared-libs are used directly?  There are certain
> libraries that the author specifically mentions along with "must have
> Gnome-1.4" but the port links every library from gnome, gtk, bonobo,
> etc.  I am pretty sure that not all of these are needed but they are
> linked into the binary.  How can I separate the wheat from the chaff
> here?

I'm fully agree with the sentiment above. ldd /usr/X11R6/bin/evolution
shows that the binary is linked with some 50 shared libraries (!!!),
so that it would be big PITA if we had to specify (and maintain that
huge list) them all in the port's Makefile. Instead,
dependency-checking mechanism should be extended to check presence of
all dependencies, not only those explicitly specified in port's
Makefile. See my ports/Tools/scripts/chkdepschain.py script and
GNOME_VALIDATE_DEPS_CHAIN knob in bsd.gnome.mk.

-Maxim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C552F9E.7284744A>