From owner-freebsd-ports Tue May 29 6:27:34 2001 Delivered-To: freebsd-ports@freebsd.org Received: from alpha.dante.org.uk (alpha.dante.org.uk [193.63.211.19]) by hub.freebsd.org (Postfix) with ESMTP id 8A95837B424; Tue, 29 May 2001 06:27:27 -0700 (PDT) (envelope-from konstantin.chuguev@dante.org.uk) Received: from theta.dante.org.uk ([193.63.211.7] helo=dante.org.uk) by alpha.dante.org.uk with esmtp (Exim 3.12 #4) id 154jWs-0006vl-00; Tue, 29 May 2001 14:27:22 +0100 Message-ID: <3B13A3BA.E8506681@dante.org.uk> Date: Tue, 29 May 2001 14:27:22 +0100 From: Konstantin Chuguev Organization: Delivery of Advanced Network Technology to Europe Ltd. X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: ru, en MIME-Version: 1.0 To: Maxim Sobolev Cc: ports@FreeBSD.org, demon@FreeBSD.org, gnome@FreeBSD.org Subject: Re: devel/gettext upgrade [patch] References: <200105291031.f4TAVLt05758@vega.vega.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit 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 Maxim Sobolev wrote: > Hi folks, > > Since I did not receive any response from demon regarding my > comments on his patch I've picked up the ball and did the work > by myself. Attached please find resulting patch, please review > it and let me know what do you think. Following are major changes > compared to demon's version: > > - GNU iconv library used instead of BSD iconv. Unfortunately > due to some strange reason gettext doesn't work with BSD > iconv. For example when I'm defining LANG env. variable to > ru_RU.KOI8-R I see `____' instead of Russian messages in > all localised programs linked against libintl. This problem > disappears when GNU iconv is used instead. I hope Konstantin > will look into this problem and provide a fix before his > BSD iconv will be imported into base system; > I'd like to see some details. In the current implementation, '_' is used for characters non-existent in a destination charset. Conversion is completely locale-independent, i.e. always produces the same result for particular pair (src_charset, dst_charset), no matter what LANG and LC_* are set to. I believe this is something to do with gettext's use of iconv. Where can I get the new gettext to look at? > > - PLIST is now sorted properly; > > - charset.alias now being installed into libdata/ where it > belongs instead of lib/; > Here is another thing: iconv also uses (its own) charset.aliases. I wonder if it would be useful to merge them into one file... Regards, Konstantin. -- * * Konstantin Chuguev - Application Engineer * * Francis House, 112 Hills Road * Cambridge CB2 1PQ, United Kingdom D A N T E WWW: http://www.dante.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message