[ITP] font-bitstream-vera-ttf 1.10]

2008-11-14 Thread Jon TURNEY
The Bitstream Vera TTF font family has gone AWOL in the upgrade to X.Org R7.4 (it was previously contained in the xorg-x11-fscl package) The font is available for download at http://www.gnome.org/fonts/ 'The fonts have a generous copyright, allowing derivative works (as long as Bitstream or

Re: [ITP] font-bitstream-vera-ttf 1.10]

2008-11-14 Thread Jon TURNEY
Yaakov (Cygwin Ports) wrote: Jon TURNEY wrote: The Bitstream Vera TTF font family has gone AWOL in the upgrade to X.Org R7.4 (it was previously contained in the xorg-x11-fscl package) Which makes me wonder if there are other such cases... I've tried to audit for anything else missing

[ITA] cygwin-x-doc

2009-05-14 Thread Jon TURNEY
I guess I am the de-facto maintainer of this package, as I have been updating the same content which is published on the x.cygwin.com website. Given that I've gone to the trouble of updating the content, I suppose I should produce an updated package, just in case anyone actually installs it

Re: [RFU 1.7] {emacs,emacs-X11,emacs-el}-23.0.92-10

2009-06-17 Thread Jon TURNEY
Ken Brown wrote: Since no one objected to my proposal for promoting emacs-23 to current (http://cygwin.com/ml/cygwin-apps/2009-06/msg00090.html), I've prepared new emacs packages for cygwin 1.7. I've bumped the package version to -10, following Chuck's model for distinguishing 1.7 packages

Re: [ITP] OpenSceneGraph-2.8.1-1

2009-06-17 Thread Jon TURNEY
Alberto Luaces wrote: I really like X, but the issue here is the acceleration. Not having acceleration will make the Cygwin port a second class citizen, with the following consequences: Since this has come up, I should perhaps offer up a hostage to fortune and mention that I am working on

xterm setup.hint adjustment

2009-06-30 Thread Jon TURNEY
Following [1] and other previous difficulties, I've added 'font-misc-misc font-adobe-dpi75 font-alias' to the 'requires:' for xterm This should be the minimal set of additions that xterm now starts up free of warnings [1] http://cygwin.com/ml/cygwin-xfree/2009-06/msg00067.html

Re: Start menu shortcuts

2009-09-02 Thread Jon TURNEY
On 19/08/2009 01:05, Ken Brown wrote: On 8/18/2009 10:46 AM, Ken Brown wrote: Is there a policy about which packages are allowed to create start menu shortcuts? Recent discussion about run.exe on the main cygwin list makes me think it would be useful for the emacs-X11 package to create a

More setup.hint font adjustments

2009-09-30 Thread Jon TURNEY
I've adjusted the setup.hint for a few packages to more accurately reflect the fonts they require, notes on which I've been collecting at [1] xedit: remove dependency on dpi100 versions of several font packages xman: change to depend on dpi75 not dpi100 versions of font-adobe and font-bh gvim:

Re: Start menu shortcuts

2009-10-11 Thread Jon TURNEY
On 02/09/2009 20:59, Charles Wilson wrote: Jon TURNEY wrote: I'm not sure what to do about X-start-menu-icons. I think Yaakov has some ideas about how to approach this, but I don't know what they are. Anyhow, this is something I am willing to spend a bit of time on, if there was some vague

[PATCH] inform user if any postinstall script failed to run

2010-07-23 Thread Jon TURNEY
Here's a small patch for setup.exe which causes setup to indicate if a postinstall script didn't run successfully. This should help avoid the situation where the postinstall scripts fail to run and the user has a broken installation, but they don't notice until they try to run something

Re: [PATCH] inform user if any postinstall script failed to run

2010-07-28 Thread Jon TURNEY
On 23/07/2010 19:49, Christopher Faylor wrote: On Fri, Jul 23, 2010 at 06:45:47PM +0100, Jon TURNEY wrote: Here's a small patch for setup.exe which causes setup to indicate if a postinstall script didn't run successfully. This should help avoid the situation where the postinstall scripts fail

Re: [PATCH] inform user if any postinstall script failed to run

2010-07-29 Thread Jon TURNEY
On 28/07/2010 15:58, Christopher Faylor wrote: On Wed, Jul 28, 2010 at 03:25:17PM +0100, Jon TURNEY wrote: Anyhow, here's another attempt, which unfortunately changes rather more than I wanted to. It adds a new page, which is displayed if any script failed, and reports which packages

Re: [PATCH] inform user if any postinstall script failed to run

2010-07-30 Thread Jon TURNEY
On 30/07/2010 15:37, Christopher Faylor wrote: On Thu, Jul 29, 2010 at 05:28:02PM +0100, Jon TURNEY wrote: On 28/07/2010 15:58, Christopher Faylor wrote: On Wed, Jul 28, 2010 at 03:25:17PM +0100, Jon TURNEY wrote: Anyhow, here's another attempt, which unfortunately changes rather more than I

Re: Setup.exe update confusion

2010-08-07 Thread Jon TURNEY
On 06/08/2010 19:51, Andy Koppe wrote: On 6 August 2010 19:38, Marco Moreno wrote: Note that the tooltip still shows Partial instead of Pending when mousing over the View button. I had changed that actually, but it looks like Jon accidentally reverted it in the 2010-07-29 checkin. I'll

Re: [PATCH] inform user if any postinstall script failed to run

2010-08-12 Thread Jon TURNEY
On 12/08/2010 06:44, Andy Koppe wrote: On 23 July 2010 18:45, Jon TURNEY wrote: Here's a small patch for setup.exe which causes setup to indicate if a postinstall script didn't run successfully. This should help avoid the situation where the postinstall scripts fail to run and the user has

Re: [PATCH] inform user if any postinstall script failed to run

2010-08-27 Thread Jon TURNEY
On 29/07/2010 17:28, Jon TURNEY wrote: On 28/07/2010 15:58, Christopher Faylor wrote: On Wed, Jul 28, 2010 at 03:25:17PM +0100, Jon TURNEY wrote: Anyhow, here's another attempt, which unfortunately changes rather more than I wanted to. It adds a new page, which is displayed if any script

[PATCH] Don't set sticky bit on /var/log

2010-08-27 Thread Jon TURNEY
For the purposes of discussion, attached is a patch which changes the mode which setup gives /var/log from 1777 to 0777. See this thread [1] for why I think I want to do this. I haven't thought at all about the security implications of this change at all. I have observed that /var/log has

Re: [PATCH] inform user if any postinstall script failed to run

2010-08-28 Thread Jon TURNEY
On 27/08/2010 19:33, Christopher Faylor wrote: On Fri, Aug 27, 2010 at 06:15:38PM +0100, Jon TURNEY wrote: On 29/07/2010 17:28, Jon TURNEY wrote: On 28/07/2010 15:58, Christopher Faylor wrote: On Wed, Jul 28, 2010 at 03:25:17PM +0100, Jon TURNEY wrote: Anyhow, here's another attempt, which

Re: [PATCH] inform user if any postinstall script failed to run

2010-08-29 Thread Jon TURNEY
On 28/08/2010 17:40, Christopher Faylor wrote: On Sat, Aug 28, 2010 at 01:30:54PM +0100, Jon TURNEY wrote: On 27/08/2010 19:33, Christopher Faylor wrote: On Fri, Aug 27, 2010 at 06:15:38PM +0100, Jon TURNEY wrote: On 29/07/2010 17:28, Jon TURNEY wrote: On 28/07/2010 15:58, Christopher Faylor

Re: [PATCH] inform user if any postinstall script failed to run

2010-09-07 Thread Jon TURNEY
On 07/09/2010 10:45, Yaakov (Cygwin/X) wrote: On Fri, 2010-08-27 at 18:15 +0100, Jon TURNEY wrote: + // Remove anything which we just tried to run (so we don't try twice) + for (i = packages.begin (); i != packages.end (); ++i) +{ + packagemeta pkg = **i; + for (std

Re: [PATCH] inform user if any postinstall script failed to run

2010-09-07 Thread Jon TURNEY
On 07/09/2010 17:57, Yaakov (Cygwin/X) wrote: On Tue, 2010-09-07 at 15:01 +0100, Jon TURNEY wrote: On 07/09/2010 10:45, Yaakov (Cygwin/X) wrote: This code does not compile with i686-pc-mingw32 gcc-4.5.1: postinstall.cc: In function ‘std::string do_postinstall_thread(HINSTANCE__*, HWND__

Re: Up for new maintainer - base-files and base-passwd

2010-09-14 Thread Jon TURNEY
On 14/09/2010 10:30, Corinna Vinschen wrote: On Sep 14 11:07, David Sastre wrote: On Tue, Sep 14, 2010 at 10:54:05AM +0200, Corinna Vinschen wrote: On Sep 13 10:33, John Morrison wrote: It is with regrets that I give up the maintainership of the cygwin base-files and base-passwd packages.

Re: Up for new maintainer - base-files and base-passwd

2010-09-14 Thread Jon TURNEY
On 14/09/2010 12:36, Jon TURNEY wrote: On 14/09/2010 10:30, Corinna Vinschen wrote: On Sep 14 11:07, David Sastre wrote: On Tue, Sep 14, 2010 at 10:54:05AM +0200, Corinna Vinschen wrote: On Sep 13 10:33, John Morrison wrote: It is with regrets that I give up the maintainership of the cygwin

[PATCH] Don't silently ignore corrupt bz2 files

2010-11-04 Thread Jon TURNEY
attached. From a905bdbc2d61d375927c98f65e68b69f220fcffb Mon Sep 17 00:00:00 2001 From: Jon TURNEY jon.tur...@dronecode.org.uk Date: Thu, 4 Nov 2010 18:34:13 + Subject: [PATCH] Don't silently ignore corrupt bz2 files (This should only be a problem when either signatures are ignored, or the setup.bz2

[PATCH 0/3] setup.exe patches

2010-11-06 Thread Jon TURNEY
Fix a couple of issues which caused me some frustration when trying to install packages from cygwinports Jon TURNEY (3): Compare package versions, not setup.ini timestamps Remove now-unused member variables for storage of timestamp of the setup the package version came from Add the last

[PATCH 1/3] Compare package versions, not setup.ini timestamps

2010-11-06 Thread Jon TURNEY
of comparing the setup.ini timestamps, compare the package version numbers to determine which package is most recent. This shouldn't change the current behaviour in the simple case where only one mirror is selected (provided no packages have negative version numbers). 2010-11-06 Jon TURNEY jon.tur

[PATCH 2/3] Remove now-unused member variables for storage of timestamp of the setup the package version came from

2010-11-06 Thread Jon TURNEY
2010-11-06 Jon TURNEY jon.tur...@dronecode.org.uk * package_meta.h (packagemeta): Remove unused member variables for storing timestamp of the setup.ini that package version came from. * package_meta.cc (packagemeta): Ditto. --- package_meta.cc |8

[PATCH 3/3] Add the last element of URL path to site chooser, if interesting.

2010-11-06 Thread Jon TURNEY
than the first '/' after a '.', to handle sitenames which aren't FQDNs correctly) 2010-11-06 Jon TURNEY jon.tur...@dronecode.org.uk * site.cc (init): If interesting, Show the last element of URL, as well as the protocol and sitename in the site chooser --- site.cc | 27

Re: [PATCH 1/3] Compare package versions, not setup.ini timestamps

2010-11-07 Thread Jon TURNEY
On 06/11/2010 17:52, Christopher Faylor wrote: On Sat, Nov 06, 2010 at 05:05:13PM +, Jon TURNEY wrote: Currently, when two mirrors offer different versions of a package for a stability level, the one from the setup.ini with the latest timestamp is chosen. This works adequately when

Re: [PATCH 3/3] Add the last element of URL path to site chooser, if interesting.

2010-11-07 Thread Jon TURNEY
On 06/11/2010 18:00, Christopher Faylor wrote: On Sat, Nov 06, 2010 at 05:05:15PM +, Jon TURNEY wrote: Currently, if, for example, I manually add the site http://mirrors.kernel.org/sources.redhat.com/cygwinports/ to setup's mirror list, I get two indistinguishable entries named http

[PATCH 3/5] Improve reporting of progress whilst parsing .ini file

2010-11-09 Thread Jon TURNEY
Don't leave a status line still showing the download statistics when we are parsing the .ini file (which can take a couple of seconds), update all the status text There are sill some places where setup goes into deep think with no user feedback, but they are harder to fix. 2010-11-07 Jon TURNEY

[PATCH 2/5] Fix a misplaced PlaceDialog()

2010-11-09 Thread Jon TURNEY
The window doesn't get resized correctly if we go back from package chooser page in install from local directory mode Noticed by reading the code and confirmed by testing. 2010-11-07 Jon TURNEY jon.tur...@dronecode.org.uk * choose.cc (OnBack): Move PlaceDialog(false) so window

[PATCH 4/5] Set icon used by alt-tab task switcher for setup

2010-11-09 Thread Jon TURNEY
After alt-tabbing away, setup doesn't have a recognizable icon when looking for it to alt-tab back. Set the big icon. 2010-11-05 Jon TURNEY jon.tur...@dronecode.org.uk * propsheet.cc (PropSheetProc): Set the big icon for the propsheet window --- propsheet.cc |5 + 1

[PATCH 5/5] Canonicalize manually added mirror URLs to ensure they end with a '/'

2010-11-09 Thread Jon TURNEY
. 2010-11-07 Jon TURNEY jon.tur...@dronecode.org.uk * site.cc (OnMessageCmd): Canonicalize manually added mirror URLS to ensure they end with '/' --- site.cc |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/site.cc b/site.cc index a7b378e..1a65ec9 100644

[PATCH 1/5] Make text refering to IE5 a bit more general

2010-11-09 Thread Jon TURNEY
IE5 was EOLed with Windows 2000 on 13-Jul-2010 Presumably this functionality still works in later versions :-) 2010-11-06 Jon jon.tur...@dronecode.org.uk * res.rc (IDD_NET): Make text referring to IE5 more general --- res.rc |4 ++-- 1 files changed, 2 insertions(+), 2

Re: [PATCH 3/3] Add the last element of URL path to site chooser, if interesting.

2010-11-09 Thread Jon TURNEY
On 08/11/2010 05:54, Christopher Faylor wrote: On Sun, Nov 07, 2010 at 03:54:50PM +, Jon TURNEY wrote: On 06/11/2010 18:00, Christopher Faylor wrote: This is great, please check in. I suspect that you're just trying a local mirror or something but if there are actually sites in the mirror

[PATCH 0/5] Various small patches for setup.exe

2010-11-09 Thread Jon TURNEY
Hopefully uncontroversial patches to fix a few small, mainly cosmetic issues I noticed whilst working on setup. Jon TURNEY (5): Make text refering to IE5 a bit more general Fix a misplaced PlaceDialog() Improve reporting of progress whilst parsing .ini file Set icon used by alt-tab task

Re: [PATCH 5/5] Canonicalize manually added mirror URLs to ensure they end with a '/'

2010-11-10 Thread Jon TURNEY
On 09/11/2010 15:07, Christopher Faylor wrote: On Tue, Nov 09, 2010 at 01:29:47PM +, Jon TURNEY wrote: This ensures that the download directory is canonically named with the trailing %2f of the url-encoded '/', avoiding downloading everything again if the URL varies in the presence

Re: [ITP] mutt-1.5.21-1

2010-11-12 Thread Jon TURNEY
On 12/11/2010 13:09, Marco Atzeri wrote: The Mutt E-Mail Client All mail clients suck. This one just sucks less. -the author, circa 1995 The package is present in all distributions. This package depends on libslang2 still in ITP to download : wget -r -np -nH --cut-dirs=2

Unbelievably obscure setup bug

2010-11-19 Thread Jon TURNEY
From aa8c426c310b932b3791b3d2d25682448c7d1f52 Mon Sep 17 00:00:00 2001 From: Jon TURNEY jon.tur...@dronecode.org.uk Date: Fri, 19 Nov 2010 00:51:52 + Subject: [PATCH] Obvious and probably incorrect fix for incorrect use of casecompare() casecompare() returns 0 for equality also adjust visit

Re: Unbelievably obscure setup bug

2010-11-19 Thread Jon TURNEY
On 19/11/2010 13:13, Corinna Vinschen wrote: The code in question was supposed to make sure that the order is always base-cygwin base-passwd [...] and that was the case so far. Of course, given the obvious mishandling of the casecompare return value it's not clear why this ever worked. Even

Re: Unbelievably obscure setup bug

2010-11-19 Thread Jon TURNEY
On 19/11/2010 13:36, Corinna Vinschen wrote: On Nov 19 13:23, Jon TURNEY wrote: On 19/11/2010 13:13, Corinna Vinschen wrote: The code in question was supposed to make sure that the order is always base-cygwin base-passwd [...] and that was the case so far. Of course, given the obvious

[PATCH 0/3] Various setup.exe patches

2010-11-19 Thread Jon TURNEY
Jon TURNEY (3): Change No package - Unknown package in postinstall script failure report. Ensure binary package is selected for non-curr versions. Move PrereqChecker.isMet() call out of ChooserPage::OnNext() to a separate stage choose.cc | 19 ++ dialog.h

[PATCH 1/3] Change No package - Unknown package in postinstall script failure report.

2010-11-19 Thread Jon TURNEY
Left over postinstall scripts may well have been installed by a package, we just don't know which one at this point. 2010-11-17 Jon TURNEY jon.tur...@dronecode.org.uk * postinstall.cc (do_postinstall_thread): Refer to Unknown package rather than No package Signed-off-by: Jon

[PATCH 2/3] Ensure binary package is selected for non-curr versions.

2010-11-19 Thread Jon TURNEY
At the moment, selecting a test version clears the binary package checkbox, which isn't very helpful. It's safe to set pick() for all versions of a package, the installer will only install the desired one. 2010-11-17 Jon TURNEY jon.tur...@dronecode.org.uk * package_meta.cc (set_action

[PATCH 3/3] Move PrereqChecker.isMet() call out of ChooserPage::OnNext() to a separate stage

2010-11-19 Thread Jon TURNEY
Move PrereqChecker.isMet() call out of ChooserPage::OnNext() to a separate stage, so we can put the package chooser page away and indicate progress via the threebar status page. 2010-11-19 Jon TURNEY jon.tur...@dronecode.org.uk * choose.cc (OnNext): Remove PrereqChecker call, instead

[PATCH] A setup.exe performance enhancement

2010-11-19 Thread Jon TURNEY
./setup.exe. -X -q' for setup built with the same flags doing the same work to: real0m15.142s user0m0.031s sys 0m0.031s From 98764a4634945315ac35cd8191c7562b68f54038 Mon Sep 17 00:00:00 2001 From: Jon TURNEY jon.tur...@dronecode.org.uk Date: Fri, 19 Nov 2010 15:27:42 + Subject: [PATCH

Re: [PATCH 3/3] Move PrereqChecker.isMet() call out of ChooserPage::OnNext() to a separate stage

2010-11-20 Thread Jon TURNEY
On 19/11/2010 15:17, Christopher Faylor wrote: On Fri, Nov 19, 2010 at 02:51:52PM +, Jon TURNEY wrote: Move PrereqChecker.isMet() call out of ChooserPage::OnNext() to a separate stage, so we can put the package chooser page away and indicate progress via the threebar status page

Re: Unbelievably obscure setup bug

2010-11-20 Thread Jon TURNEY
On 19/11/2010 14:20, Jon TURNEY wrote: On 19/11/2010 13:36, Corinna Vinschen wrote: In theory base-cygwin has no dependecies. Here are the setup.hint snippets: base-cygwin: category: Base base-passwd: requires: base-cygwin category: Base noautodep: cygwin

Re: [PATCH 0/5] Various small patches for setup.exe

2010-11-22 Thread Jon TURNEY
On 19/11/2010 15:24, Christopher Faylor wrote: On Tue, Nov 09, 2010 at 01:29:42PM +, Jon TURNEY wrote: Hopefully uncontroversial patches to fix a few small, mainly cosmetic issues I noticed whilst working on setup. Jon TURNEY (5): Make text refering to IE5 a bit more general Fix

Re: [PATCH 3/3] Add the last element of URL path to site chooser, if interesting.

2010-11-22 Thread Jon TURNEY
On 19/11/2010 17:13, Corinna Vinschen wrote: On Nov 19 11:07, Christopher Faylor wrote: On Sat, Nov 06, 2010 at 05:05:15PM +, Jon TURNEY wrote: Currently, if, for example, I manually add the site http://mirrors.kernel.org/sources.redhat.com/cygwinports/ to setup's mirror list, I get two

Re: [PATCH 3/3] Add the last element of URL path to site chooser, if interesting.

2010-11-22 Thread Jon TURNEY
On 22/11/2010 13:03, Jon TURNEY wrote: On 19/11/2010 17:13, Corinna Vinschen wrote: On Nov 19 11:07, Christopher Faylor wrote: On Sat, Nov 06, 2010 at 05:05:15PM +, Jon TURNEY wrote: Currently, if, for example, I manually add the site http://mirrors.kernel.org/sources.redhat.com

[PATCH 0/4] setup.exe patches for improvements in mirror URL handling

2010-11-26 Thread Jon TURNEY
%2fmirrors.kernel.org%2fsourceware%2fcygwin'. Jon TURNEY (4): Add the last element of URL path to site chooser, if interesting. Canonicalize mirror URLs to ensure they end with a '/' Make io_stream::exists() directory aware Use site download directory without trailing %2f if it doesn't already

[PATCH 1/4] Add the last element of URL path to site chooser, if interesting.

2010-11-26 Thread Jon TURNEY
than the first '/' after a '.', to handle sitenames which aren't FQDNs correctly) (Also use LB_FINDSTRINGEXACT rather than LB_FINDSTRING so selected sites are restored correctly if they have a common initial substring) 2010-11-26 Jon TURNEY jon.tur...@dronecode.org.uk * site.cc (init

[PATCH 2/4] Canonicalize mirror URLs to ensure they end with a '/'

2010-11-26 Thread Jon TURNEY
. 2010-11-26 Jon TURNEY jon.tur...@dronecode.org.uk * site.cc (init): Canonicalize mirror URLs to ensure the end with a '/'. Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- site.cc |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/site.cc b

[PATCH 4/4] Use site download directory without trailing %2f if it doesn't already exist

2010-11-26 Thread Jon TURNEY
Centralize where download directory is chosen Use site download directory without trailing %2f if it doesn't already exist 2010-11-26 Jon TURNEY jon.tur...@dronecode.org.uk * package_source.h (site): Add get_local_path() method and storage * package_source.cc (get_local_path

[PATCH 3/4] Make io_stream::exists() directory aware

2010-11-26 Thread Jon TURNEY
or FILE_ATTRIBUTE_ENCRYPTED, since it checks attributes against an expected value rather than checking for bits being set? 2010-11-26 Jon TURNEY jon.tur...@dronecode.org.uk * io_stream.h (io_stream_exists_t, io_stream::exists): Change io_stream::exists return type to new enum io_stream_exists_t

Re: [PATCH] A setup.exe performance enhancement

2010-11-26 Thread Jon TURNEY
On 20/11/2010 09:43, Corinna Vinschen wrote: On Nov 19 14:49, Christopher Faylor wrote: On Fri, Nov 19, 2010 at 04:07:23PM +, Jon TURNEY wrote: Change package_db collection of packages from vector to a map so we can look things up in it quickly This allows packagedb::findBinary

Fix setup bug handling missing dependencies in unattended modes

2010-12-10 Thread Jon TURNEY
From 6d08fc3ff64b841b468d77755cae8d10fef242b4 Mon Sep 17 00:00:00 2001 From: Jon TURNEY jon.tur...@dronecode.org.uk Date: Fri, 10 Dec 2010 18:20:45 + Subject: [PATCH] Fix bug with prereq warning page in unattended modes If you run setup -M and remove a package which is a dependency of another

Re: [PATCH 2/4] Canonicalize mirror URLs to ensure they end with a '/'

2010-12-10 Thread Jon TURNEY
On 29/11/2010 10:38, Corinna Vinschen wrote: On Nov 26 13:48, Jon TURNEY wrote: This prevents a mirror URL being added twice (with and without a terminal '/') This ensures that the download directory is consistently named, avoiding downloading everything again, even if an additional mirror

Re: Fix setup bug handling missing dependencies in unattended modes

2010-12-16 Thread Jon TURNEY
On 10/12/2010 18:59, Christopher Faylor wrote: On Fri, Dec 10, 2010 at 06:36:01PM +, Jon TURNEY wrote: Here's a patch to fix a rather obscure setup bug, which I believe is probably behind the bug report [1] Test case: 1/ Run setup -M 2/ In the package chooser, uninstall a package which

Re: [PATCH 3/4] Make io_stream::exists() directory aware

2010-12-16 Thread Jon TURNEY
On 29/11/2010 11:28, Corinna Vinschen wrote: On Nov 26 13:48, Jon TURNEY wrote: At the moment io_stream::exists() returns FALSE for file:// paths which refer to an existing directory. Inconsistently, for cygfile:// paths which refer to an existing directory, it returns TRUE. Return a new

[PATCH] Correct the description of the -K option

2011-01-02 Thread Jon TURNEY
setup's -K/--pubkey option introduces the URL for a public key, not a file path 2011-01-02 Jon TURNEY jon.tur...@dronecode.org.uk * crypto.c (ExtraKeyOption): Correct option description. Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- crypto.cc |2 +- 1 files changed, 1

Re: [PATCH] Correct the description of the -K option

2011-01-03 Thread Jon TURNEY
On 02/01/2011 19:09, Christopher Faylor wrote: On Sun, Jan 02, 2011 at 03:33:23PM +, Jon TURNEY wrote: setup's -K/--pubkey option introduces the URL for a public key, not a file path 2011-01-02 Jon TURNEY jon.turney-grjqepx9rppajuda+fb...@public.gmane.org * crypto.c

Re: [PATCH] Correct the description of the -K option

2011-01-05 Thread Jon TURNEY
On 03/01/2011 17:24, Christopher Faylor wrote: On Mon, Jan 03, 2011 at 04:30:22PM +, Jon TURNEY wrote: http://www.cygwin.com/faq/faq.setup.html#faq.setup.cli should possibly get updated as well. Could you update the words in winsup/doc? Then it will eventually get fixed on the web

[PATCH 0/2] Setup patches

2011-02-02 Thread Jon TURNEY
they are for comment. [1] http://sourceware.org/ml/cygwin/2011-01/msg00262.html Jon TURNEY (2): Copy setup.exe to /bin/cygwin-setup.exe Add a self-update mechanism for setup.exe desktop.cc | 45 +- ini.cc | 70

[PATCH 2/2] Add a self-update mechanism for setup.exe

2011-02-02 Thread Jon TURNEY
-02 Jon TURNEY jon.tur...@dronecode.org.uk * res.rc (IDS_OLD_SETUP_VERSION): Change text to offer to download new version of setup. * main.cc: (self_update_remove_from, self_update_copy_to, WinMain): Add --copy-to and --remove-from options for self-update

Re: [PATCH 1/4] Add the last element of URL path to site chooser, if interesting.

2011-03-10 Thread Jon TURNEY
On 10/03/2011 08:52, Corinna Vinschen wrote: On Mar 9 12:40, Andy Koppe wrote: On 29 November 2010 12:57, Corinna Vinschen wrote: On Nov 26 13:48, Jon TURNEY wrote: Currently, for example, if I manually add the site http://mirrors.kernel.org/sources.redhat.com/cygwinports/ to setup's

Re: Problems installing from Cygwinports

2011-03-31 Thread Jon TURNEY
17 00:00:00 2001 From: Jon TURNEY jon.tur...@dronecode.org.uk Date: Thu, 31 Mar 2011 14:45:47 +0100 Subject: [PATCH] Don't hang if something goes wrong reading from a tar archive Returning EIO (a small positive integer) as the result of archive_tar_file::read() on an error isn't a good idea, it's

[PATCH 0/6] Handle and report decompression errors; handle multistream bzip2 files

2011-04-08 Thread Jon TURNEY
On 31/03/2011 15:35, Jon TURNEY wrote: The first problem is that .bz2 file and the decompressor don't like each other. The decompressor reports the stream has ended partway through decompressing glxext.h. It's very mysterious that it should fail but bunzip2 has no problems with the same file

[PATCH 1/6] Don't hang if something goes wrong reading from a tar archive

2011-04-08 Thread Jon TURNEY
2011-04-08 Jon TURNEY jon.tur...@dronecode.org.uk * archive_tar_file.cc (read, write, peek, seek): Consistently return -1 and set lasterr on an error. Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- archive_tar_file.cc |8 +--- 1 files changed, 5 insertions

[PATCH 2/6] Consistently return -1 and set lasterr instead in io_stream derived classes

2011-04-08 Thread Jon TURNEY
2011-04-08 Jon TURNEY jon.tur...@dronecode.org.uk * compress_bz.cc (read, peek): Consistently return -1 and set lasterr on an error. * compress_gz.cc (read, write, peek): Ditto. Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- compress_bz.cc | 12

[PATCH 3/6] Propagate errors out of io_stream::copy()

2011-04-08 Thread Jon TURNEY
Despite the comment here, io_stream::read() is now implemented to provide the same behaviour as POSIX read(): If the stream is at EOF, 0 is returned. If an error occurred, -1 is returned. So we can detect errors and propagate them to our caller. 2011-04-08 Jon TURNEY jon.tur

[PATCH 6/6] Handle short reads in archive_tar_file::read()

2011-04-08 Thread Jon TURNEY
expected for a file. Teach it to do things correctly, even if a short read occurs. 2011-04-08 Jon TURNEY jon.tur...@dronecode.org.uk * archive_tar_file.cc (read): Handle short reads Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- archive_tar_file.cc | 52

[PATCH 5/6] Handle bzip2 multi-stream files

2011-04-08 Thread Jon TURNEY
bzip2 compressed files are allowed to contain multiple streams of compressed data. So if we arrive at BZ_STREAM_END but are not at EOF, restart the decompressor. Decompress any data which remains in the stream before reading any more. Also remove write only member bufN 2011-04-08 Jon TURNEY

Re: [PATCH 1/4] Add the last element of URL path to site chooser, if interesting.

2011-04-08 Thread Jon TURNEY
On 10/03/2011 14:31, Jon TURNEY wrote: On 10/03/2011 08:52, Corinna Vinschen wrote: On Mar 9 12:40, Andy Koppe wrote: On 29 November 2010 12:57, Corinna Vinschen wrote: On Nov 26 13:48, Jon TURNEY wrote: Currently, for example, if I manually add the site http://mirrors.kernel.org

[ITP] khronos-opengl-registry

2011-04-16 Thread Jon TURNEY
Building the XWin X server requires a machine-readable description of the OpenGL interface, in order to generate wrapper code. Currently, these files are directly fetched during the build, but this causes certain problems (e.g. [1]), so X server 1.11 will change to looking for a package

Re: [PATCH 4/6] Report failure extracting a file from package to the user

2011-04-21 Thread Jon TURNEY
On 20/04/2011 17:36, Corinna Vinschen wrote: On Apr 8 15:43, Jon TURNEY wrote: At the moment, all errors in archive::extract_file() are assumed to be due to a failure to open the file for writing due to it being opened by another process. Distinguish when the error is due to an inability

Re: [PATCH 5/6] Handle bzip2 multi-stream files

2011-04-21 Thread Jon TURNEY
On 20/04/2011 21:16, Charles Wilson wrote: On 4/20/2011 12:39 PM, Corinna Vinschen wrote: On Apr 8 15:43, Jon TURNEY wrote: bzip2 compressed files are allowed to contain multiple streams of compressed data. So if we arrive at BZ_STREAM_END but are not at EOF, restart the decompressor

Re: [PATCH 6/6] Handle short reads in archive_tar_file::read()

2011-04-21 Thread Jon TURNEY
On 20/04/2011 17:40, Corinna Vinschen wrote: On Apr 8 15:43, Jon TURNEY wrote: archive_tar_file::read() currently considers any short read an error. These can now occur if the underlying bz2 compressed io_stream starts a new compression stream in the middle of the read It also

Some observations made installing all packages (was Re: [PATCH 6/6] Handle short reads in archive_tar_file::read())

2011-04-24 Thread Jon TURNEY
On 24/04/2011 12:29, Jon TURNEY wrote: Ok, I've tested that all current packages install successfully with this change, so I've applied patches 5 6. current total download size: 1.77GB current total install size: 5.77GB data, uses 6.32GB disk space on NTFS There are still a few post-install

[PATCH 0/5] Various setup patches

2011-04-24 Thread Jon TURNEY
A smorgasbord of setup patches for your delectation Jon TURNEY (5): Restore and fix up the rules for building and uploading snapshots Allow setup to parse more than 3 versions from the setup.ini file Report overall progress while md5summing packages Update progress display when download

[PATCH 1/5] Restore and fix up the rules for building and uploading snapshots

2011-04-24 Thread Jon TURNEY
Restore and fix up the rules for building and uploading snapshots removed in version 2.81 of Makefile.am 2011-03-30 Jon TURNEY jon.tur...@dronecode.org.uk * Makefile.am (release, snapshot, clean-local): Restore and fix up the rules for building and uploading snapshots Signed

[PATCH 2/5] Allow setup to parse more than 3 versions from the setup.ini file

2011-04-24 Thread Jon TURNEY
of a specific string like [also] or [other], or perhaps [prev-1], [prev-2], etc. I have written a corresponding patch to genini Setup already does all the neccessary sorting in version order etc. to use these additional versions. 2011-04-24 Jon TURNEY jon.tur...@dronecode.org.uk

[PATCH 3/5] Report overall progress while md5summing packages

2011-04-24 Thread Jon TURNEY
md5sum checking all packages can take minutes with a large number of packages to install, so report not only progress on the checking for each individual package, but how far we are through the operation on all packages 2011-04-24 Jon TURNEY jon.tur...@dronecode.org.uk * install.cc

[PATCH 4/5] Update progress display when download phase starts

2011-04-24 Thread Jon TURNEY
If we have many packages installed, but very little to download, don't leave the last package we checked for prerequisites displayed whilst we locate the first package to download 2011-04-24 Jon TURNEY jon.tur...@dronecode.org.uk * download.cc (do_download_thread): Update progress

[PATCH 5/5] Add a self-update mechanism for setup.exe

2011-04-24 Thread Jon TURNEY
: Address comments from Dave Korn Properly quote arguments to ensure spaces in paths are handled safely Place the setup URL in a string resouce 2011-03-29 Jon TURNEY jon.tur...@dronecode.org.uk * res.rc (IDS_OLD_SETUP_VERSION): Change text to offer to download new version of setup

Re: [PATCH 5/5] Add a self-update mechanism for setup.exe

2011-04-29 Thread Jon TURNEY
On 24/04/2011 17:18, Christopher Faylor wrote: On Sun, Apr 24, 2011 at 02:05:57PM +0100, Jon TURNEY wrote: Updating setup.exe has 3 stages: 1) Download updated setup.exe to a temporary location 2) Execute that temporary copy of setup.exe with --copy-to instructing it to copy itself over

