Date: Tue, 19 Mar 2013 11:41:34 +0100 From: Baptiste Daroussin <bapt@freebsd.org> To: HU Dong <itechbear@gmail.com> Cc: David Demelier <demelier.david@gmail.com>, ports@freebsd.org Subject: Re: [HEADSUP] New make config UI Message-ID: <20130319104133.GG42160@ithaqua.etoilebsd.net> In-Reply-To: <51483FD9.1030309@gmail.com> References: <20130319094210.GE42160@ithaqua.etoilebsd.net> <CAO%2BPfDepQbreU4mmjhMtpDpzmHiDMj6H80EddLgbRSanJWhJhw@mail.gmail.com> <20130319103104.GF42160@ithaqua.etoilebsd.net> <51483FD9.1030309@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--S5HS5MvDw4DmbRmb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 <bapt@freebsd.org> > >> > >>> Hi all, > >>> > >>> Since the work on the new options framework has been started more tha= n 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 t= he > >>> 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, e= adler > >>> and > >>> I. > >>> > >>> The new version is based on dialog(3), adding to it a new widget (whi= ch 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 fast= ly > >>> 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 evenin= g 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.or= g" > > No because it is an explicit installation that is done. > > > > regards, > > Bapt > How to use it? >=20 > I just updated my ports tree and installed it. But it seemed that the=20 > "make config" command didn't change. No need to install it manually it will be automatically pulled in and the s= witch is automated. to make sure it works go to the mail/postfix* and try make config if the ou= tput is ugly then you are not using d4p (ports tree not uptodate enough :)) if i= t is pretty then you are using it. both uses dialog(3) so the UI is pretty close, just better :) regards, Bapt --S5HS5MvDw4DmbRmb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlFIQN0ACgkQ8kTtMUmk6EyGxgCgkvZJB9k3NGTTieHbF+pIJzH0 +AkAn3zcj6MgP5dngvtPosemF5+l8xls =ybJg -----END PGP SIGNATURE----- --S5HS5MvDw4DmbRmb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130319104133.GG42160>