From owner-freebsd-ports@FreeBSD.ORG Sat Dec 1 07:20:21 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 288237F5 for ; Sat, 1 Dec 2012 07:20:21 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp.insight.synacor.com [208.47.185.22]) by mx1.freebsd.org (Postfix) with ESMTP id CB4848FC08 for ; Sat, 1 Dec 2012 07:20:20 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.0 cv=Hvf06jvS c=1 sm=0 a=Dm9TOXL4taQ+Gy1KovpL+A==:17 a=-Qq6p921mcUA:10 a=jLN7EqiLvroA:10 a=9YQ-1ebCAAAA:8 a=Amq_-W6gWFYA:10 a=zWGVsrqIAAAA:8 a=VAMm1qzQAAAA:8 a=xtERp6CFAAAA:8 a=Dc8GuCoWPOVD4Wo3KnYA:9 a=dRwE02sqAs4A:10 a=iDq_lVCWZgkA:10 a=Dm9TOXL4taQ+Gy1KovpL+A==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Authentication-Results: smtp01.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Received-SPF: softfail (smtp01.insight.synacor.com: transitional domain insightbb.com does not designate 74.130.198.7 as permitted sender) Received: from [74.130.198.7] ([74.130.198.7:34095] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 2E/D0-29719-3BFA9B05; Sat, 01 Dec 2012 02:20:19 -0500 Date: Sat, 01 Dec 2012 02:20:19 -0500 Message-ID: <2E.D0.29719.3BFA9B05@smtp01.insight.synacor.com> From: "Thomas Mueller" To: freebsd-ports@freebsd.org Subject: Re: Discussion concerning: New dialog for ports Cc: "Ilya A. Arkhipov" 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: Sat, 01 Dec 2012 07:20:21 -0000 I sent this message but forgot to change a subject line from an old message, so intended recipients/readers may have missed it. Sorry for any confusion caused by my slip! > Hi Folks, > Few week ago I started work on new dialog for ports, main idea it's adding functionality, I guess you know ;) > I took checklist.c from libdialog and modified it for us. Regarding license, I discussed with Thomas E. Dickey(author dialog) he said I can't change LGPL to > +BSD but it should not be a problem. > What we have now: > - check + radio lists in on box (and yes we can put off radiobox) > - separate line with text > - dynamic width/height size > - all features from checklist.c :) > -- mouse support > -- hotkey for find a lines > My plan: > - add Help button/F1/alt-h/esc-1 (actually don't know how will be better) > - button for license > - fixing bugs >_< > - start work on parsing receiving data, after that should be ready for testing. > Regarding parsing data I want discuss here. Wanna correct understand what will be better, now I have few variants: > 1. Get all data from env. variables > 2. Use the same with old dialog style, I mean receive from STDIN > 3. From file? <- guess bad idea > Your ideas? > And certainly screeshots: > Big description(just for test); > In X -- http://imm.io/NkVR > In Terminal -- https://www.dropbox.com/s/bzt8zszpk40jrso/2012-11-29%2014.59.53.jpg > With license button: > in X -- http://imm.io/Nl9K > You can find my repo there: https://bitbucket.org/m1cro/d4p/. I'll be happy for all response ;) > With Best Regards, > Ilya A. Arkhipov I'd like a dialog, if there is to be a dialog rather than setting options in /etc/make.conf, that would not mess up when the user keeps a log of a build using tee or script. One possibility would be to do the dialog in a virtual terminal separate from the ports build. Configuration dialog has to work from nongraphical interface, since FreeBSD base system, where a user would start, has no graphical interface. I like the idea of putting port options in a file, as NetBSD pkgsrc does using /etc/mk.conf, or possibly /usr/pkg/etc/mk.conf when on a non-NetBSD platform. Tom