Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 01:19:35 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-ports@freebsd.org
Subject:   Re: gettext vs gettext-devel
Message-ID:  <a6m9f7$1q0p$1@kemoauc.mips.inka.de>
References:  <no.id> <200203121613.g2CGDZT84534@vega.vega.com>

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

> [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.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de


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?a6m9f7$1q0p$1>