This is the mail archive of the
mailing list for the Cygwin project.
Re: avoiding a huge Cygwin patch
I want to add PDF and HTML user manuals (about 250 KB and 160 KB,
respectively) into the unison package. The manuals are available for
download at the upstream site, but they aren't included in the package
source archive. This creates two problems:
(1) It will cause the gbs to create an enormous patch file, containing
all of the PDF and HTML manuals in it.
(2) The PDF includes some binary data. I've never tried to use diff and
patch with binary data, but I'm guessing that it's asking for trouble.
So what's the best way to handle this? Is it acceptable to copy the
manuals in after creating the source patch, thereby excluding them from
Yes. You can add as many flags to the mkpatch() function as needed, e.g.
when you put the documents intopp a directory called 'additional-docs'.
Just make a note in the README where the documents are available, add
the license for the docs (if different as the source licenses).
Maybe the best way to handle this would be a separate package with the
manuals and, if available, with the documents source in a src package.