On Tue, 11 Nov 2025 00:26:06 +0100, Bruno Haible via Gnulib discussion list <[email protected]> wrote:
>Hi Andrew, all, > >It is interesting news to hear that the Gnulib module 'argp' is used >as a standalone library for Cygwin [1], and that a separate package >with the same purpose exists [2] for other platforms (musl, *BSD, Haiku) [3]. > >I would suggest to create this library, let's call it 'libargp' >for the moment, as an installable package (distributed via ftp.gnu.org), >that reuses the code from Gnulib and the documentation from glibc. > >Like GNU libiconv and GNU libintl, that replicate part of the glibc >functionality for other platforms and thus make the API portable, >it would make <argp.h> usable by packages, without use of gnulib-tool >and without bundling the source code. > >The technique for doing such cannibalizations of part of Gnulib >is well established (see the implementation of libintl in GNU gettext, >and GNU libunistring as well). > >Andrew, would you volunteer to co-develop / co-maintain this library? Hi. Sure, I think that's a good idea and I'm willing to co-maintain it. I should say that although I maintain a bunch of packages for Cygwin, I'm only a sometime developer. I'm only skin-deep on the argp code, and I don't know much about autotools - I couldn't have come up with the solution you just committed, for example. But sure, I'm willing. I can take a look at the help bug. Andrew
