From owner-freebsd-ports Sat Jul 20 16:23:50 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA47437B400; Sat, 20 Jul 2002 16:23:46 -0700 (PDT) Received: from crf-consulting.co.uk (pc-62-31-42-140-hy.blueyonder.co.uk [62.31.42.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4148B43E3B; Sat, 20 Jul 2002 16:23:40 -0700 (PDT) (envelope-from nik@crf-consulting.co.uk) Received: from clan.crf-consulting.co.uk (clan.nothing-going-on.org [192.168.1.20]) by crf-consulting.co.uk (8.12.3/8.12.3) with ESMTP id g6KNMpTk099532; Sun, 21 Jul 2002 00:22:51 +0100 (BST) (envelope-from nik@catkin) Received: from clan.nothing-going-on.org (localhost [127.0.0.1]) by clan.crf-consulting.co.uk (8.12.3/8.12.3) with ESMTP id g6KNMohB038999; Sun, 21 Jul 2002 00:22:50 +0100 (BST) (envelope-from nik@clan.nothing-going-on.org) Received: (from nik@localhost) by clan.nothing-going-on.org (8.12.3/8.12.3/Submit) id g6KNMo42038998; Sun, 21 Jul 2002 00:22:50 +0100 (BST) Date: Sun, 21 Jul 2002 00:22:50 +0100 From: Nik Clayton To: "Simon 'corecode' Schubert" , Nik Clayton , ports@FreeBSD.ORG Subject: Re: Proposed new 'options' target Message-ID: <20020720232250.GE37802@clan.nothing-going-on.org> References: <20020720162928.GD37802@clan.nothing-going-on.org> <20020720190909.458442de.corecode@corecode.ath.cx> <20020720175640.GI52296@squall.waterspout.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cpvLTH7QU4gwfq3S" Content-Disposition: inline In-Reply-To: <20020720175640.GI52296@squall.waterspout.com> User-Agent: Mutt/1.4i Organization: FreeBSD Project Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --cpvLTH7QU4gwfq3S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 20, 2002 at 12:56:40PM -0500, Will Andrews wrote: > Nik, I looked at your patch. I think (but would have to ask > gnome@) that WITH_GNOME check should go in bsd.gnomeng.mk. =20 Makes sense. All the sample WITH_* stuff is up in the air, and should be put in to whichever file makes more sense. > And > as Simon says, the interface should be flexible, allowing people > to choose from dialog, gui, or perhaps cli, what you implemented. No problem with that. However, can we least agree on a minimal set of features this must have, and the API that porters should use in order to take advantage of these? Introducing GUIs in to the mix is going to make things more complicated. For example, with the pure_ftpd example, the WITH_LANG stuff isn't a=20 simple binary option, it's a list of valid values, which are going to need to be enumerated in some fashion (along with information about which widget should be used to display them, any input checking constraints that apply, whether or not any options are mutually exclusive, and so=20 forth). That's a huge can of worms. We're essentially talking about a new configuration file for each port=20 that has options, that explains in some detail what those options are,=20 how they should be presented to the end user, and so on. I suggest that the history of the project shows that if we wait around for someone to solve all these problems we'll never get a solution that works. Better to spend some time implementing something with a small set of features that's going to be an improvement to our user base now. Any port that needs the more fancy option setting dialog stuff (as some of them already do) can always override the options: target as necessary. N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ (__) FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) \/ \= ^ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/= _) --cpvLTH7QU4gwfq3S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAj058MkACgkQk6gHZCw343VL0wCfVdotYf67ZyeTbnZjIdWnhma9 WrgAmwVgo/BX5zYubv32BOivT8xld5yW =/p78 -----END PGP SIGNATURE----- --cpvLTH7QU4gwfq3S-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message