Re: [ITA] ocaml 3.12.0

2010-09-17 Thread Damien Doligez

On 2010-09-13, at 06:12, Yaakov (Cygwin/X) wrote:

 gcc3 is deprecated; distro packages should be built with gcc4, and all
 Ports packages for Cygwin 1.7 are built with gcc4.  So OCaml definitely
 builds with gcc4.

I checked and yes it works.

 How soon can you rebuild ocaml with gcc4 and flexdll-0.25-1?


I'm having personal problems right now, so it will likely be two
or three weeks.  Sorry.

-- Damien



Re: [ITA] ocaml 3.12.0

2010-09-12 Thread Yaakov (Cygwin/X)
On Thu, 2010-09-09 at 14:51 +0200, Damien Doligez wrote:
 I think you should upload this version for the moment because I have
 two potential problems with Yaakov's FlexDLL package that I need to
 investigate:
 
 1. It's based on an old version of FlexDLL, and IIRC OCaml needs
some of the recent changes.

Specifically, it needs the flexdll.h header.  I just updated flexdll to
the latest upstream release.

 2. It mentions gcc4 in the dependencies, but OCaml is compiled with
gcc3.  I need to determine whether OCaml now works with
gcc4 and if not, whether it needs a FlexDLL based on gcc3.

gcc3 is deprecated; distro packages should be built with gcc4, and all
Ports packages for Cygwin 1.7 are built with gcc4.  So OCaml definitely
builds with gcc4.

How soon can you rebuild ocaml with gcc4 and flexdll-0.25-1?


Yaakov




Re: [ITA] ocaml 3.12.0

2010-09-10 Thread Damien Doligez

On 2010-09-09, at 21:07, Andrew Schulman wrote:

 Auto gold star awarded:  http://cygwin.com/goldstars/#DD.

Ooooh, shiny!  Thanks!

 And a thanks from me - the OCaml package was way out of date, but I tried
 once to build it for Cygwin and couldn't make it work.


But I'm cheating: I have insider information.

-- Damien



Re: [ITA] ocaml 3.12.0

2010-09-10 Thread Andrew Schulman
  And a thanks from me - the OCaml package was way out of date, but I tried
  once to build it for Cygwin and couldn't make it work.
 
 But I'm cheating: I have insider information.

No holds barred here at cygwin.com.


Re: [ITA] ocaml 3.12.0

2010-09-09 Thread Damien Doligez

On 2010-09-08, at 11:31, Corinna Vinschen wrote:

 Cool, thanks.  Your packaging looks good, so this package is ok for
 upload.  I was just wondering if you would like me to upload the package
 as is for now, or if I should wait for the FlexDLL-enabled version?


I think you should upload this version for the moment because I have
two potential problems with Yaakov's FlexDLL package that I need to
investigate:

1. It's based on an old version of FlexDLL, and IIRC OCaml needs
   some of the recent changes.
2. It mentions gcc4 in the dependencies, but OCaml is compiled with
   gcc3.  I need to determine whether OCaml now works with
   gcc4 and if not, whether it needs a FlexDLL based on gcc3.

-- Damien



Re: [ITA] ocaml 3.12.0

2010-09-09 Thread Corinna Vinschen
On Sep  9 14:51, Damien Doligez wrote:
 
 On 2010-09-08, at 11:31, Corinna Vinschen wrote:
 
  Cool, thanks.  Your packaging looks good, so this package is ok for
  upload.  I was just wondering if you would like me to upload the package
  as is for now, or if I should wait for the FlexDLL-enabled version?
 
 
 I think you should upload this version for the moment because I have
 two potential problems with Yaakov's FlexDLL package that I need to
 investigate:
 
 1. It's based on an old version of FlexDLL, and IIRC OCaml needs
some of the recent changes.
 2. It mentions gcc4 in the dependencies, but OCaml is compiled with
gcc3.  I need to determine whether OCaml now works with
gcc4 and if not, whether it needs a FlexDLL based on gcc3.

