From owner-freebsd-gnome@FreeBSD.ORG Wed Jun 30 04:03:49 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53B2816A4CE; Wed, 30 Jun 2004 04:03:49 +0000 (GMT) Received: from smtp4.jp.viruscheck.net (smtp4.jp.viruscheck.net [154.33.69.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 297DF43D4C; Wed, 30 Jun 2004 04:03:49 +0000 (GMT) (envelope-from bland@freebsd.org) Received: from scan1.jp.viruscheck.net ([154.33.69.36] helo=mail5.jp.viruscheck.net) by smtp4.jp.viruscheck.net with esmtp (Exim 3.36 #1) id 1BfWJU-00016F-00; Wed, 30 Jun 2004 13:03:12 +0900 Received: from [220.221.3.201] (helo=noc.orchid) by mail5.jp.viruscheck.net with esmtp (Exim 3.36 #2) id 1BfWJU-0003xF-00; Wed, 30 Jun 2004 13:03:12 +0900 Received: from [89.60.10.11] (horse.orchid [89.60.10.11]) by noc.orchid (8.12.11/8.12.11) with ESMTP id i5U43AFd061592; Wed, 30 Jun 2004 13:03:10 +0900 (JST) (envelope-from bland@FreeBSD.org) Message-ID: <40E23B78.7030908@FreeBSD.org> Date: Wed, 30 Jun 2004 13:03:04 +0900 From: Alexander Nedotsukov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a1) Gecko/20040520 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Nottebrock References: <40E0F356.8030603@earthlink.net> <200406291817.09503.michaelnottebrock@gmx.net> <200406291852.54678.michaelnottebrock@gmx.net> In-Reply-To: <200406291852.54678.michaelnottebrock@gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: gnome@FreeBSD.org cc: freebsd-ports@FreeBSD.org cc: Bob Melson cc: perky@FreeBSD.org Subject: Re: A question about dependencies X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 04:03:49 -0000 Michael Nottebrock wrote: >On Tuesday 29 June 2004 18:37, Jeremy Messenger wrote: > > >>On Tue, 29 Jun 2004 18:17:09 +0200, Michael Nottebrock >> >> wrote: >> >> >>>On Tuesday 29 June 2004 10:14, Matthew Seaman wrote: >>> >>> >>>>On Mon, Jun 28, 2004 at 10:43:02PM -0600, Bob Melson wrote: >>>> >>>> >>>>>Briefly, I discovered on my system some 124 ports of 600+ that show >>>>>python as a requirement. Granted that many are probably cascading >>>>>requirements: A requires B which requires C which requires python, >>>>> >>>>> >>>>so A >>>> >>>> >>>> >>>>>and B are shown to depend on it; this still seems to me to be a >>>>> >>>>> >>>>problem. >>>> >>>>Actually, there are just two ports that directly depend on python, and >>>>through which the majority of those other ports you mention inherit >>>>their python dependence. Those ports are: >>>> >>>> textproc/libxml2 >>>> textproc/libxslt >>>> >>>>both of which are important parts of the Gnome environment. >>>> >>>>If you don't want python installed on your system, then there's a >>>>simple solution. Set 'WITHOUT_PYTHON=yes' in /etc/make.conf and >>>>reinstall all of the ports that depend from those two. >>>> >>>> >>>In the special case of python, I would agree that there are unnecessary >>>dependencies recorded - it seems libxml and libxslt do not have a runtime >>>dependency on python, just a buildtime dependency to build python >>>bindings. >>>However, USE_PYTHON can either record both run & buildtime dependencies >>>none >>>- perhaps another knob is needed here. Comments? >>> >>> >>It will install the *.py files if Python enable, so I disagree with this. >> >> > >Yes, but this is a buildtime dependency. Python is not needed by libxml2 or >libxslt at runtime, so there should be no RUN_DEPENDS on it. > > > By default libxml2/xslt installs two components C library and Python bindings. Python is an inpterpreter wich is *run-time* required to use bindings mentioned above. Moreother if python will hit API breakage (.py file format change whatever else) run-time dependency cearly show that those bindings outdated and need to be updated. So everyting good as it is now. Peahps port split for C library and bindings (py-libxml2/xslt) proposed by perky@ will make things better. All the best, Alexander.