[PATCH] setup -e, --separate-src-dirs option

Christian Franke Christian.Franke@t-online.de
Fri Dec 16 20:25:00 GMT 2011

Corinna Vinschen wrote:
> On Dec 15 14:13, Eric Blake wrote:
>> On 12/15/2011 01:59 PM, Christopher Faylor wrote:
>>> I think it's lame to have something like, e.g.,
>>> /usr/src/openssh-5.6p1-2/openssh-5.6p1-2
>>> /usr/src/binutils-2.22.51-1/binutils-2.22.51-1
>>> sitting in my /usr/src.  I find that nearly as objectionable as having
>>> files littered in /usr/src.
> I don't like /usr/src/binutils-2.22.51-1/binutils-2.22.51-1 either, but
> it's much less objectionable than having /usr/src littered with the
> content of package files.

Attached is a new patch which takes a different approach.
It handles both cases on the fly during installation.

/usr/src/binutils-2.22.51-1/* will be installed as before, but
/usr/src/blacklist.txt will be installed as 

This would break directory structure for packages which contain both, a 
PACKAGE-VERSION subdir and toplevel files. Such packages might exist or 
not. If yes, these should probably be fixed first.

Yes, I agree that this is a hack. But someone might agree that this is a 
useful hack :-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup-separate-src-dirs-3.patch
Type: text/x-patch
Size: 3190 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20111216/b01db12c/attachment.bin>

More information about the Cygwin-apps mailing list