From owner-freebsd-current@FreeBSD.ORG Thu Jan 6 14:17:42 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 B1905106564A for ; Thu, 6 Jan 2011 14:17:42 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 77F628FC0C for ; Thu, 6 Jan 2011 14:17:42 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id CE0D15811D; Thu, 6 Jan 2011 08:17:41 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id 68LvTdQ94KyL; Thu, 6 Jan 2011 08:17:41 -0600 (CST) Received: from comporellon.tachypleus.net (unknown [76.210.75.5]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 4E6AB5811B; Thu, 6 Jan 2011 08:17:41 -0600 (CST) Message-ID: <4D25CF04.5020605@freebsd.org> Date: Thu, 06 Jan 2011 08:17:40 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101214 Thunderbird/3.1.7 MIME-Version: 1.0 To: Erik Trulsson References: <4D25136A.4070107@freebsd.org> <20110106110927.GA75316@owl.midgard.homeip.net> In-Reply-To: <20110106110927.GA75316@owl.midgard.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Request for testing/comments -- import of new dialog/libdialog 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: Thu, 06 Jan 2011 14:17:42 -0000 On 01/06/11 05:09, Erik Trulsson wrote: > On Wed, Jan 05, 2011 at 06:57:14PM -0600, Nathan Whitehorn wrote: >> As part of work on a new installer, I would like to update the base >> system dialog and libdialog to the newer one provided by Thomas Dickey >> (http://invisible-island.net/dialog/, ports as devel/cdialog). This is a >> much nicer, fuller featured version of dialog that simplifies the >> creation of new dialog-using tools (a longstanding impediment to a new >> versions of sade, sysinstall, etc.), and is under a marginally better >> license (LGPL2 instead of GPL2). >> >> Patches to effect the import can be found at: >> - http://people.freebsd.org/~nwhitehorn/libdialog-update.diff >> >> What the patches do: >> - Replaces dialog(1) with a new version. All command-line options of the >> old dialog except --fstree are accepted by the new dialog, and the ports >> options framework continues to work without modification. >> - Renames libdialog to libodialog (old dialog). The new dialog library >> has a much more pleasant API than the old one -- which directly implies >> that it has a substantially different API. Until sysinstall, sade, and >> tzsetup are replaced or rewritten, we need to keep the old library around. >> - Modifies sysinstall, sade, and tzsetup to link to libodialog instead >> of libdialog. >> - Deletes all man pages and examples associated with libodialog. This is >> deprecated code. >> - Installs new dialog library as libdialog >> - Bumps __FreeBSD_version to 900030 > Are there any ports which link to the old version of libdialog, and if > so, what will happen to them? I could not find any, but the search was not amazingly thorough. The libdialog we had was entirely peculiar to FreeBSD, basically only for the use of sysinstall. Most external dialog-using things use dialog(1), which is compatible, and those that don't require the newer version I propose to import. > Why not keep the old version as libdialog and instead use a new name > for the new library (libndialog or whatever) ? > (I am not saying you should do this - it is a real question. Since I plan to immediately replace dialog(1), and libodialog is immediately deprecated, renaming the old library seemed to simplify things substantially. Having libdialog under its standard name reducing the need for patching it, patching dependent ports, and confusion. -Nathan