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

Damyan Ivanov dmn at debian.org
Thu Dec 11 21:34:21 UTC 2008


-=| Ansgar Burchardt, Thu, Dec 11, 2008 at 09:43:29PM +0100 |=-
> Package: liblocale-maketext-lexicon-perl
> Version: 0.75-1
> Severity: wishlist
> 
> 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.

dead-end *sigh*

Coincidentaly, I also need the nice xgettext.pl TT support. I use the 
following shell function to override the gettext's xgettext:

xgettext() {
    perl -w -e 'use Locale::Maketext::Extract::Run qw(xgettext); xgettext(@ARGV);' -- "$@"
}

I agree this is not very ideal.

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

-- 
dam            JabberID: dam at jabber.minus273.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20081211/424fdde0/attachment.pgp 


More information about the pkg-perl-maintainers mailing list