From owner-freebsd-ports Wed Sep 26 8:35:38 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id 444FF37B428; Wed, 26 Sep 2001 08:35:31 -0700 (PDT) Received: from vega.vega.com (h132.227.dialup.iptcom.net [212.9.227.132]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id SAA28690; Wed, 26 Sep 2001 18:35:24 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id f8QFYqA09961; Wed, 26 Sep 2001 18:34:52 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3BB1F5FF.7D0026F0@FreeBSD.org> Date: Wed, 26 Sep 2001 18:36:31 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: SASAKI Katuhiro Cc: gnome@FreeBSD.org, ports@FreeBSD.org Subject: Re: utf8 menu patch for x11/gnomelibs References: <3baddc12.6416%sahiro@crest.ocn.ne.jp> 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 SASAKI Katuhiro wrote: > Hi. > > How is adding a patch which is called "utf8menu" patch to > x11/gnomelibs? > > Still now, gnome-libs has problems in i18n implementation. One > of them is a problem with handling of menu itmes which are > written in UTF-8 encoding. > This problem often appears when one who uses GNOME with KDE2 > chooses "KDE menus" from "Main Menu" under non-English > environment. Menu itmes which are displyed will not make > sense. It would discourage people who uses GNOME on FreeBSD. > To make away with this problem, some Linux distributor(e.g Red > Hat) applies a patch which is called "utf8menu" patch. The > patch enables to convert UTF-8 strings which appear in a > GnomeDesktopEntry to strings encoded in character-set which is > specified by LOCALE. So, displaying menu items which are written > in UTF-8 will be fine now. > I slightly changed the original patch to use locale_charset() > which is implemented by libiconv(converters/libiconv) when > nl_langinfo() is not available. The reason why I did so is that > the original patch realizes convrsion using iconv()(which is > implemented by libiconv, too.) and nl_langinfo(), and > nl_langinfo() is not yet supported in 4-STABLE. > > Please let me show cahged version "utf8menu" patch. This > contains patch to configure.in and acconfig.h, so processing by > autoheader and autoconf is needed. Thank you for submission. I have not tested the patch yet (don't have a time right now), but will try to do it by the end of the week. Please stay tumed! ;) -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message