From owner-freebsd-ports@FreeBSD.ORG Tue Mar 19 10:54:24 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 D89E069E for ; Tue, 19 Mar 2013 10:54:24 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-ea0-x22c.google.com (mail-ea0-x22c.google.com [IPv6:2a00:1450:4013:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 37CE3953 for ; Tue, 19 Mar 2013 10:54:24 +0000 (UTC) Received: by mail-ea0-f172.google.com with SMTP id d10so160391eaj.3 for ; Tue, 19 Mar 2013 03:54:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=pARrlVfKRvYLYxUOMRgXXiXHV1/NXhp+EAaRpJyR5Os=; b=n6xSSLcTO/7MiSCJVi9v98wNvRwKr97hsHCA77u/MKslMyE3wdTzPCmKIIs4QSLXh1 QwVtwgrtNRvx6J6ojDjm/cfb+bOYt4ELTc9uIgei1cXys6GQNtY88sYhqjZczxvMtlNC ugEC3l+d5bT8JjJiIQCT0jEoiU3S1ekON/SaE2Huw62u0bvxn496N4C2XmfiOPGhoLmr Fft6cgfhaJspiygSSOi3A4YR4PWpLYpOc1OKDb7ut4mNPQtVwm7Y4+jqRIu3wsx4ndF7 qGjLYUrQpP62NkWm/60RRwQFQiah0VpS/yGQ9vUQ/iqtGOG8K2US0jI+hUWKm7080vlR Uj7Q== X-Received: by 10.14.3.70 with SMTP id 46mr59554304eeg.2.1363690463215; Tue, 19 Mar 2013 03:54:23 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id m46sm32336444eeo.16.2013.03.19.03.54.21 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 19 Mar 2013 03:54:22 -0700 (PDT) Sender: Baptiste Daroussin Date: Tue, 19 Mar 2013 11:54:19 +0100 From: Baptiste Daroussin To: HU Dong Subject: Re: [HEADSUP] New make config UI Message-ID: <20130319105419.GH42160@ithaqua.etoilebsd.net> References: <20130319094210.GE42160@ithaqua.etoilebsd.net> <20130319103104.GF42160@ithaqua.etoilebsd.net> <51483FD9.1030309@gmail.com> <20130319104133.GG42160@ithaqua.etoilebsd.net> <514842CF.8070003@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0XhtP95kHFp3KGBe" Content-Disposition: inline In-Reply-To: <514842CF.8070003@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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 10:54:24 -0000 --0XhtP95kHFp3KGBe Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 19, 2013 at 06:49:51PM +0800, HU Dong wrote: > =E4=BA=8E 2013/3/19 18:41, Baptiste Daroussin =E5=86=99=E9=81=93: > > On Tue, Mar 19, 2013 at 06:37:13PM +0800, HU Dong wrote: > >> =E4=BA=8E 2013/3/19 18:31, Baptiste Daroussin =E5=86=99=E9=81=93: > >>> 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 t= han 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 (w= hich 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 fa= stly > >>>>> 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 even= ing 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 > >>>> > >>>> --=20 > >>>> 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 t= he switch > > is automated. > > > > to make sure it works go to the mail/postfix* and try make config if th= e 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. >=20 > I accidently got a core dump file named dialog4ports.core when I tried=20 > "make config" and was pressing some keys for testing purpose in=20 > mail/postfix-current, but I don't know how to reproduce it. How should I= =20 > deal with the core file? >=20 > 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 --0XhtP95kHFp3KGBe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlFIQ9sACgkQ8kTtMUmk6EyjXwCgm5YyfBUg4lZHPiqta0ijISnI 1MwAniJGqzVxecWoOnOo3bZptD2ertyw =jZ6E -----END PGP SIGNATURE----- --0XhtP95kHFp3KGBe--