From owner-freebsd-ports@FreeBSD.ORG Wed Mar 20 08:05:50 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 993477D4; Wed, 20 Mar 2013 08:05:50 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by mx1.freebsd.org (Postfix) with ESMTP id E220F295; Wed, 20 Mar 2013 08:05:49 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hi8so4899038wib.1 for ; Wed, 20 Mar 2013 01:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=bpNdnP6HKVCyt1/6phfzfkhk7+DAs+Eo8mOqD7e2tEE=; b=bMZ+IIrfXYjxI0D0H0nWW41AVtz6iXTuWadedB6Jj7uyb/gAHLKYjAfkRSz7yJwHfS NC6sJJ3Bv8FyoxgU6n0heAKLYNVx3fsnbfAsp30Q2wjNW2X1Q35dl3IH0951X01goWST p0c/0OtuXckKFJVpcAPSxlvKXmkzpv62ZbU4mxHFXwxxarOHYS0BVyaijPHzZXKhSlhJ MiXDzowkCgcyagt+RetSZdOBezIq+tHDbtzIqyaj6VO9FGOsXubMdljCrSa4uV9tfiCQ mNtVx6a0Q333VsiD321G3/8VezuTgg6Vj5mut2XGnzWNvZi5wC7+m80cB0JtZc8/g6Zs muRg== MIME-Version: 1.0 X-Received: by 10.180.92.97 with SMTP id cl1mr1903963wib.19.1363766748146; Wed, 20 Mar 2013 01:05:48 -0700 (PDT) Received: by 10.194.60.147 with HTTP; Wed, 20 Mar 2013 01:05:47 -0700 (PDT) In-Reply-To: <20130320070957.GK67352@ithaqua.etoilebsd.net> References: <20130314095529.GH53963@ithaqua.etoilebsd.net> <51492152.2010709@FreeBSD.org> <20130320070957.GK67352@ithaqua.etoilebsd.net> Date: Wed, 20 Mar 2013 09:05:47 +0100 Message-ID: Subject: Re: [CFT] New dialog for ports From: David Demelier To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 Cc: ports@freebsd.org, Steve Wills 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: Wed, 20 Mar 2013 08:05:50 -0000 2013/3/20 Baptiste Daroussin : > 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