-=| 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: d...@jabber.minus273.org

Attachment: signature.asc
Description: Digital signature

Reply via email to