This is the mail archive of the
mailing list for the Cygwin project.
Re: ITP: help2man-1.33.1-1
- From: "Gerrit P. Haase" <gerrit at familiehaase dot de>
- To: YSelkowitz at netscape dot net (Yaakov Selkowitz)
- Cc: cygwin-apps at cygwin dot com
- Date: Thu, 8 Jan 2004 15:03:08 +0100
- Subject: Re: ITP: help2man-1.33.1-1
- Organization: Esse keine toten Tiere
- References: <1D841B19.47E1DCC6.0CE3B6DD@netscape.net>
- Reply-to: "Gerrit P. Haase" <gerrit at familiehaase dot de>
> I would like to contribute GNU help2man to the Cygwin net distribution.
I vote pro help2man.
> Due to a problem in the code for the NLS component (hacklocaledir.c), I
> built this package WITHOUT NLS, through a configure flag. If anyone can
> figure out how to get NLS working (see my response to Gerrit Haase a few
> minutes ago) please post to the list.
The problem seems to be the Linux PRELOAD feature which is used to load
the po/*.gmo at buildtime from the build directory. I hacked the
hacklocaledir.c file so I could compile help2man with NLS option, but
I think the generated manpages and *.gmo are not valid.
The help2man feature `--locale=xyz' actually works though it is
configured with --enable-nls=no. The help2man localized manpages and
LC_MESSAGES/help2man.mo files are not installed though they are ready
compiled in the source tarball, maybe it is possible to modify the
Makefile.in to install them whether or not NLS at buildtime is enabled?
However, using NLS with help2man requires the perl Gettext::locale
module to be installed, so it is IMO no showstopper to leave the
NLS stuff alone for now.