RE: Help wanted! Win32 and HGL for GHC on Windows

2005-10-20 Thread Simon Peyton-Jones
| | * The libraries/HGL package works fine on Unix, where it sits on top
| |   of the libraries/X11 package.  But it does not work properly on
| |   Windows, where it sits on top of libraries/Win32. It is not clear
| |   whether the problem is with the HGL package or the Win32 package.
| 
| As usual I am unable to find the time to look more carefully at this
so
| please pass this report on to whomever is dealing with HGL.
| 
| I haven't heard what problems others have found but here is what I
just
| experienced.
|
| ...snip...

Mike: thanks for giving detailed info about what works and what doesn't
with HGL and Win32.  So far I have had no volunteers, so I'm afraid HGL
may stay broken.

If anyone is interested in helping, let me know and I'll fwd Mike's info
on to you.

Simon
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Help wanted! Win32 and HGL for GHC on Windows

2005-10-14 Thread Simon Peyton-Jones
Dear GHC users

This is an appeal for help with the 

libraries/Win32 package [on Windows, obviously]
libraries/HGL package [on Windows]

Here's the situation:

* Win32 provides access to the native Windows API, which is obviously
   very useful for people writing Haskell on Windows.  HGL, the Haskell
   Graphics Library, is the graphics package used by Paul Hudak's book
   The Haskell School of Expression.

* The libraries/Win32 package is supposed to supercede the old hslibs
  win32 package. Ross Paterson ported the latter to become the former,
  but the libraries/Win32 package had not received very much testing,
  and Ross can't do any more himself.  We aren't confident that it's
  reliable.
 
   (Sadly, the two packages have the same name (modulo case) which has
   given rise to much confusion. But that's another matter.)

* The libraries/HGL package works fine on Unix, where it sits on top
  of the libraries/X11 package.  But it does not work properly on
  Windows, where it sits on top of libraries/Win32. It is not clear
  whether the problem is with the HGL package or the Win32 package.


So the current situation is that, for GHC on Windows, the new
hierarchical 
libraries world lacks
(a) a reliable Win32 package and 
(b) a HGL package that works at all.  
This is sad, especially as we are trying to nuke hsllibs altogether.


Question: would anyone be willing to fix the libraries/Win32 
package; and (better still) look after it thereafter?  
We'd be delighted to give commit rights to anyone 
who was willing to do this.  

[So far as we know the two libraries/ packages work ok in Hugs, so
there probably isn't that much to do.]

Many thanks

Simon
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Help wanted! Win32 and HGL for GHC on Windows

2005-10-14 Thread Duncan Coutts
On Fri, 2005-10-14 at 09:20 +0100, Simon Peyton-Jones wrote:
 Dear GHC users
 
 This is an appeal for help with the 
 
   libraries/Win32 package [on Windows, obviously]
   libraries/HGL package [on Windows]

 Here's the situation:
 
 * Win32 provides access to the native Windows API, which is obviously
very useful for people writing Haskell on Windows.  HGL, the Haskell
Graphics Library, is the graphics package used by Paul Hudak's book
The Haskell School of Expression.

Well for the special case of the SOE library I have a re-implementation
of it based on Gtk+/cairo which should work on all platforms.

Another advantage is that it looks nicer when implemented with cairo:
http://haskell.org/~duncan/gtk2hs/SOE-cairo.png
HGL implementation vs Gtk/cairo implementation

If people actually use the rest of the HGL then this doesn't help.

I'm planning either to bundle this module with the next Gtk2Hs release
or release it as a seperate Cabal package.

Duncan

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Help wanted! Win32 and HGL for GHC on Windows

2005-10-14 Thread Sven Panne
Am Freitag, 14. Oktober 2005 11:28 schrieb Duncan Coutts:
[...]
 Well for the special case of the SOE library I have a re-implementation
 of it based on Gtk+/cairo which should work on all platforms. [...]

Which additional stuff would one have to install on an e.g. off-the-shelf SuSE 
Linux distribution or Win2k to use your SOE version? If the answer is not 
none, then there is a good point in making HGL work on plain X11 *and* 
Win32. :-)

Cheers,
   S.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users