From owner-freebsd-ports@FreeBSD.ORG Thu Jun 24 16:43:42 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 D06BC106566C for ; Thu, 24 Jun 2010 16:43:42 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id D1A248FC0A for ; Thu, 24 Jun 2010 16:43:40 +0000 (UTC) Received: by bwz17 with SMTP id 17so694829bwz.13 for ; Thu, 24 Jun 2010 09:43:39 -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:cc:content-type :content-transfer-encoding; bh=eKNse9n2r8dO7WmHx1eTJ2T583aV8om+w5vq/EX/Hec=; b=f1W+DQ6/vfBfaslngpCXvib2BGB1431WBhQ/RLu5HZ8Gv6RkHn9vnl7/WZfGIcga0i dBC5b7uiAIhkmkPSfBLMy1MR1mLChy/1Vqc+I6xZrRyr0PgOmrsXvqCIxL+0SLLXRmIz sAUlBw7M4Hzgj4KsUQFOO+T8o6/8V2B9CtqpE= 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 :cc:content-type:content-transfer-encoding; b=drAw/6J/yUhZijO3v6g8ttqqnllEXT9brcqVgU57Pkkc9TiZt9l2vAMhrbfnlOtb8C GOYxW9MQ/mHS1Zko0DsWRArDixNUth0+YFqV8SqtS9q1ijkFwrKiBOLlNkBmbxEAGlCi q1t1ptc3BJ2wHtW0zkhnJLMQDWXbFAI5ea4vQ= MIME-Version: 1.0 Received: by 10.204.81.31 with SMTP id v31mr6653883bkk.141.1277397819557; Thu, 24 Jun 2010 09:43:39 -0700 (PDT) Received: by 10.204.68.142 with HTTP; Thu, 24 Jun 2010 09:43:39 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Jun 2010 18:43:39 +0200 Message-ID: From: David DEMELIER To: Freddie Cash Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports 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 16:43:43 -0000 2010/6/24 Freddie Cash : > 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-base= d >>>>> 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 "=3D=3D" line, I woul= d >> 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: > =C2=A0- put the logic to print the separators into the appropriate bsd.*.= mk file > =C2=A0- 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. =C2=A0And, tha= t > way, future tools can override the separator set in the mk file. > > Leave the pkg-message files as unformatted text. =C2=A0Put the formatting > into the mk file. > > Separate content from style. > Yes, that was I said, sorry if you did not understand well :-) --=20 Demelier David