Uploaded.  Please announce on the cygwin-announce list according to
http://cygwin.com/setup.html#submitting


Thanks,
Corinna

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


Re: [ITA] ocaml 3.12.0

2010-09-09 Thread Andrew Schulman
   Cool, thanks.  Your packaging looks good, so this package is ok for
   upload.  I was just wondering if you would like me to upload the package
   as is for now, or if I should wait for the FlexDLL-enabled version?
  
  I think you should upload this version for the moment because I have
  two potential problems with Yaakov's FlexDLL package that I need to
  investigate:
  
  1. It's based on an old version of FlexDLL, and IIRC OCaml needs
 some of the recent changes.
  2. It mentions gcc4 in the dependencies, but OCaml is compiled with
 gcc3.  I need to determine whether OCaml now works with
 gcc4 and if not, whether it needs a FlexDLL based on gcc3.
 
 Uploaded.  Please announce on the cygwin-announce list according to
 http://cygwin.com/setup.html#submitting

Auto gold star awarded:  http://cygwin.com/goldstars/#DD.

And a thanks from me - the OCaml package was way out of date, but I tried
once to build it for Cygwin and couldn't make it work.

Andrew.


Re: [ITA] ocaml 3.12.0

2010-09-08 Thread Corinna Vinschen
On Sep  7 23:52, Damien Doligez wrote:
 
 On 2010-09-06, at 16:43, Charles Wilson wrote:
 
  Are you sure that your new version requires libncurses7?  The only
  current libncurses-dev package will cause you to link against
  libncurses10...
  
  Try
  cygcheck /usr/bin/name-of-ocaml-exe
  and see what DLLs it actually uses...
  
  Also, new policy is NOT to list 'cygwin' in the requires...
 
 
 You're absolutely right.  I have fixed both problems and updated
 some stale information in the README file.  The new version is here:
 
 wget http://yquem.inria.fr/~doligez/cygwin/ocaml-3.12.0-2-src.tar.bz2
 wget http://yquem.inria.fr/~doligez/cygwin/ocaml-3.12.0-2.tar.bz2

Do you also have an URL to the new setup.hint file?


Thanks,
Corinna

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


Re: [ITA] ocaml 3.12.0

2010-09-08 Thread Corinna Vinschen
On Sep  8 10:00, Corinna Vinschen wrote:
 On Sep  7 23:52, Damien Doligez wrote:
  
  On 2010-09-06, at 16:43, Charles Wilson wrote:
  
   Are you sure that your new version requires libncurses7?  The only
   current libncurses-dev package will cause you to link against
   libncurses10...
   
   Try
 cygcheck /usr/bin/name-of-ocaml-exe
   and see what DLLs it actually uses...
   
   Also, new policy is NOT to list 'cygwin' in the requires...
  
  
  You're absolutely right.  I have fixed both problems and updated
  some stale information in the README file.  The new version is here:
  
  wget http://yquem.inria.fr/~doligez/cygwin/ocaml-3.12.0-2-src.tar.bz2
  wget http://yquem.inria.fr/~doligez/cygwin/ocaml-3.12.0-2.tar.bz2
 
 Do you also have an URL to the new setup.hint file?

Oh, btw., since Yaakov has now ITPed FlexDLL, are you going to rebuild
ocaml with FlexDLL support?


Corinna

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


Re: [ITA] ocaml 3.12.0

2010-09-08 Thread Damien Doligez
On 2010-09-08, at 10:00, Corinna Vinschen wrote:

 wget http://yquem.inria.fr/~doligez/cygwin/ocaml-3.12.0-2-src.tar.bz2
 wget http://yquem.inria.fr/~doligez/cygwin/ocaml-3.12.0-2.tar.bz2
 
 Do you also have an URL to the new setup.hint file?


wget http://yquem.inria.fr/~doligez/cygwin/setup.hint

 Oh, btw., since Yaakov has now ITPed FlexDLL, are you going to rebuild
 ocaml with FlexDLL support?

