[csw-pkgsubmissions] newpkgs help2man

Dagobert Michelsen dam at opencsw.org
Mon Jan 3 14:37:28 CET 2011


Hi Phil,

updated packages (now no longer arch=all) have been provided:

* help2man: patchlevel upgrade
  - from: 1.38.2,REV=2010.05.26
  -   to: 1.38.4,REV=2011.01.03
  + help2man-1.38.4,REV=2011.01.03-SunOS5.9-sparc-CSW.pkg.gz
  + help2man-1.38.4,REV=2011.01.03-SunOS5.9-i386-CSW.pkg.gz

Am 01.01.2011 um 03:22 schrieb Philip Brown:
> There is a "bug" in the documentation.
> 
> help2man.info has,
> 
>     LD_PRELOAD="/usr/lib/help2man/bindtextdomain.so" \
>       LOCALEDIR=tmp \
>       TEXTDOMAIN=PROG \
>       help2man -L fr_FR at euro -i PROG.fr.h2m -o PROG.fr.1 PROG
>     rm -rf tmp
> 
>     will cause PROG to load the message catalog from `tmp' rather than
>    `/usr/share/locale'.
> 
> I'm *presuming* that the prog itself has already been fixed to not
> default to /usr/share/locale :) But it would be a bad idea to have the
> documentation tell our users that it loads locale information from
> /usr/share/locale.

NLS was not configured for the version I submitted, so it wouldn't have
worked anyway as the .so was not built. But after some poking in the build
I have now added the lib and fixed the example.

> Unless of course.. it DOES actually do that...
> (which it might do, given the problems I've observed with our gettext
> shared libs and local dirs)
> 
> please confirm where it gets the locale information, and update the
> info page if it isnt /usr/share/locale

The new package checks both locations (although I don't know if that is
a feature from Locale::gettext or gettext itself):

85:     stat("/usr/lib/locale/fr_FR at euro/fr_FR at euro.so.2", 0xFFBFEB48) Err#2 ENOENT
85:     open64("/opt/csw/share/locale/locale.alias", O_RDONLY) = 3
85:     open64("/opt/csw/share/locale/fr_FR at euro/LC_MESSAGES/help2man.mo", O_RDONLY) Err#2 ENOENT
85:     open64("/opt/csw/share/locale/fr at euro/LC_MESSAGES/help2man.mo", O_RDONLY) Err#2 ENOENT
85:     open64("/opt/csw/share/locale/fr_FR/LC_MESSAGES/help2man.mo", O_RDONLY) Err#2 ENOENT
85:     open64("/opt/csw/share/locale/fr/LC_MESSAGES/help2man.mo", O_RDONLY) Err#2 ENOENT


Best regards

  -- Dago




More information about the pkgsubmissions mailing list