Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <001901c1c364$75c1b6e0$d1228d09@wdg.uk.ibm.com> From: "Max Bowsher" To: Subject: Re: setup.exe (cinstall) bugfixes + minor new feature Date: Mon, 4 Mar 2002 10:07:52 -0000 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="----=_NextPart_000_0014_01C1C364.726A0060"; micalg=SHA1; protocol="application/x-pkcs7-signature" 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: 04 Mar 2002 10:07:58.0286 (UTC) FILETIME=[75C1B6E0:01C1C364] ------=_NextPart_000_0014_01C1C364.726A0060 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I did notice that setup-20020225.exe does not have the shortcut creation bug - do you have some fixes which haven't made it to CVS yet? Re Feature Addition - is the objection that you don't want to set a precedent for lots of placeholder files in /etc/setup ? This I can understand, but I don't see what 'it will only remember turning them off' means - what else should it remember? Max. ----- Original Message ----- From: "Robert Collins" To: "Max Bowsher" ; Sent: Sunday, March 03, 2002 9:15 PM Subject: RE: setup.exe (cinstall) bugfixes + minor new feature > > > Thanks Max. > > > -----Original Message----- > > From: Max Bowsher [mailto:maxb AT ukf DOT net] > > Sent: Monday, March 04, 2002 4:54 AM > > To: cygwin AT cygwin DOT com > > Subject: setup.exe (cinstall) bugfixes + minor new feature > > > > > > I've been working with the setup code, and have discovered > > some bugs in the current (just updated) CVS version. > > > > I'm posting a patch here for comments, whilst I join > > cygwin-patches, and study the Contributing instructions. > > > > The patch does the following: > > > > BugFix: io_stream::mkpath_p(isadir, path) misuse > > mkpath_p is supposed to take a path with either a file:// or > > a cygfile:// prefix, but it is fed a path with no prefix in > > some places. The patch adds a file:// prefix where needed. > > This was causing some directories not to be created, > > including the Cygwin directory in the start menu. > > I know about these - they are fixed in setup200202 - when that goes live > I'll be backporting some key bugs. > > > BugFix: add backslash call to make_link, in desktop.cc > > This was causing the start menu shortcut to be called > > 'Programs/Cygwin/Cygwin Bash Shell' instead of being in the > > correct directory structure > > Does this affect setup200202? I haven't checked yet. I'm trying to > encpasulate the path specific knowledge - so whilst this solution works, > I'd rather refactor make_link to leverage io_stream, and make this a > method or variant of the file:// io_stream. Also '/' separated paths are > valid to pass to the WIN32 API, so I'm curious why this is suddenly > become a problem. (Quite a lot of setup expects '/' separated paths, and > I see no reason to change that at this point. > > > Feature Addition: Use files > > /etc/setup/inhibit-{startmenu,desktop}-icon to remeber user > > de-selection of the create icon checkboxes on the last page of setup. > > This approach is too simple - it will only remember turning them off. > The settings should go in /etc/setup/setup.conf as something like > "desktop_icon = yes|no". > > Thanks for the patch though, I look forward to an update. > > Cheers, > Rob > > > ------=_NextPart_000_0014_01C1C364.726A0060 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIijCCAr8w ggIooAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwSjELMAkGA1UEBhMCVUsxHjAcBgNVBAMTFU1heCBC b3dzaGVyIChSb290IENBKTEbMBkGCSqGSIb3DQEJARYMbWF4YkB1a2YubmV0MB4XDTAyMDIxMzEz MjA0MloXDTAzMDIxMzEzMjA0MlowSjELMAkGA1UEBhMCVUsxHjAcBgNVBAMTFU1heCBCb3dzaGVy IChSb290IENBKTEbMBkGCSqGSIb3DQEJARYMbWF4YkB1a2YubmV0MIGfMA0GCSqGSIb3DQEBAQUA A4GNADCBiQKBgQCvJQJS//LZa4lT4ZRe3SKcfco5BE5vmQdp70grCuEFOJl5/Kkhb6p0PZXkkgA3 thAFZqB/KOAOF6hwodazx+es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