From owner-freebsd-current@FreeBSD.ORG Thu May 29 09:19:52 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 71303C62; Thu, 29 May 2014 09:19:52 +0000 (UTC) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloud.theravensnest.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CB6621DC; Thu, 29 May 2014 09:19:51 +0000 (UTC) Received: from [192.168.0.96] (cpc14-cmbg15-2-0-cust307.5-4.cable.virginm.net [82.26.1.52]) (authenticated bits=0) by theravensnest.org (8.14.7/8.14.7) with ESMTP id s4T9Jlfa014207 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 29 May 2014 09:19:49 GMT (envelope-from theraven@FreeBSD.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: official pkg repo with WITHOUT_X11=true From: David Chisnall In-Reply-To: <800bc8e04e4cfed10632cca993cce8fa@shatow.net> Date: Thu, 29 May 2014 10:19:41 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <43B971CB-4810-458D-BC5D-3DC2DC764E39@FreeBSD.org> References: <20F90EAB-ADC5-468C-9AFD-73F93794C4B2@FreeBSD.org> <800bc8e04e4cfed10632cca993cce8fa@shatow.net> To: Bryan Drewery X-Mailer: Apple Mail (2.1874) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2014 09:19:52 -0000 On 29 May 2014, at 02:23, Bryan Drewery wrote: > As for skipping unneeded ports the best I can do is '-a' or "Build it = all". > If a port is only needed for WITH_X11 then an IGNORE should be added = to it > when WITHOUT_X11 is set to prevent wasting time on it. We can probably do a bit better by looking at the complete dependency = graph and removing any ports that have unconditional dependencies on X. = For a headless server, there's no reason to build any of the kde-* or = gnome-* ports or, indeed, X itself. I suspect that we could easily trim = 2/3 of the build time by omitting ports that have a GUI, GUI toolkits, = and so on. =20 Longer term, we may be able to share the build time a bit. Ports which = don't have a WITHOUT_X11 flag and don't unconditionally depend on X11 = can potentially be pre-seeded from the normal package build (if we can = identify them). That only leaves the ports that actually have = build-time conditional X support to build in the no-Xorg run. David