From owner-cvs-all Wed Jul 17 11:21:22 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 686D037B400; Wed, 17 Jul 2002 11:21:19 -0700 (PDT) Received: from mx2.datanet.hu (mx2.datanet.hu [194.149.13.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3B7A43E3B; Wed, 17 Jul 2002 11:21:18 -0700 (PDT) (envelope-from sziszi@bsd.hu) Received: from fonix.adamsfamily.xx (nilus-667.adsl.datanet.hu [195.56.50.159]) by mx2.datanet.hu (DataNet) with ESMTP id D62405922; Wed, 17 Jul 2002 20:21:16 +0200 (CEST) Received: from fonix.adamsfamily.xx (localhost [127.0.0.1]) by fonix.adamsfamily.xx (8.12.5/8.12.5) with ESMTP id g6HILU6c018059; Wed, 17 Jul 2002 20:21:30 +0200 (CEST) (envelope-from sziszi@bsd.hu) Received: (from cc@localhost) by fonix.adamsfamily.xx (8.12.5/8.12.5/Submit) id g6HILTsk018058; Wed, 17 Jul 2002 20:21:29 +0200 (CEST) X-Authentication-Warning: fonix.adamsfamily.xx: cc set sender to sziszi@bsd.hu using -f Date: Wed, 17 Jul 2002 20:21:29 +0200 From: Szilveszter Adam To: cvs-all@FreeBSD.ORG Cc: anholt@FreeBSD.ORG Subject: Re: cvs commit: ports/x11/XFree86-4-clients Makefile ports/x11/XFree86-4-documentsMakefile ports/x11/XFree86-4-libraries Makefileports/x11/XFree86-4-libraries/files patch-bsdLib.rules patch-drilx11patch-xthreads patch-z01 ports/x11/XFree86-4-manuals Makefile ... Message-ID: <20020717182129.GC1068@fonix.adamsfamily.xx> Mail-Followup-To: Szilveszter Adam , cvs-all@FreeBSD.ORG, anholt@freebsd.org References: <200207142026.g6EKQXa1003977@freefall.freebsd.org> <3D34493C.3A23D5C@FreeBSD.org> <1026861780.474.14.camel@anholt.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1026861780.474.14.camel@anholt.dyndns.org> User-Agent: Mutt/1.5.1i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 16, 2002 at 05:22:59PM -0600, Eric Anholt wrote: > Was it not doing this before the commit? I know some things (in the Yes it was. > One thing I plan to look at though is how to reduce, if possible, the > amount of source we are extracting and how much of X we are building > each time. One thing people have proposed is having a shared source > dir, but I'm not sure how well that would work (And how we would deal > with it in relation to things like portupgrade which like to clean after > installing the port). I have the following view of things: - At present, the X source code is extracted no less than 3 times during a full X build, which means that more than 1 gig is taken up by the source by the time we finish. This is way too much. - The libraries are built with every other major X part, which is overkill. One should insetad, at the very least, check that they are already installed and use them if so. There is no way to only partially upgrade X anyway, you either do everything or you don't. - The "make World" system in use for building X does not lend itself to such "slicing" that is at present used in the XFree86-4 port. Unless I am mistaken the reason for creating separate X libraries etc ports way back when was to support machines that were not to run an X server but still needed the libraries for X clients. (It is just ironic, that one ot the most frequently requested, cvsup, is now available in a version that does not depend on X) In other words, these "part X" ports were just a kludge, more useful for creating packages than anything else. - Yet, at some point the XFree86-4 port was converted to depending on such slave ports in all cases, with a reasoning that I did not fully agree with even at the time. IIRC there was talk of reducing duplication within the makefile infrastructure. However, at the expense of reducing duplication in the Makefiles, huge duplications were created during the build process. (Obviously, yet another change that was only tested on Ghz machines with several dozens og Gigs of disk space) So I propose that while leaving the "slave" ports alone, the "do a full X build" port should be reinstated instead of the meta-port that we have now. This would solve the problems indicated above, since eg X client ports could continue to depend on the X-libraries port, but if I say that I want a full X then it would give it to me without jumping through hoops. At least, IMHO. -- Regards: Szilveszter ADAM Szombathely Hungary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message