Bug#508505: liblocale-maketext-lexicon-perl: please install xgettext.pl in /usr/bin

Gunnar Wolf gwolf at gwolf.org
Fri Dec 12 04:39:10 UTC 2008


gregor herrmann dijo [Thu, Dec 11, 2008 at 11:13:16PM +0100]:
> On Thu, 11 Dec 2008 23:34:21 +0200, Damyan Ivanov wrote:
> 
> > > It would be nice to install xgettext.pl (currently provided in
> > > examples/) in /usr/bin.  It's only a simple wrapper script, but it has
> > > several features the `xgettext' (from gettext) does not provide, e.g.
> > > support for Template Toolkit sources.
> > The problem with installing that in /usr/bin is that
> > (1) .pl extension is to be avoided, and if we obey that rule,
> > (2) the package would have to conflict with gettext, on which depend 
> > ~50 other packages.
> 
> Maybe we could use some dpkg-divert stuff?

Well, diverting a widely used binary against a completely unknown
binary that has no need to have that same name is a no-go as
well... But it could be shipped as /usr/bin/xgettext_tt or something
like that? It does not need to have the same name!

> > How about installing xgettext.pl as /usr/bin/xgettext-lexicon? That 
> > could work, provided someone writes a man page for it :)
> 
> That, too.
> 
> Are they both compatible?

Oh, already suggested :)

-- 
Gunnar Wolf - gwolf at gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF





More information about the pkg-perl-maintainers mailing list