Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 11:11:18 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: gettext vs gettext-devel
Message-ID:  <3C8F17B6.5D045BD8@FreeBSD.org>
References:  <no.id> <200203121613.g2CGDZT84534@vega.vega.com> <a6m9f7$1q0p$1@kemoauc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Christian Weisgerber wrote:
> 
> Maxim Sobolev <sobomax@FreeBSD.ORG> wrote:
> 
> > > Now that I have installed both ports, I see that gettext-devel only
> > > installs a set of *-new commands and no library at all.  This
> > > suggests that programs that truly require a new libintl (i.e.
> > > ngettext() ) aren't supported at all.  Am I missing something?
> >
> > Yes, they don't, but AFAIK there is no such packages in the tree at all.
> 
> devel/bison requires ngettext().  The current port pretends to
> depend on devel/gettext, but the configure script notices the absence
> of ngettext() and switches to the included libintl, which runs into
> some further problems.
> 
> In fact I'm trying to fix the bison port now (PR #35653), but I'm not
> sure how to deal with lib/charset.alias:
> * The new libintl against which bison is statically linked requires
>   charset.alias.
> * A file such as charset.alias should probably not be part of bison
>   but of a more central port.
> * Its contents are wrong.  This can be fixed, but again bison doesn't
>   look like the right place to solve this.
> 
> BTW, a quick grep over the ports tree shows that several other ports
> install a file lib/charset.alias:
> 
> comms/ghfaxviewer
> games/dopewars
> games/heroes
> lang/mdk
> mail/courier
> mail/sqwebmail
> mail/sylpheed
> mail/sylpheed-claws
> 
> Some of these may also be falling back to an included new libintl.

One true charset.alias is a part of converters/libiconv.

> > [description of compatibility problems with gettext 0.10.40]
> > This is true, but do you really understand the size of the problem?
> 
> Well, do you have a list of ports that break with gettext-0.10.40?
> I do notice that GNOME is available for Linux distributions that
> have gettext >0.10.35.  Everybody else is moving or already has
> moved to a newer gettext, so I expect many message catalogs are
> being or already have been fixed upstream.
> 
> > However, if you would submit a patch that will convert all of
> > gnome-fifth-toe to gettext-0.10.40, I'll be glad to commit it.
> 
> If we can agree to do this piecemeal, I'm quite willing.
> 
> I don't see how we can avoid upgrading gettext.

Yes, I agree, but it should be performed carefully without breaking
too much eggs. Ideally we should do a fresh 4-exp build with
devel/gettext upgraded to the latest version in order to identify
which ports need to be fixed.

-Maxim

-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?3C8F17B6.5D045BD8>