From owner-freebsd-gnome Mon Jan 28 3:21: 5 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 9703337B400 for ; Mon, 28 Jan 2002 03:20:59 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id NAA91687; Mon, 28 Jan 2002 13:20:20 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h169.234.dialup.iptcom.net [212.9.234.169]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id NAA68416; Mon, 28 Jan 2002 13:20:14 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g0SB1jI60961; Mon, 28 Jan 2002 13:01:45 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C552F9E.7284744A@FreeBSD.org> Date: Mon, 28 Jan 2002 13:01:50 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Glenn Johnson Cc: Tadayuki OKADA , Joe Clarke , freebsd-gnome@FreeBSD.org Subject: Re: dependency question 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> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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