This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: New catgets/gencat package
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Bryan Henderson <bryanh at giraffe-data dot com>
- Cc: cygwin-apps at cygwin dot com
- Date: Thu, 2 Jun 2005 13:16:54 -0400 (EDT)
- Subject: Re: New catgets/gencat package
- References: <E1Ddsxm-0000e0-00@giraffe.giraffe-data.com>
- Reply-to: cygwin-apps at cygwin dot com
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>.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,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