Yes, of course.

-- Damien



Re: [ITA] ocaml 3.12.0

2010-09-08 Thread Corinna Vinschen
On Sep  8 10:35, Damien Doligez wrote:
 On 2010-09-08, at 10:00, Corinna Vinschen wrote:
 
  wget http://yquem.inria.fr/~doligez/cygwin/ocaml-3.12.0-2-src.tar.bz2
  wget http://yquem.inria.fr/~doligez/cygwin/ocaml-3.12.0-2.tar.bz2
  
  Do you also have an URL to the new setup.hint file?
 
 
 wget http://yquem.inria.fr/~doligez/cygwin/setup.hint
 
  Oh, btw., since Yaakov has now ITPed FlexDLL, are you going to rebuild
  ocaml with FlexDLL support?
 
 Yes, of course.

Cool, thanks.  Your packaging looks good, so this package is ok for
upload.  I was just wondering if you would like me to upload the package
as is for now, or if I should wait for the FlexDLL-enabled version?


Corinna

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


Re: [ITA] ocaml 3.12.0

2010-09-07 Thread Yaakov (Cygwin/X)
On Mon, 2010-09-06 at 15:48 +0200, Damien Doligez wrote:
 1. The tcl/tk bindings: they don't work out of the box with Cygwin's
tcl/tk, and I don't think there is much demand anyway.

Interesting, given that OCaml presumes that Cygwin's tcl/tk is Win32
(which it currently is), but Ports' X11 tcl/tk works with OCaml with
some patches:

http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=lang/ocaml

Given the recent issues on the list, I think it's about time I ITA
tcl/tk.

 2. Dynamic linking: this needs FlexDLL  http://alain.frisch.fr/flexdll/ ,
which isn't packaged for cygwin.  I guess I'll do a cygwin package of
FlexDLL later, when I have a bit more experience.

I have a flexdll package in Ports which includes several patches
necessary for Cygwin, which I used to build OCaml with dynlink support:

http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=devel/flexdll

I will be busy for the remainder of the week, but let's work on this
further next week.


Yaakov




Re: [ITA] ocaml 3.12.0

2010-09-07 Thread Christopher Faylor
On Tue, Sep 07, 2010 at 05:03:13AM -0500, Yaakov (Cygwin/X) wrote:
On Mon, 2010-09-06 at 15:48 +0200, Damien Doligez wrote:
 1. The tcl/tk bindings: they don't work out of the box with Cygwin's
tcl/tk, and I don't think there is much demand anyway.

Interesting, given that OCaml presumes that Cygwin's tcl/tk is Win32
(which it currently is), but Ports' X11 tcl/tk works with OCaml with
some patches:

http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=lang/ocaml

Given the recent issues on the list, I think it's about time I ITA
tcl/tk.

I know that it isn't obvious but I really am still here and that sorta
means that you can't take tcl/tk away just yet.

I have been trying to talk to the insight maintainer about what to do
with tcl/tk but he hasn't been really responsive and I haven't been
extremely motivated to push the issue.

I actually have had a native cygwin version of tcl ready for quite some
time but insight really messes things up.

cgf


Re: [ITA] ocaml 3.12.0

2010-09-07 Thread Charles Wilson
On 9/7/2010 6:03 AM, Yaakov (Cygwin/X) wrote:
 Given the recent issues on the list, I think it's about time I ITA
 tcl/tk.

More power to you, but I don't think cgf has gone anywhere...so tcltk
isn't yet orphaned.

--
Chuck


Re: [ITA] ocaml 3.12.0

2010-09-07 Thread Matthias Andree

Am 07.09.2010, 16:42 Uhr, schrieb Christopher Faylor:


On Tue, Sep 07, 2010 at 05:03:13AM -0500, Yaakov (Cygwin/X) wrote:

On Mon, 2010-09-06 at 15:48 +0200, Damien Doligez wrote:

1. The tcl/tk bindings: they don't work out of the box with Cygwin's
   tcl/tk, and I don't think there is much demand anyway.


