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

Christian Franke Christian.Franke@t-online.de
Thu Dec 15 06:38:00 GMT 2011

Christopher Faylor wrote:
> On Wed, Dec 14, 2011 at 10:16:40PM +0100, Christian Franke wrote:
>> Many -src packages install files in /usr/src which have no
>> PACKAGE[-VERSION] prefix or substring in file name. This makes it
>> difficult to maintain or cleanup larger /usr/src directories.
>> The attached experimental patch for setup.exe adds option  -e,
>> --separate-src-dirs. If specified, each PACKAGE-VERSION-src.tar.bz2 is
>> installed below /usr/src/PACKAGE-VERSION instead.
> If this is really desirable behavior then shouldn't we ask package
> maintainers to fix their packages?  I don't see why setup.exe should
> have to know about this.

The patch is a pragmatic approach which works with all existing 
packages. It doesn't break anything existing. It would last long time 
until all src tarballs would be fixed.

It is actually difficult to guess the origin of some source files. For 

/usr/src/0.19-data-auto-imports.patch (from flexdll-0.26-1)
/usr/src/blacklist.txt (from ca-cerficates-*)
/usr/src/config-rpath.patch (from some gcc-* ?)


More information about the Cygwin-apps mailing list