Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <006101c16cd9$8c0e8770$0200a8c0@lifelesswks> From: "Robert Collins" To: "Charles Wilson" , "Corinna Vinschen" References: <3BE4D4A7 .2070900 AT ece DOT gatech DOT edu> <20011104104732 DOT X17306 AT cygbert DOT vinschen DOT de> <1004867892 DOT 5388 DOT 54 DOT camel AT lifelesswks> <3BE702C3 DOT 5010008 AT ece DOT gatech DOT edu> <1004999653 DOT 4685 DOT 20 DOT camel AT lifelesswks> <3BE71DF4 DOT 20802 AT ece DOT gatech DOT edu> <3BEFAA8F DOT 4020900 AT ece DOT gatech DOT edu> <3BF17502 DOT 6020902 AT ece DOT gatech DOT edu> Subject: Re: patches to vendor source trees - discussion Date: Wed, 14 Nov 2001 17:56:54 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 14 Nov 2001 07:02:36.0455 (UTC) FILETIME=[57307B70:01C16CDA] Not yet sorry Chuck, for some reason malloc () is segfaulting in ntdll.dll and I'm trying to figure that out as a priority. Rob ----- Original Message ----- From: "Charles Wilson" To: "Corinna Vinschen" Sent: Wednesday, November 14, 2001 6:31 AM Subject: Re: patches to vendor source trees - discussion > Has anybody had a chance to take a look at this stuff yet? Comments? > > Possibly reactions; > 1) I like style 1 -- let's make this the new src packaging standard > 1a) [1], but with modifications > 2) I like style 2 -- let's make this the new src packaging standard > 2a) [2], but with modifications > 3) what the **** are you doing? What's wrong with what we've got? > 4) Yeah, we need to change something, but both of these examples suck > 5) [obligatory] why don't we use rpm? dpkg? > 6) other > > --Chuck > > Charles Wilson wrote: > > > Okay, I put my money where my mouth is. See > > > > http://www.neuro.gatech.edu/users/cwilson/cygutils/packaging/ > > > > I've implemented two slightly different src packaging schemes: the one > > I've been advocating, and a slightly modified version of the scheme > > Robert likes. > > > > ------------------------------------------------------ > > STYLE 1 (Chuck): > > -src archive contains an inner "pristine" tarball in cygwin/SOURCES/ > > along with a patch in the same directory. Since setup will > > automagically unpack -src archives into /usr/src, that means we have > > "/usr/src/cygwin/SOURCES/". Also, the -src archive contains a build > > script in cygwin/SPECS/. > > > > So, -src contains 3 files, total. > > > > ------------------------------------------------------ > > STYLE 2 (Robert): > > > > Since Corinna suggested that any scheme uses the RPM-ish directories, > > I've adapted Robert's debian-like scheme to fit that structure > > (basically, just put the src tarball and the patch in cygwin/SOURCES, > > but the README instructs to unpack, patch, and build under cygwin/BUILD > > rather than *right there* like debian does). > > > > When you unpack the inner (pristine) archive and apply the patch, you > > get a "rules" file (shell script, not makefile, in this example) in > > CYGWIN-PATCHES. I'm pretending that /CYGWIN-PATCHES/ is like > > debian's /debian/. > > > > -src contains 2 files, total. > > ------------------------------------------------------- > > > > These differences don't sound like much, but when you get down to it, > > it's actually pretty profound. Since we don't (yet) have an outside > > tool to handle unpacking the inner archive and applying the patch, > > Robert's scheme is unwieldy IMO. This leads to lots of little > > differences in how you rebuild the -src archive, naming (and dir > > structure) of the "pristine" inner archive, etc. > > > > Until we actually HAVE a dpkg tool (or unless we change setup.exe to do > > more than just unpack into /usr/src) I like style 1 better. > > > > Anyway, go to the URL, download, check it out. I'm going to bed. > > > > --Chuck > > > > >