Interesting, given that OCaml presumes that Cygwin's tcl/tk is Win32
(which it currently is), but Ports' X11 tcl/tk works with OCaml with
some patches:

http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=lang/ocaml

Given the recent issues on the list, I think it's about time I ITA
tcl/tk.


I know that it isn't obvious but I really am still here and that sorta
means that you can't take tcl/tk away just yet.

I have been trying to talk to the insight maintainer about what to do
with tcl/tk but he hasn't been really responsive and I haven't been
extremely motivated to push the issue.


Insight is dead for all practical purposes, but Tcl/Tk in Cygwin depending  
on X11 rather than Win32 would be major regression. Not that I'd have time  
to help though.


--
Matthias Andree


Re: [ITA] ocaml 3.12.0

2010-09-07 Thread Christopher Faylor
On Tue, Sep 07, 2010 at 08:40:43PM +0200, Matthias Andree wrote:
Am 07.09.2010, 16:42 Uhr, schrieb Christopher Faylor:

 On Tue, Sep 07, 2010 at 05:03:13AM -0500, Yaakov (Cygwin/X) wrote:
 On Mon, 2010-09-06 at 15:48 +0200, Damien Doligez wrote:
 1. The tcl/tk bindings: they don't work out of the box with Cygwin's
tcl/tk, and I don't think there is much demand anyway.

 Interesting, given that OCaml presumes that Cygwin's tcl/tk is Win32
 (which it currently is), but Ports' X11 tcl/tk works with OCaml with
 some patches:

 http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=lang/ocaml

 Given the recent issues on the list, I think it's about time I ITA
 tcl/tk.

 I know that it isn't obvious but I really am still here and that sorta
 means that you can't take tcl/tk away just yet.

 I have been trying to talk to the insight maintainer about what to do
 with tcl/tk but he hasn't been really responsive and I haven't been
 extremely motivated to push the issue.

Insight is dead for all practical purposes, but Tcl/Tk in Cygwin depending  
on X11 rather than Win32 would be major regression. Not that I'd have time  
to help though.

This has already been decided.  I was just waiting for some sign of life
from my friend the insight maintainer.

I guess I'll go ahead and pull insight from the release.  That should
make things easier.

cgf


Re: [ITA] ocaml 3.12.0

2010-09-07 Thread Yaakov (Cygwin/X)
On Tue, 2010-09-07 at 14:55 -0400, Christopher Faylor wrote:
 This has already been decided.  I was just waiting for some sign of life
 from my friend the insight maintainer.
 
 I guess I'll go ahead and pull insight from the release.  That should
 make things easier.

FWIW, Debian, Fedora, and Gentoo all ship gdb and insight based on
separate source packages (using the latest official releases of each).
Packaging a TUI-only gdb-7.2 now would therefore be the first step
towards that.

I was able to build a separate insight CVS snapshot against my X11
tcl/tk with some patches:

http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=devel/insight

HTH,


Yaakov




Re: [ITA] ocaml 3.12.0

2010-09-07 Thread Damien Doligez

On 2010-09-06, at 16:43, Charles Wilson wrote:

 Are you sure that your new version requires libncurses7?  The only
 current libncurses-dev package will cause you to link against
 libncurses10...
 
 Try
   cygcheck /usr/bin/name-of-ocaml-exe
 and see what DLLs it actually uses...
 
 Also, new policy is NOT to list 'cygwin' in the requires...


You're absolutely right.  I have fixed both problems and updated
some stale information in the README file.  The new version is here:

wget http://yquem.inria.fr/~doligez/cygwin/ocaml-3.12.0-2-src.tar.bz2
wget http://yquem.inria.fr/~doligez/cygwin/ocaml-3.12.0-2.tar.bz2

-- Damien



Re: [ITA] ocaml 3.12.0