Re: [PATCH 2/5] Allow setup to parse more than 3 versions from the setup.ini file

2011-04-29 Thread Jon TURNEY
On 24/04/2011 17:10, Christopher Faylor wrote: On Sun, Apr 24, 2011 at 02:05:54PM +0100, Jon TURNEY wrote: This recognizes any [version] line as introducing the information for another version, which doesn't have one of the trust levels [curr], [prev] or [test], and so isn't automatically

Re: [PATCH 1/5] Restore and fix up the rules for building and uploading snapshots

2011-04-29 Thread Jon TURNEY
On 24/04/2011 17:13, Christopher Faylor wrote: On Sun, Apr 24, 2011 at 02:05:53PM +0100, Jon TURNEY wrote: Restore and fix up the rules for building and uploading snapshots removed in version 2.81 of Makefile.am 2011-03-30 Jon TURNEY jon.turney-grjqepx9rppajuda+fb...@public.gmane.org

[PATCH] Fix a cosmetic problem when there are no packages to install

2011-07-22 Thread Jon TURNEY
TURNEY jon.tur...@dronecode.org.uk * install.cc (do_install_thread): Fix cosmetic problem when there are no packages to install. Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- install.cc |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/install.cc

[PATCH 0/2] Make setup -q -P work as expected

2011-07-22 Thread Jon TURNEY
categories 'Base' or 'Misc' and thus always installed. [1] http://cygwin.com/ml/cygwin-xfree/2011-07/msg00041.html [2] http://cygwin.com/ml/cygwin/2011-07/msg00308.html Jon TURNEY (2): Push the implementation of defaultTrust() down from the PickView class to packagedb class When packages

