Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 18:36:31 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        SASAKI Katuhiro <sahiro@crest.ocn.ne.jp>
Cc:        gnome@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: utf8 menu patch for x11/gnomelibs
Message-ID:  <3BB1F5FF.7D0026F0@FreeBSD.org>
References:  <3baddc12.6416%sahiro@crest.ocn.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BB1F5FF.7D0026F0>