From owner-freebsd-ports Sat Aug 31 23:45:37 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D59437B400; Sat, 31 Aug 2002 23:45:34 -0700 (PDT) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EAC343E72; Sat, 31 Aug 2002 23:45:31 -0700 (PDT) (envelope-from max@vega.com) Received: from vega.vega.com (xDSL-2-2.united.net.ua [193.111.9.226] (may be forged)) by baraca.united.net.ua (8.11.6/8.11.6) with ESMTP id g816jNV53344; Sun, 1 Sep 2002 09:45:24 +0300 (EEST) (envelope-from max@vega.com) Received: from vega.vega.com (max@localhost [127.0.0.1]) by vega.vega.com (8.12.5/8.12.5) with ESMTP id g816jHov012912; Sun, 1 Sep 2002 09:45:17 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: (from max@localhost) by vega.vega.com (8.12.5/8.12.5/Submit) id g816j75e012911; Sun, 1 Sep 2002 09:45:07 +0300 (EEST) Date: Sun, 1 Sep 2002 09:45:07 +0300 From: Maxim Sobolev To: Mario Sergio Fujikawa Ferreira Cc: Oliver Braun , ports@FreeBSD.ORG, B.Candler@pobox.com, dwcjr@FreeBSD.ORG, jos@catnook.com Subject: Re: Please review patch (was: ports/42074: rsync depends on many other packages - popt dependencies?) Message-ID: <20020901064507.GA12871@vega.vega.com> References: <200208271204.g7RC4jBG049111@www.freebsd.org> <20020829085624.GA63657@informatik.unibw-muenchen.de> <20020831121303.86543.qmail@exxodus.fedaykin.here> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20020831121303.86543.qmail@exxodus.fedaykin.here> User-Agent: Mutt/1.4i 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 Sat, Aug 31, 2002 at 09:12:41AM -0300, Mario Sergio Fujikawa Ferreira wrote: > Hi, > > Sorry for the awful delay on picking up this thread. :( > I was otherwise engaged with other problems.... > > On Thu, Aug 29, 2002 at 10:56:02AM +0200, Oliver Braun wrote: > > * Brian Candler [2002-08-27 14:04 +0200]: > > > Possibly as a result of change ports/37348, rsync now depends on a > > > whole bunch of other packages including an XML parser! > > > > > This is a bit of a pain in a server environment where you want to > > > install the minimum amount of shrapnel. libpopt I will accept, but > > > the rest seem irrelevant to rsync. > > > > > expat/libiconv/gettext are dependencies of popt, so I guess the > > > question really is why a command-line option parser depends on those > > > things? > > So that it can resolve any locale things. As I understand > popt uses gettext so that it can return localized error messages. > And to be able to handle localized parameters, e.g., diacriticals > (á, that is a á in case your terminal did not show). > Both expat and libiconv are side effects of having gettext > as a dependency. :( > > > Find attached a patch I want to commit: > > > > * define WITH_POPT_PORT to build net/rsync with devel/popt and all > > dependencies. > > * default behaviour is to use included popt. So, the package does not > > depend on devel/popt > > > > Lioux, does devel/popt need all these dependencies, or is it possible to > > remove the dependency on gettext at least by default and make gettext > > support optional? > > At the current stage of things, there are 2 side effects > of making gettext support optional (if that is at all possible, I > haven't investigated yet): > > 1) It will drop down localized support which may not > be important for the messages but IS for the parameters > 2) It will break the dependency list for several ports. > Some of them relied on the fact that gettext already pulled either > libiconv or expat as dependencies. So we would have to identify > and explicitily add dependencies to some ports > > Having said this, I do not feel strongly about keeping > gettext personally. However, we should consider the possible > impact on the functionality of our ports. As well as the fixes > necessary to make sure the ports will keep on working after this. I have to disagree with the last sentiment. You can hardly find any FreeBSD installation out there without gettext package installed (even in server environment), so that removing gettext support from popt is unlikely to have any positive effect for the majority of our users. I'd suggest to keep gettext dependency in popt. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message