2010-09-07 Thread Charles Wilson
On 9/7/2010 2:55 PM, Christopher Faylor wrote:
 On Tue, Sep 07, 2010 at 08:40:43PM +0200, Matthias Andree wrote:
 Insight is dead for all practical purposes, but Tcl/Tk in Cygwin depending  
 on X11 rather than Win32 would be major regression. Not that I'd have time  
 to help though.
 
 This has already been decided. 

Maybe this is a dumb question, but I've been paying pretty close
attention and this statement confuses me.

What /exactly/ was the decision that was reached?  (I *think* I know, I
*believe* I know, but cgf is the maintainer of tcl/tk, not to mention
his position wrt to cygwin as a whole -- so he pretty much gets final
say about tcl/tk, regardless of what I or anybody else might say. So...)

--
Chuck


[ITA] ocaml 3.12.0

2010-09-06 Thread Damien Doligez
Dear Cygwin packagers,

It looks like the ocaml package is abandoned: the current version
(OCaml 3.08.1) dates back to 2006, and the listed maintainer is
Igor Pechtchanski (from before he changed his name).

Unless it is by design that OCaml is held back to an obsolete version,
I would like to volunteer to take over maintainership.

I'm one of the main developers of OCaml, and I've been a cygwin user
for a few years now.  I'm getting tired of reinstalling OCaml by hand
on every new cygwin I install...
I have read through the Cygwin Package Contributor's Guide (twice).

This is the contents of my setup.hint file for the updated package,
mostly unchanged from Igor's version:

--
sdesc: The Objective Caml compiler and runtime
ldesc: Objective Caml is a fast modern type-inferring functional
programming language descended from the ML (Meta Language)
family.  The OCaml compiler is developed at INRIA's project-team
Gallium
requires: cygwin libncurses7
category: Interpreters Devel
--

-- Damien



Re: [ITA] ocaml 3.12.0

2010-09-06 Thread Corinna Vinschen
On Sep  6 13:47, Damien Doligez wrote:
 Dear Cygwin packagers,
 
 It looks like the ocaml package is abandoned: the current version
 (OCaml 3.08.1) dates back to 2006, and the listed maintainer is
 Igor Pechtchanski (from before he changed his name).

Yes, Igor is AWOL for quite some time now, unfortunately.

 Unless it is by design that OCaml is held back to an obsolete version,
 I would like to volunteer to take over maintainership.

That would be nice.

 I'm one of the main developers of OCaml, and I've been a cygwin user
 for a few years now.  I'm getting tired of reinstalling OCaml by hand
 on every new cygwin I install...
 I have read through the Cygwin Package Contributor's Guide (twice).
 
 This is the contents of my setup.hint file for the updated package,
 mostly unchanged from Igor's version:
 
 --
 sdesc: The Objective Caml compiler and runtime
 ldesc: Objective Caml is a fast modern type-inferring functional
 programming language descended from the ML (Meta Language)
 family.  The OCaml compiler is developed at INRIA's project-team
 Gallium
 requires: cygwin libncurses7
 category: Interpreters Devel
 --

That's ok, but for an ITA you should also provide links to the binary
and source packages.  It's hard to check them for correctness otherwise...


Thanks,
Corinna

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


Re: [ITA] ocaml 3.12.0

2010-09-06 Thread Charles Wilson
On 9/6/2010 7:47 AM, Damien Doligez wrote:
 This is the contents of my setup.hint file for the updated package,
 mostly unchanged from Igor's version:
 
 --
 sdesc: The Objective Caml compiler and runtime
 ldesc: Objective Caml is a fast modern type-inferring functional
 programming language descended from the ML (Meta Language)
 family.  The OCaml compiler is developed at INRIA's project-team
 Gallium
 requires: cygwin libncurses7
 category: Interpreters Devel
 --

Are you sure that your new version requires libncurses7?  The only
current libncurses-dev package will cause you to link against
libncurses10...

Try
cygcheck /usr/bin/name-of-ocaml-exe
and see what DLLs it actually uses...

Also, new policy is NOT to list 'cygwin' in the requires...

--
Chuck