New catgets/gencat package

Igor Pechtchanski
Thu Jun 2 17:16:00 GMT 2005

On Thu, 2 Jun 2005, Bryan Henderson wrote:

> I have a designed-for-Linux program that doesn't run on Cygwin because
> it wants to use the X/Open Catgets message catalog functions from the
> GNU C library.  Searching the Cygwin mailing list, I see others have
> had the same problem.
> So I extracted the Catgets function (along with a bunch of utilities
> it uses) from Glibc into a package of its own that works on Cygwin.
> It consists of a libcatgets library, its nl_types.h header file, and
> the gencat program.
> Would this be a good thing to distribute as a Cygwin package?
> setup.hint:
> sdesc: "catgets message catalog API; gencat"

Is the package name also "catgets"?  Though in this particular case,
"catgets: catgets message catalog API; gencat" doesn't look too weird.

> ldesc: "catgets library functions (catopen, catclose, catgets) for
> accessing message catalogs, and gencat program for generating message
> catalogs.  From GNU C library; used by many programs written for Linux"
> category: Devel Text Libs
> requires: cygwin

I would call this package "libcatgets".  Were you inclined to do it
"right", you'd probably want to split this into "libcatgets" that contains
just the runtime DLL, and "libcatgets-devel" that contains the necessary
headers, the static libs (if any), and the gencat utility.  However, the
package is probably so small as to not justify such a split.

OTOH, since Linux has it as part of the standard C library, why not simply
submit a patch to newlib that implements those functions?  Use the newlib
list for this: <newlib at sources dot redhat dot com>.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

More information about the Cygwin-apps mailing list