Re: [ITP-1.7] botan-1.8.1-1

2009-03-21 Thread Dave Korn
Lapo Luchini wrote:
 Lapo Luchini wrote:
 http://lapo.it/cygwin/botan/setup.hint
 http://lapo.it/cygwin/botan/botan-1.8.1-1.tar.bz2
 http://lapo.it/cygwin/botan/botan-1.8.1-1-src.tar.bz2
 
 BTW: this was compiled with gcc-3.4.4-999, should I reroll it with
 gcc4-4.3.2-2?


  Well... given that nothing's using it yet, and it's for 1.7, why not save
the hassle of an ABI break later?

cheers,
  DaveK





setup: difficult to uninstall packages with requirements

2009-03-21 Thread Lapo Luchini
I was trying to uninstall gcc... not easy, I must say: I cycle one
element to Uninstall, but as soon as I touch an element that requires
that one, the first one changes to Keep.
Also, it seems that gcc-java depends on gcc-mingw-java and also the
reverse so, in fact, it's currently impossible to deinstall all of gcc
in a single setup-1.7 execution.

I don't know, maybe instead of rolling between choices they should be
drop down menus?
This way I could jump directly from current version to Uninstall
without cycling thru upgrade (and subsequent Keep of all requirements).

-- 
Lapo Luchini - http://lapo.it/

“Violence is the last refuge of the incompetent.” (Isaac Asimov,
Foundation, 1942-05)


wtf: time for a release?

2009-03-21 Thread Lapo Luchini
Hi there.
Today wtf failed on me: it's missing the OLOCA entry WJFFM!

Just kidding, I guess Igor has been a bit busy and didn't re-roll the
package lately... as explained in the README it's easy to update the
package from the web, but it's nicer to have an updated official
package, isn't it?

I could reroll it if Igor can't do it for any reason...

-- 
Lapo Luchini - http://lapo.it/


Re: [ITP-1.7] botan-1.8.1-1

2009-03-21 Thread Lapo Luchini
Dave Korn wrote:
 BTW: this was compiled with gcc-3.4.4-999, should I reroll it with
 gcc4-4.3.2-2?
 
   Well... given that nothing's using it yet, and it's for 1.7, why not save
 the hassle of an ABI break later?

Mhh... unfortunately that seems to break it.
(the test-suite executable just dies with error 128)

Also, the configure script doesn't accept overriding CXX, so I used
alternatives to change my default. Is there any problem in that approach?

