From owner-freebsd-ports Tue Sep 19 0:45:33 2000 Delivered-To: freebsd-ports@freebsd.org Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by hub.freebsd.org (Postfix) with ESMTP id BA28C37B63A; Tue, 19 Sep 2000 00:45:29 -0700 (PDT) Received: from silvia.hip.berkeley.edu (sji-ca1-01.ix.netcom.com [209.109.232.1]) by smtp6.mindspring.com (8.9.3/8.8.5) with ESMTP id DAA29054; Tue, 19 Sep 2000 03:45:27 -0400 (EDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.11.0/8.11.0) id e8J7jPl41448; Tue, 19 Sep 2000 00:45:25 -0700 (PDT) (envelope-from asami) To: Maxim Sobolev Cc: ports@FreeBSD.org Subject: Re: Extending BSD.[local,x11].dist to include GNU gettext locale dirs References: <39C65823.42396A80@FreeBSD.org> From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) Date: 19 Sep 2000 00:45:21 -0700 In-Reply-To: Maxim Sobolev's message of "Mon, 18 Sep 2000 21:00:03 +0300" Message-ID: Lines: 29 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * From: Maxim Sobolev * We have a large number (~200) of ports that use GNU gettext, which implies that * they are sharing some common directories. Currently this behaviour is * unhandled, so maintainer of each particular port is free to deal with it * whatever he likes. The better solution of course is to add those dirs into our * mtree files, so the wheel will not have to be reinvented each time. The only * problem, though, is a lack of complete list of those dirs, which means that * potentially each softwar author can name his favorite locale whatever he likes, * however most of them are smart enough to choose common 2-letter names * optionally followed by encoding name. Following patch was prepared by greeping * all PLISTs, so it should be fairly complete. I would like to know what do * people think about it. * + locale * + af * + LC_MESSAGES Thanks for doing all the work, but I have one question: what's the difference between "nls" and "locale" dirs? We already have a whole bunch of subdirectories under "nls" already, can't those be used? Also, are these "locale" directories only used by gettext (and gettext-using ports)? If so, maybe we should implement something to let gettext supply an additional mtree file (I can work out a bsd.port.mk patch for this) so they don't have to be on everyone's system. Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message