I downloaded cd2nroff directly from curl's github repository and modified cygport to generate the manpage.
https://cygwin.com/cgit/cygwin-packages/playground/commit/?id=a53f0225e268869893537bd7d636461f6f7eef7d On Sun, Jan 12, 2025 at 1:36 AM Brian Inglis via Cygwin-apps <cygwin-apps@cygwin.com> wrote: > > On 2025-01-11 06:50, Marco Atzeri via Cygwin-apps wrote: > > On 11/01/2025 09:48, Daisuke Fujimura via Cygwin-apps wrote: > >> Hello, > >> > >> [ITP] A new package proposal: trurl > >> > >> - trurl > >> > >> ==== > >> > >> SUMMARY: Command line tool for URL parsing and manipulation > >> HOMEPAGE: https://github.com/curl/trurl > >> SRC_URI: https://github.com/curl/trurl/archive/refs/tags/trurl-0.16.tar.gz > >> LICENSE: curl > >> > >> ==== > >> > >> Corresponding Linux/Unix packages are searched: > >> - https://repology.org/project/trurl/versions > >> > >> Cygportfile: > >> - > >> https://cygwin.com/cgit/cygwin-packages/playground/tree/?h=refs/heads/trurl > >> > >> Packages, logs: > >> - https://github.com/cygwin/scallywag/actions/runs/12722690221 > > > > what about a man page ? > > help2man could be used if nothing is available upstream > > I had looked at including this package/script as part of the curl package, as > I > did with the wcurl package/script, but it looked a bit too alpha/beta at the > time, and utility seemed questionable. > > The `trurl` `mkrelease` shell script uses a curl package Perl script > `cd2nroff` > (not in trurl package) to make their `trurl.1` manpage from their `trurl.md` > source. > > If you download the Cygwin curl source package (~9MB), and have the Cygwin > lesspipe package installed, you can extract the script using for example: > > `$ less > /usr/src/curl/curl-8.11.1-1.x86_64/dist/curl/curl-8.11.1-1-src.tar.xz:curl-8.11.1-1.src/curl-8.11.1.tar.xz:curl-8.11.1/scripts/cd2nroff > \ > > .../scripts/cd2nroff && chmod a+rx .../scripts/cd2nroff` > > or the equivalent pipe commands if not! ;^> > > I asked the developers to consider including the `cd2nroff` script as part of > the trurl package to assist packagers. > > -- > Take care. Thanks, Brian Inglis Calgary, Alberta, Canada > > La perfection est atteinte Perfection is achieved > non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add > mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut > -- Antoine de Saint-Exupéry