From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 11:08:12 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5088D10656C3; Mon, 8 Nov 2010 11:08:12 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 33FC88FC08; Mon, 8 Nov 2010 11:08:10 +0000 (UTC) Received: by wyb34 with SMTP id 34so3278960wyb.13 for ; Mon, 08 Nov 2010 03:08:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=YIa6OtQeVlnAVrNbVPIRxVOfNow5nXVtm+Glhs4coAI=; b=IH6YVD914supv+cUwzj3djr+IuoLjW0iSmZmHl/Ker0D1Fth6YDu6rKEtxqEA7nOTi Hjr+9zxNT8wlHOLaDRh2tRd+AOvytCgMk7ktFl3yI5/aDuoQ0E9SUCgdclCnnkLUfD8Y yxkDmCWznVksuKlDGpfI552GfiJ1cYOlJJbiA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=pwYhLDCTUSVGLrlcqyQGtRHwFQ6iLTEv5yRnm/ncxbS7Uz/NihWUf5Pg1oIY0n2A1S BNCIyMviUA2XQmUK10oVhyFZpLCAN/7ARi3lwUKbnFw3DugDiMhFAUbYQlZB6XciZuj4 1eB3J01tVITMsrZYswF4rca4v8pBkFVMjscwo= MIME-Version: 1.0 Received: by 10.216.46.200 with SMTP id r50mr4139832web.45.1289214489054; Mon, 08 Nov 2010 03:08:09 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.198.27 with HTTP; Mon, 8 Nov 2010 03:08:08 -0800 (PST) In-Reply-To: References: <4CD4602C.2080804@FreeBSD.org> <20101108084958.000042be@unknown> Date: Mon, 8 Nov 2010 03:08:08 -0800 X-Google-Sender-Auth: AKv_OOsilHyOeHJ1KYM_2mpuAPI Message-ID: From: Garrett Cooper To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 Cc: Doug Barton , Eitan Adler , pav@freebsd.org, Mark Linimon , freebsd-sysinstall@freebsd.org Subject: Re: Proposed OPTIONS replacement X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 11:08:12 -0000 On Mon, Nov 8, 2010 at 2:18 AM, Baptiste Daroussin wrote: > Hi, > > the problem with libdialog, is that it doesn't have features we need > for the ports infrastructure. > > With libdialog it is not possible to mix radio button and "normal" > button and for the options framework we need the be able to get the > following feature imho: > > simple options: check box > exclusive options: radio button > exclusive options if a simple option is check (for example option X11 > allow to choose between the following options QT3 QT4 GTK etc) > group options: a user can check choose between 0-N options (check box) > if a other options is activated example a port can be build with 2 or > more gui toolkit at the same time: avidemux for example > group options with at least one options checked (1-N). > > As far as I've looked into libdialog it is nearly impossible to handle > in a simple (I may be wrong and missed some part of libdialog) > > Other choices will be : > 1/ create a ncurses tool dedicated for the ports as Eitan began to do > it (thanks for that :)) (this is my favorite choice) > 2/ there is libndialog which BSDL unfortunately 4 clause BSDL (may be > the author will accept to change it to a 3 or 2 clause BSDL), which is > very closed to libdialog and allow to write easily more complexe ui. > So that we could rewrite a dialog compatible tool extended with more > complexe UI dedicated to the ports (similat to Eitan work). > (http://www.pell.portland.or.us/~orc/Code/ndialog/dialog.html, > https://github.com/Orc/ndialog) the latest version from github > compiles fine on freebsd, the work to port sysinstall and sade to > libndialog is pretty easy, if this is direction we take, I can manage > porting all the tools that depend on libdialog in base to ndialog. There's also option 3, which is: a. Use the code posted up at http://invisible-island.net/dialog/ (GPLed like our copy in base, but whatev). b. Implement the missing features there. c. Contribute back to someone who's actively working on libdialog. I'm just of the opinion that there's little value in BSD licensed libdialog to be honest *shrugs*... Thanks! -Garrett