Date: Wed, 20 Mar 2013 09:05:47 +0100 From: David Demelier <demelier.david@gmail.com> To: Baptiste Daroussin <bapt@freebsd.org> Cc: ports@freebsd.org, Steve Wills <swills@freebsd.org> Subject: Re: [CFT] New dialog for ports Message-ID: <CAO%2BPfDf-aDoF236kkFh-MnMbJcai1%2BN3ewAffn4Evi3f%2B_%2BRGA@mail.gmail.com> In-Reply-To: <20130320070957.GK67352@ithaqua.etoilebsd.net> References: <20130314095529.GH53963@ithaqua.etoilebsd.net> <51492152.2010709@FreeBSD.org> <20130320070957.GK67352@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
2013/3/20 Baptiste Daroussin <bapt@freebsd.org>: > On Wed, Mar 20, 2013 at 02:39:14AM +0000, Steve Wills wrote: >> On 03/14/13 09:55, Baptiste Daroussin wrote: >> > Hi all, >> > >> > Ilya A. Arkhipov wrote dialog4ports which has just been added into the ports >> > tree ports-mgmt/dialog4ports, this is intended to be a replacement for dialog(1) >> > designed specifically for the options, in particular for optionsng. >> > >> > It uses libdialog (recent version) and extend it with a new widget able to deal >> > with both normal and radio options in the same window. >> > >> > dialog4ports will live forever in ports so that it can easily be updated and get >> > support for new features on all supported arches at the same time. >> > >> > It bundles libdialog on FreeBSD versions that doesn't have a recent libdialog in >> > base (read 8.x) >> > >> > dialog4ports also support a new feature: it has a help dialog to be able to >> > print a human readable help text if possible. >> > >> > Here is a patch to the ports tree that makes it use dialog4ports by default. >> > What it does is: >> > When make config is requested and dialog4ports is not installed yet the ports >> > tree will install dialog4ports first. >> > >> > New feature for maintainer, if a pkg-help file is found inside the port >> > directory then dialog will show to the user a help file is available et propose >> > him to hint F1 or ^E to show the said help file >> > >> > http://people.freebsd.org/~bapt/d4p.diff >> > >> > Please test! >> >> I didn't get a chance to test this before it was committed, but I'm >> currently running into this: >> >> >> % pwd >> /usr/local/tinderbox/portstrees/FreeBSD/ports/www/apache22 >> % sudo make config >> dialog4ports isn't installed, do you want to install it now? [Y/n] n >> env: /usr/local/bin/dialog4ports: No such file or directory >> ===> Options unchanged >> % >> >> And I'm prompted every time. Is this how it's supposed to work? >> >> Steve >> > > I wonder if it is worth to let the question to install dialog4ports. > > I mean dialog4ports being mandatory you should just be installed directly > doesn't it? > > anyone have an opinion about this? > > I will remove the question on 27/03 if I got more please do than please don't at > that time. > If the user does not want dialogs at all then it should write something like NO_DIALOG=yes in the /etc/make.conf., otherwise we assume that the user *wants* the dialog so the question is just no-sense for me (and for much people I guess). So please just remove it as it's a normal dependency of the port tree. > regards, > Bapt -- Demelier David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO%2BPfDf-aDoF236kkFh-MnMbJcai1%2BN3ewAffn4Evi3f%2B_%2BRGA>