From owner-freebsd-ports Sat Jan 19 8:58:47 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id DA30337B405 for ; Sat, 19 Jan 2002 08:58:35 -0800 (PST) Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.33 #3) id 16Ryp8-0002MF-00; Sat, 19 Jan 2002 17:58:34 +0100 Received: from a3984.pppool.de ([213.6.57.132] helo=Magelan.Leidinger.net) by mx0.freenet.de with esmtp (Exim 3.33 #3) id 16Ryp7-0001Fj-00; Sat, 19 Jan 2002 17:58:33 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.6/8.11.6) with ESMTP id g0JGnhl11714; Sat, 19 Jan 2002 17:49:44 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200201191649.g0JGnhl11714@Magelan.Leidinger.net> Date: Sat, 19 Jan 2002 17:49:42 +0100 (CET) From: Alexander Leidinger Subject: Re: depending on the shared libraries To: mi@aldan.algebra.com Cc: ports@FreeBSD.ORG In-Reply-To: <200201191618.g0JGIlQ86731@aldan.algebra.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 19 Jan, Mikhail Teterin wrote: > I keep wondering, and keep asking this question, but noone feels like > answering. Most of the ports don't care for the exact version number of > the library they depend on. Be that jpeg.7 or jpeg.8, foo.N or foo.N+1 > or foo.N-1. However, the committers seem to religiously maintain the > numbers and every time a library-installing port (like vorbis) is > updated, the update is followed by a flurry of the commits updating the > dependent ports. [...] > Granted, sometimes a particular feature of a library is important and > requiring the exact version number makes sense, but that's so rarely the > case -- libxine worked fine with vorbis.0 and will continue working with > .1 and probably .2... There was an API change between RC1 and RC2 of vorbis. > As a result, any time I go to rebuild, say, ImageMagick, I notice it > attempts to rebuild png, even though IM works just fine with the version > of png I already have... My opinion on this: It would only make sense if we are able to specify version ranges, e.g. "greater than .2" or something like this. A work around would be to use no version number until the port breaks, but a maintainer can't test the interaction with every old version the port depends upon. The actual way describes a known good dependency chain whereas your proposal relies much more on problem reports. Bye, Alexander. -- Give a man a fish and you feed him for a day; teach him to use the Net and he won't bother you for weeks. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message