From owner-cvs-ports@FreeBSD.ORG Wed Aug 8 06:12:37 2007 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2EC316A419; Wed, 8 Aug 2007 06:12:36 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mx1.freebsd.org (Postfix) with ESMTP id A617813C483; Wed, 8 Aug 2007 06:12:33 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l77IeB9s004958; Wed, 8 Aug 2007 04:40:11 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l77IeBjl004957; Wed, 8 Aug 2007 04:40:11 +1000 (EST) (envelope-from peter) Date: Wed, 8 Aug 2007 04:40:11 +1000 From: Peter Jeremy To: Alexander Leidinger Message-ID: <20070807184011.GN1224@turion.vk2pj.dyndns.org> References: <20070803125410.GB1062@tirith.brixandersen.dk> <200708032144.57558.lofi@freebsd.org> <20070803204215.GA68620@rot26.obsecurity.org> <20070806074318.q9mw6ulngg00gwsw@webmail.leidinger.net> <20070806065634.GA31676@rot26.obsecurity.org> <20070806113855.0fcq213io0www04k@webmail.leidinger.net> <46B7072E.8070307@freebsd.org> <20070807111509.ojm8nc4ao0g080ck@webmail.leidinger.net> <46B84C78.3030009@freebsd.org> <20070807145123.yb3dqjojk08s40wg@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <20070807145123.yb3dqjojk08s40wg@webmail.leidinger.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-ports@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports/Mk bsd.port.mk X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 06:12:37 -0000 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Aug-07 14:51:23 +0200, Alexander Leidinger wrote: >ports. But for some ports you can get the benefit immediately. I hope you= =20 >are not too biased regarding KDE. Yes, KDE and such would benefit by a hug= e=20 >amount by this, more than smaller ports, but even for the "small"=20 >dependency trees this can result in nice improvements. I can see the speed advantage in your suggestion: Modular X has definitely resulted in massive bloat in dependencies with simple X clients needing 60-70 dependencies. This is _very_ noticable when registering a package on a slow system. I'm less convinced that it is possible to automate the process. >A list of libs for the given binaries: >---snip--- >#!/bin/sh > >for i in "$@"; do > objdump -x "$i" | grep NEEDED | awk '{print $2}' > shift >done | sort -u >---snip--- This won't detect dynamically loaded libraries. mplayer appears to dlopen() codecs. Further investigation might reveal other examples. >Putting the XORG problem aside, I think you assume there is more work=20 >required than will be necessary. I think there will be a lot work required= =20 >in the beginning (if a maintainer wants to improve immediately on his own,= =20 >but then he is responsible for his own time management), but then it is no= t=20 >that much work. My concern is that this is all manual effort and, so far, I haven't seen anything that would let (eg) pointyhat automatically verify that the dependency chain is correct. Given the situation where A depends on B depends on C but the Makefile for A does not list C as a direct dependency, how does pointyhat verify this is correct? --=20 Peter Jeremy --zhXaljGHf11kAtnf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGuLyL/opHv/APuIcRAsMFAKCHHh0fcDOvNienYqyLY0NFmdCB+QCdG/MM 4qvqv8Dlgu5Lv7hTeem9Uuo= =mTNE -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--