[PATCH 1/2] Push the implementation of defaultTrust() down from the PickView class to packagedb class

2011-07-22 Thread Jon TURNEY
, so if there are 2 adjacent categories with no packages, only the first will get removed. But this code doesn't belong here anyhow, it should be done, once, after we've built the packagedb. Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk 2011-07-21 Jon TURNEY jon.tur...@dronecode.org.uk

[PATCH 2/2] When packages are selected on the command line in unattended mode, just install those packages

2011-07-22 Thread Jon TURNEY
for not installing correctly-spelt-package :-) Also, since initializing the default list of packages to install is no longer a side effect of building the GUI elements for the package picker window, we can probably now bypass the package picker window entirely in unattended mode... Signed-off-by: Jon TURNEY

Re: [PATCH] Multiple --site options

2011-07-22 Thread Jon TURNEY
On 30/05/2011 10:28, szgyg wrote: I want to say `./setup.exe --site ports --site local-repo', so there it is. 2011-05-30 SZAVAI Gyula szgyg-vx2qyahhjos5z0sdybd...@public.gmane.org * libgetopt++/src/StringArrayOption.cc: New file. * libgetopt++/include/getopt++/StringArrayOption.h: New file. *

Re: [PATCH] Fix a cosmetic problem when there are no packages to install

2011-07-25 Thread Jon TURNEY
On 22/07/2011 15:12, Corinna Vinschen wrote: On Jul 22 14:02, Jon TURNEY wrote: My previous patch introduces a cosmetic problem when there are no packages to install. Calling ThreeBarProgressPage::SetBar2(0, 0) indicates we are -2147483648% done, while we iterate over all packages looking

Re: [ITP] pbzip2 (and what was the upshot on pbzip2/libbz2 incompatibility?)

2011-08-08 Thread Jon TURNEY
On 08/08/2011 17:46, Peter Li wrote: On 08/08/2011 01:01 AM, Corinna Vinschen wrote: On Aug 7 20:31, Peter Li wrote: Separately, I'm curious what the upshot was on this earlier discussion of pbzip2 incompatibilities: http://cygwin.com/ml/cygwin-apps/2011-03/msg00160.html I think that's

Re: [PATCH 0/2] Make setup -q -P work as expected

2011-08-13 Thread Jon TURNEY
On 13/08/2011 08:51, Corinna Vinschen wrote: Hi Jon, On Jul 22 14:22, Jon TURNEY wrote: I'm somewhat reluctant to mess with this code as it is rather convoluted, so these patches could probably use some careful review and/or testing. But these patches attempt to make setup -q -P work more

[ITA] ddd

2011-11-10 Thread Jon TURNEY
ddd is orphaned, previously maintained by Harold L Hunt II I've updated the package to the latest upstream (3.3.12, released 2009-02-11), which adds pydb, bashdb and remake support and various fixes, added a couple of patches from debian, and updated the packaging to use cygport.

Re: Setup announcement

2011-11-21 Thread Jon TURNEY
On 21/11/2011 09:52, Corinna Vinschen wrote: most of the changes and fixes in the new setup.exe release from this weekend are yours per the ChangeLog. I don't know exactly what to write in an announcement. Here's what I have so far. Can you please have a look and revise it? Sure, some

  1   2   3   4   5   6   7   8   9   10   >