From owner-freebsd-ports@FreeBSD.ORG Thu Jun 24 15:54:58 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D77621065678 for ; Thu, 24 Jun 2010 15:54:58 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 824BD8FC14 for ; Thu, 24 Jun 2010 15:54:58 +0000 (UTC) Received: by iwn3 with SMTP id 3so1759333iwn.13 for ; Thu, 24 Jun 2010 08:54:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=FgAtDb4FZdNR+YmYLAAU/Po5SordNB8Y7pRnEXpWBhE=; b=p57+riZ/CEZGN70l0K30Dmy0dHyqYMcfjLsW0/Fzw9gmJ54OFLedFiFl1dDkY9NI1O r3QRr7ld+8Ya2901g99/iMbodxlgl8p2a2C2G+yPibzzw8CURIzNDOJwzBHZ4uWKSiOR /suBXy7HSztefuRbJK0yoiJlkZtGsYs+RwbaA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=CI4KERolo+YGn+SkC59AyV9rgIlCHCgwd9tWKpWLzyUzzibpAPSAeyCcQlIeXBNQKI FdNuMgHUexSKd+BaZ03ecIn9L1H/s2yzgTFFVn1wo+sic7Z0XCa6APcUuw/EQPFVRBzC kRWxLVv50c60tO7n6ZjvOXnywJu0OTK2K8hdM= MIME-Version: 1.0 Received: by 10.231.190.132 with SMTP id di4mr10518908ibb.41.1277394897192; Thu, 24 Jun 2010 08:54:57 -0700 (PDT) Received: by 10.231.12.67 with HTTP; Thu, 24 Jun 2010 08:54:57 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Jun 2010 08:54:57 -0700 Message-ID: From: Freddie Cash To: freebsd-ports Content-Type: text/plain; charset=UTF-8 Subject: Re: New pkg-message[.in] guideline idea X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 15:54:59 -0000 On Thu, Jun 24, 2010 at 12:04 AM, David DEMELIER wrote: > 2010/6/24 Janne Snabb : >> On Wed, 23 Jun 2010, David DEMELIER wrote: >> >>> 2010/6/23 Janne Snabb : >>>> >>>> I find it completely useless and plainly stupid to edit the >>>> pkg-messages of all ports to include lots of equal signs for tty-based >>>> formatting purposes. >>> >>> We can take a long time to do that (we don't have to do it quickly), >>> but it could be useful to standardize it for one reason : >>> You will see that it's a message from the port maintainer/submitter >>> and not from the program itself! Sometimes configure scripts stage say >>> some useless things to the user. >> >> You obviously did not get my point. >> >> I fully agree with you that displaying a line of equals signs on >> tty based interfaces to make the messages stand out from other crap >> when installing ports makes sense, but I STRONGLY oppose to the >> idea of putting this visual formatting in the actual message files. >> It is just not the right place to put it in. >> > I see, so maybe in the future you would like some tools that can print > the message, like a GTK+ dialog, QT dialog, or an other tool, if it's > your point I agree. I don't specially want a equal "==" line, I would > just something consistent, why not : nothing ? Yes we can just print > the text without any visual characters, and the [future] tool will > print the message as it want. No, what he's saying is: - put the logic to print the separators into the appropriate bsd.*.mk file - remove all separators from all pkg-message* files That way, you can update the separators at any time by editing a single file, instead of editing 20,000+ pkg-message files. And, that way, future tools can override the separator set in the mk file. Leave the pkg-message files as unformatted text. Put the formatting into the mk file. Separate content from style. -- Freddie Cash fjwcash@gmail.com