From owner-freebsd-current@FreeBSD.ORG Fri Dec 2 02:42:22 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D854B106564A for ; Fri, 2 Dec 2011 02:42:22 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 744DB8FC08 for ; Fri, 2 Dec 2011 02:42:21 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.4/8.14.4) with ESMTP id pB22fCKQ095529; Thu, 1 Dec 2011 20:41:13 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.4/8.14.4/Submit) id pB22fCNH095528; Thu, 1 Dec 2011 20:41:12 -0600 (CST) (envelope-from brooks) Date: Thu, 1 Dec 2011 20:41:12 -0600 From: Brooks Davis To: obrien@freebsd.org, Max Khon , freebsd-current Message-ID: <20111202024112.GC95365@lor.one-eyed-alien.net> References: <20111202015537.GB4111@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BQPnanjtCNWHyqYD" Content-Disposition: inline In-Reply-To: <20111202015537.GB4111@dragon.NUXI.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Re: removing libreadline from base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 02 Dec 2011 02:42:22 -0000 --BQPnanjtCNWHyqYD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 01, 2011 at 05:55:37PM -0800, David O'Brien wrote: > On Tue, Nov 29, 2011 at 12:02:23PM +0700, Max Khon wrote: > > It is possible to build and link our in-tree gdb & friends with libedit > > after r228114. > > The remaining question is what to do with libreadline: > > 1) just build & link gdb with libedit > > OR > > 2) re-import libreadline from gdb sources and build INTERNALLIB version= of > > it that is never installed and is linked only to gdb >=20 > Max, > What is the value in doing either? >=20 > libreadline isn't infecting any non-GPL code turning into GPLv2. >=20 > Some of use have fancy .input files, and quite frankly the vi mode of > libedit still doesn't work quite the same as libreadline. >=20 > If you go with (2) above, we'll still have *tons* of ports that want a > libreadline, so we'll just end up growing a port of it and we'll wind up > with a libreadline on the system anyway. We are rapidly approaching the point where it will be practical to remove all GPL code from the base system (assuming we are willing to require external toolchains for some architectures) and a number of us are pushing to make this a reality for 10.0. If we have people willing to do the work now--as Max seems to be--then we might as well deal with the ports fallout from the removal of libreadline sooner rather than later. The existence of incompatibilities between libedit and libreadline probably does argue for option (2). -- Brooks --BQPnanjtCNWHyqYD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFO2DrIXY6L6fI4GtQRAtDEAKCuIh8SrQjTo+B6ONcniD+GTl5uugCguAaz pEvTJk240GcouZazejec2AE= =dPQu -----END PGP SIGNATURE----- --BQPnanjtCNWHyqYD--