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

Damyan Ivanov dmn at debian.org
Fri Dec 12 19:39:14 UTC 2008


-=| Ansgar Burchardt, Fri, Dec 12, 2008 at 07:04:05PM +0100 |=-
> Hi,
> 
> Damyan Ivanov <dmn at debian.org> writes:
> > -=| Ansgar Burchardt, Thu, Dec 11, 2008 at 09:43:29PM +0100 |=-
> >> 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.
> >
> > How about installing xgettext.pl as /usr/bin/xgettext-lexicon? That 
> > could work, provided someone writes a man page for it :)
> 
> Why not just keep the name "xgettext.pl" in this case?  It is less
> confusing than a completely different name.  Also other documentation
> (e.g. Catalyst::Plugin::I18N::Manual) refers to "xgettext.pl".

We have a precedent -- thread starts at 
http://lists.debian.org/debian-perl/2007/11/msg00035.html.

At the end the script was renamed

The relevant text from Policy §10.4 is

  When scripts are installed into a directory in the system PATH, the 
  script name should not include an extension such as .sh or .pl that 
  denotes the scripting language currently used to implement it.

So I think that an alternate xgettext implementation should use 
alternate name, without extension.

xgettext-ng? :)

> xgettext.pl already provides documentation, all that is needed is a
> pod2man run :-)

I missed that, thanks for pointing it out.

-- 
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/20081212/aa46defe/attachment.pgp 


More information about the pkg-perl-maintainers mailing list