Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 11:29:03 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Ade Lovett <ade@FreeBSD.org>
Cc:        Pete Fritchman <petef@databits.net>, "Andrey A. Chernov" <ache@nagual.pp.ru>, Konstantin Chuguev <Konstantin.Chuguev@dante.org.uk>, freebsd-ports@FreeBSD.org, i18n@FreeBSD.org, gnome@FreeBSD.org, knu@FreeBSD.org
Subject:   iconv conversion: the plan [Was: iconv port: plea for take-over]
Message-ID:  <3C721ADF.7968582D@FreeBSD.org>
References:  <B8948360.6C3F%ade@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Folks,

I would like to get a general agreement on the following iconv
conversion plan worked out based on the recent thread and private
conversation with ache. I'm proposing to do the conversion in the
following order:

1. All `g'-hacks are removed from the GNU libiconv port and similar
`b'-hacks added into the BSD iconv port. All ports that use BSD iconv
are switched to the GNU libiconv. In addition `#define LIBICONV_PLUG'
is added into GNU iconv.h, which makes ABI the same in the resulting
libiconv.{a,so} and libbiconv.{a,so}. Also it is proposed to tweak GNU
libiconv's Makefile to create during post-install a
libgiconv.{a,so}-->libiconv.{a,so} symlinks and giconv.h header, which
would include <iconv.h> and produce a warning a la malloc.h. This
would allow us to avoid breaking all things at once and do a gradual
removal of the `g' hacks from the various ports in the tree.

The appropriate HEADS-UP sent to the freebsd-ports with the plea to
all maintainers to remove `g'-hacks from their ports.

2. Once `g'-hacks are removed from the majority of the ports in the
tree compatibility symlinks are also removed from the GNU libiconv
port. Remainning unconverted ports are identified and fixed.

3. GNU libiconv is switched to use dynamic loading after a throughout
testing (GNOME et al).


Does this sound reasonably? If yes, then we need a volunteer to do the
step (1) above. Ade told that he currently works on libiconv, perhaps
he will take this task as well to avoid the need to merge someone
else's work. Ade?

-Maxim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-i18n" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C721ADF.7968582D>