Also, trying strace on it fails with The procedure entry point
__Unwind_Resume could not be located in the dynamic link library
cygwin1.dll (I guess strace wasn't yet ported to cygwin-1.7?).

-- 
Lapo Luchini - http://lapo.it/

“When two trains approach each other at a crossing, both shall come to a
full stop and neither shall start up again until the other has gone.”
(Kansas State Legislature)


Re: [ITP-1.7] botan-1.8.1-1

2009-03-21 Thread Dave Korn
Lapo Luchini wrote:
 Dave Korn wrote:
 BTW: this was compiled with gcc-3.4.4-999, should I reroll it with
 gcc4-4.3.2-2?
   Well... given that nothing's using it yet, and it's for 1.7, why not save
 the hassle of an ABI break later?
 
 Mhh... unfortunately that seems to break it.
 (the test-suite executable just dies with error 128)
 
 Also, the configure script doesn't accept overriding CXX, so I used
 alternatives to change my default. Is there any problem in that approach?

  That's how I did it.

 Also, trying strace on it fails with The procedure entry point
 __Unwind_Resume could not be located in the dynamic link library
 cygwin1.dll (I guess strace wasn't yet ported to cygwin-1.7?).

  Heh, that's a clue.  __Unwind_Resume isn't in cygwin1.dll, it's in
cyggcc_s-1.dll.  We saw this before just recently: remove -lm and -lpthread
from the final link.

cheers,
  DaveK



Re: [ITP-1.7] botan-1.8.1-1

2009-03-21 Thread Corinna Vinschen
On Mar 21 11:21, Dave Korn wrote:
 Lapo Luchini wrote:
  Dave Korn wrote:
  BTW: this was compiled with gcc-3.4.4-999, should I reroll it with
  gcc4-4.3.2-2?
Well... given that nothing's using it yet, and it's for 1.7, why not save
  the hassle of an ABI break later?
  
  Mhh... unfortunately that seems to break it.
  (the test-suite executable just dies with error 128)
  
  Also, the configure script doesn't accept overriding CXX, so I used
  alternatives to change my default. Is there any problem in that approach?
 
   That's how I did it.
 
  Also, trying strace on it fails with The procedure entry point
  __Unwind_Resume could not be located in the dynamic link library
  cygwin1.dll (I guess strace wasn't yet ported to cygwin-1.7?).
 
   Heh, that's a clue.  __Unwind_Resume isn't in cygwin1.dll, it's in
 cyggcc_s-1.dll.  We saw this before just recently: remove -lm and -lpthread
 from the final link.

A horse for a fix!

No, hang on, a kingdom for a horse!

No, wait...


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: [ITP-1.7] botan-1.8.1-1

2009-03-21 Thread Dave Korn
Corinna Vinschen wrote:

 A horse for a fix!
 
 No, hang on, a kingdom for a horse!
 
 No, wait...


  Yeh, I'm just about to set up an old 1.5 on a VM using cygwin time machine
and try and figure out how it used to work and why it's changed.  I didn't
want to risk perturbing my main 1.5 install which is currently busy building
and testing 4.3.3-1.  Will report back as soon as I've got some information.

cheers,
  DaveK


Re: [ITA][1.7] GraphicsMagick-1.3.5-2

2009-03-21 Thread Marco Atzeri

--- Ven 20/3/09, Yaakov (Cygwin/X) ha scritto:

 Da: Yaakov (Cygwin/X) 
 Oggetto: Re: [ITA][1.7] GraphicsMagick-1.3.5-2
 A: 
 Data: Venerdì 20 marzo 2009, 18:06
 
 Marco Atzeri wrote:
 
 libGraphicsMagick_3/libGraphicsMagick_3-1.3.5-2.tar.bz2
  libGraphicsMagick_3/setup.hint
 
 You really don't need an underscore here; this should be
 libGraphicsMagick3.  You only need the underscore if
 the library name
 itself ends with a number (such as libhdf5_0, libbz2_1,
 etc.).

No problem, I will repackage

 
 Also, there are Perl bindings (perl-Graphics-Magick). 
 Could you please
 add those as well?
 
 
 Yaakov

Hi Yaakov,
I assume you mean

  /usr/lib/perl5/5.10/i686-cygwin/perllocal.pod
  /usr/lib/perl5/site_perl/5.10/i686-cygwin/Graphics/Magick.pm
  /usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/Graphics/Magick/.packlist
  /usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/Graphics/Magick/Magick.dll
  /usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/Graphics/Magick/autosplit.ix

I skipped them for problem with gcc-4.3.2-1,
but with gcc-4.3.2-2, everything is fine. 
 
Should they stay in libGraphicsMagick3
or in libGraphicsMagick-devel ?

Regards
Marco







Re: Trying to add an exit confirmation dialog to Cygwin setup.exe, failing

2009-03-21 Thread Christopher Faylor
On Mon, Mar 16, 2009 at 11:46:16AM -0600, Terry Fleming wrote:
--- original/setup-2.573.2.3/propsheet.cc
+++ setup-2.573.2.3/propsheet.cc
@@ -162,6 +162,11 @@
 static LRESULT CALLBACK PropSheetWndProc (HWND hwnd, UINT uMsg,
   WPARAM wParam, LPARAM lParam)
 {
+if(((uMsg==WM_SYSCOMMAND)((wParam0xfff0)==SC_CLOSE))||
+  (((uMsg==WM_COMMAND)(wParam==2
+  if(MessageBox(hwnd,
+  Are you sure you want to exit setup? Any current 
download or
installation will be aborted.,
+  Exit Cygwin Setup?, MB_YESNO)==IDNO) return 0;
   PropSheetData psd = PropSheetData::Instance();
   switch (uMsg)
 {

Thank you.  I've checked a variation of this patch into CVS.

cgf