From owner-freebsd-ports@FreeBSD.ORG Tue Mar 19 11:03:02 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2E1C58CC; Tue, 19 Mar 2013 11:03:02 +0000 (UTC) (envelope-from itechbear@gmail.com) Received: from mail-da0-x236.google.com (mail-da0-x236.google.com [IPv6:2607:f8b0:400e:c00::236]) by mx1.freebsd.org (Postfix) with ESMTP id EE2D19E6; Tue, 19 Mar 2013 11:03:01 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id p1so247417dad.13 for ; Tue, 19 Mar 2013 04:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=BBpciMtk8wzIBGEivTZv3PWKb3dJyYUJvzEDOmDHTbw=; b=Oq5P1WOc25oVFViBui2z2mxtxnpCPwOzVbM5ddVNrPpu/oOEYSWpj+CYLCQNTFTL24 si8hNUzQqIQWBq9PQN4pAWXJkPp/6rWUXKfsbZJrybWR4YXO2kOO3bJYAaM2/X/qfXQV ZwhaAsHfeEV8QBs65knBRi0ceM5FWpJ2VWvJumDeS0Pc74nt50KrgmJHjiK3CyarVxf9 T4BaPv+tEdy2l3kxTeoZ3aHrrbGMjB8fQM9ziF/w5f+KDrpyogF8moaubnctjqftRJfE aAR/BudXXpG/9geXVkeAI6csRlXrJVv2nX+d4bPw3etP04OGohAWvnA1tuQHKfRpeg1O R2UQ== X-Received: by 10.68.213.167 with SMTP id nt7mr2239830pbc.194.1363690981746; Tue, 19 Mar 2013 04:03:01 -0700 (PDT) Received: from [192.168.14.100] ([1.202.225.132]) by mx.google.com with ESMTPS id qp13sm23910159pbb.3.2013.03.19.04.02.57 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Mar 2013 04:03:00 -0700 (PDT) Message-ID: <514845C9.5050409@gmail.com> Date: Tue, 19 Mar 2013 19:02:33 +0800 From: HU Dong User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: [HEADSUP] New make config UI References: <20130319094210.GE42160@ithaqua.etoilebsd.net> <20130319103104.GF42160@ithaqua.etoilebsd.net> <51483FD9.1030309@gmail.com> <20130319104133.GG42160@ithaqua.etoilebsd.net> <514842CF.8070003@gmail.com> <20130319105419.GH42160@ithaqua.etoilebsd.net> In-Reply-To: <20130319105419.GH42160@ithaqua.etoilebsd.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: David Demelier , ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 11:03:02 -0000 于 2013/3/19 18:54, Baptiste Daroussin 写道: > On Tue, Mar 19, 2013 at 06:49:51PM +0800, HU Dong wrote: >> 于 2013/3/19 18:41, Baptiste Daroussin 写道: >>> On Tue, Mar 19, 2013 at 06:37:13PM +0800, HU Dong wrote: >>>> 于 2013/3/19 18:31, Baptiste Daroussin 写道: >>>>> On Tue, Mar 19, 2013 at 11:20:43AM +0100, David Demelier wrote: >>>>>> 2013/3/19 Baptiste Daroussin >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> Since the work on the new options framework has been started more than 2 >>>>>>> years >>>>>>> ago, we faced a problem with the make config interface. >>>>>>> >>>>>>> dialog(1) is too limited to be able to represent in a simple UI all the >>>>>>> features >>>>>>> proposed by the new framework. >>>>>>> >>>>>>> The idea of writing a new UI was born at that time, eadler step in and >>>>>>> wrote a >>>>>>> first attempt called dialog4ports using ncurses, but never get into >>>>>>> completion. >>>>>>> >>>>>>> A few month ago Ilya A. Arkhipov decided to jump in that problem and >>>>>>> restart >>>>>>> from scratch a new version of dialog4ports, with the help of danfe, eadler >>>>>>> and >>>>>>> I. >>>>>>> >>>>>>> The new version is based on dialog(3), adding to it a new widget (which is >>>>>>> planned to be contributed upstream) and a new UI using that widget. >>>>>>> >>>>>>> After months of thinking/coding/testing we have been able to switch to >>>>>>> this new >>>>>>> UI and get rid of the old dialog(1) for make config. >>>>>>> >>>>>>> dialog4ports will live forever within the ports tree allowing to fastly >>>>>>> improve/fix it if needed and getting the exact same version on all the >>>>>>> plateforms. >>>>>>> >>>>>>> What it currently does: >>>>>>> - represtend all kind of options in a clean way including >>>>>>> RADIO/GROUP/MULTI/SINGLE >>>>>>> - provide a beta quality help dialog (via F1/^E) if a ports provide a >>>>>>> pkg-help >>>>>>> file >>>>>>> - Able to represent description instead of the KNOBS name in section >>>>>>> titles for >>>>>>> RADIO/GROUP/SINGLE/MULTI name >>>>>>> >>>>>>> Huge thanks to Ilya A. Arkhipov (M1cRO on irc :)) >>>>>>> >>>>>>> regards, >>>>>>> Bapt >>>>>>> >>>>>> Thanks a lot for that work to all contributors. I will try this evening and >>>>>> see how awesome it is :-). >>>>>> >>>>>> One questions I have: >>>>>> >>>>>> - Does the dialog4ports installation will be triggered in the pkg >>>>>> autoremove command since it's a leaf. >>>>>> >>>>>> Regards >>>>>> >>>>>> -- >>>>>> Demelier David >>>>>> _______________________________________________ >>>>>> freebsd-ports@freebsd.org mailing list >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >>>>>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >>>>> No because it is an explicit installation that is done. >>>>> >>>>> regards, >>>>> Bapt >>>> How to use it? >>>> >>>> I just updated my ports tree and installed it. But it seemed that the >>>> "make config" command didn't change. >>> No need to install it manually it will be automatically pulled in and the switch >>> is automated. >>> >>> to make sure it works go to the mail/postfix* and try make config if the output >>> is ugly then you are not using d4p (ports tree not uptodate enough :)) if it is >>> pretty then you are using it. >>> >>> both uses dialog(3) so the UI is pretty close, just better :) >>> >>> regards, >>> Bapt >> Thank you! It looks really nice. >> >> I accidently got a core dump file named dialog4ports.core when I tried >> "make config" and was pressing some keys for testing purpose in >> mail/postfix-current, but I don't know how to reproduce it. How should I >> deal with the core file? >> >> B.R. >> HU Dong > If it is not big, send it to me, if it is a large one host it somewhere so that > I can fetch. > > regards, > Bapt It's about 10.4MB. I've uploaded it to skydrive. Here's the download link: https://skydrive.live.com/?cid=08e99d95c50a27fa&id=8E99D95C50A27FA%214023&authkey=!ACg43TTIeHWwoew -- B.R. HU Dong