
Hello, This is my first post on this mailing list and I hope it will not be too off-topic. My point is that I have worked a little on the porting of the last (0.21) version of HDirect (http://www.haskell.org/hdirect/) to ghc 6.6. I succeeded in compiling the ihc.exe (idl compiler) but I'm now stuck on the boot-strapping of the COM library (which is required to have support for Automation). This seems to come from a new feature of the package management system, which includes the package's name in the interface files (.hi). Alas, on the beginning of this new year (happy new year to you all), I lack time to understand the cabal system to solve this. I've written to the people mentioned in the README (and others), which are supposed to support the library, but got no answer. I assume they are no longer supporting it. Thus, I simply wanted to know if someone on this list, more involved with ghc or haskell's community, would be interested to have the sources files so that, may be in the near future, hdirect could be up to date with ghc, and also that other people could benefit from that small contribution without re-inventing the wheel (my changes are not complex, but rather tedious because I had to track all deprecated libraries, correct a GHC-specific bug). I also think that hdirect build process should be translated to Cabal's setup (it currently uses Makefiles, but the build process is not straightforward, so the adaptation requires a knowledge I do not have of Cabal). Sincerely yours, Samuel P.-S. I do not check this mail on a daily basis, so it is possible I won't answer immediately, but within one or two days. Excuse my french, it is my mother tongue. __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités http://mail.yahoo.fr Yahoo! Mail

On Wed, Jan 10, 2007 at 09:24:40PM +0000, Fernand Lacas wrote:
Hello, This is my first post on this mailing list and I hope it will not be too off-topic. My point is that I have worked a little on the porting of the last (0.21) version of HDirect ([1]http://www.haskell.org/hdirect/) to ghc 6.6. I succeeded in compiling the ihc.exe (idl compiler) but I'm now stuck on the boot-strapping of the COM library (which is required to have support for Automation). This seems to come >from a new feature of the package management system, which includes the package's name in the interface files (.hi). Alas, on the beginning of this new year (happy new year to you all), I lack time to understand the cabal system to solve this. I've written to the people mentioned in the README (and others), which are supposed to support the library, but got no answer. I assume they are no longer supporting it. Thus, I simply wanted to know if someone on this list, more involved with ghc or haskell's community, would be interested to have the sources files so that, may be in the near future, hdirect could be up to date with ghc, and also that other people could benefit from that small contribution without re-inventing the wheel (my changes are not complex, but rather tedious because I had to track all deprecated libraries, correct a GHC-specific bug). I also think that hdirect build process should be translated to Cabal's setup (it currently uses Makefiles, but the build process is not straightforward, so the adaptation requires a knowledge I do not have of Cabal). Sincerely yours, Samuel P.-S. I do not check this mail on a daily basis, so it is possible I won't answer immediately, but within one or two days. Excuse my french, it is my mother tongue.
Hi Samuel. I know. If you want to use hdirect with com support you need some kind of 2 stage build. I've tried to compile it some time ago and I failed (lack of knowledge and understanding haskell at that time).. So you did succeed? similar to ghc its using a 2 stage build. I will post a link to this message on cabal-devel@haskell.org avoiding cross-posting, too So we have by now 4 packagers having problems with the current cabal system? wxwidgets, gtk2hs, hdirect and ghc itself? Greetings Marc

Hi Samuel, you may want to check out the CVS version of HDirect, which does have a version of the compiler which is reasonably up-to-date wrt GHC + Cabalized versions of both the 'comlib' and 'hdirect' libraries. foo$ export CVSROOT=:pserver:anoncvs@cvs.haskell.org:/cvs foo$ cvs login (Logging in to anoncvs@cvs.haskell.org) CVS password: cvs foo$ cvs co fptools/hdirect (Derived from CVS setup instructions at http://cvs.haskell.org/ ) I apologize for not having the time to work on or support that code. hth --sigbjorn On 1/10/2007 13:24, Fernand Lacas wrote:
Hello,
This is my first post on this mailing list and I hope it will not be too off-topic. My point is that I have worked a little on the porting of the last (0.21) version of HDirect (http://www.haskell.org/hdirect/) to ghc 6.6. I succeeded in compiling the ihc.exe (idl compiler) but I'm now stuck on the boot-strapping of the COM library (which is required to have support for Automation). This seems to come from a new feature of the package management system, which includes the package's name in the interface files (.hi). Alas, on the beginning of this new year (happy new year to you all), I lack time to understand the cabal system to solve this. I've written to the people mentioned in the README (and others), which are supposed to support the library, but got no answer. I assume they are no longer supporting it.
Thus, I simply wanted to know if someone on this list, more involved with ghc or haskell's community, would be interested to have the sources files so that, may be in the near future, hdirect could be up to date with ghc, and also that other people could benefit from that small contribution without re-inventing the wheel (my changes are not complex, but rather tedious because I had to track all deprecated libraries, correct a GHC-specific bug).
I also think that hdirect build process should be translated to Cabal's setup (it currently uses Makefiles, but the build process is not straightforward, so the adaptation requires a knowledge I do not have of Cabal).
Sincerely yours,
Samuel
P.-S. I do not check this mail on a daily basis, so it is possible I won't answer immediately, but within one or two days.
Excuse my french, it is my mother tongue.

Hi Sigbjorn,
Is there any plan to transition from CVS to darcs?
HDirect is removed from darcs'ing fptools, and left cvs long ago.
Because HDirect is not active.
http://www.haskell.org/pipermail/cvs-ghc/2005-October/026817.html
But HDirect is updated sometime.
(We can see HDirect moves 'comlib' into a hierarchic setting,
System.Win32.Com.* two month ago.)
And Visual Haskell project changes comlib.
http://www.haskell.org/pipermail/haskell/2006-September/018445.html
http://www.haskell.org/pipermail/haskell-cafe/2006-September/018037.html
Unfortunately these changes are independent. It forks comlib now.
So I want to know what is common change both repository and what
is useful change both version, easily.
I think darcs'ing HDirect and two comlib branch realise it. And
that helps to revive Visual Haskell's HDirect that can generate
it's comlib source code.
Best Regards,
On Fri, 12 Jan 2007 00:53:59 +0900, Sigbjorn Finne
you may want to check out the CVS version of HDirect, which does have a version of the compiler which is reasonably up-to-date wrt GHC + Cabalized versions of both the 'comlib' and 'hdirect' libraries.
foo$ export CVSROOT=:pserver:anoncvs@cvs.haskell.org:/cvs foo$ cvs login (Logging in to anoncvs@cvs.haskell.org) CVS password: cvs foo$ cvs co fptools/hdirect
(Derived from CVS setup instructions at http://cvs.haskell.org/ )
I apologize for not having the time to work on or support that code.
-- shelarcy <shelarcy capella.freemail.ne.jp> http://page.freett.com/shelarcy/

Some time ago I even started to design my own comlib. It is quite
different from HDirect's comlib but is more closer in spirit to
Haskell's FFI lib. It isn't completed yet but if someone is interested
in I would upload it in darcs next week. It is living in Foreign.COM
namespace.
Cheers,
Krasimir
On 1/12/07, shelarcy
Hi Sigbjorn,
Is there any plan to transition from CVS to darcs?
HDirect is removed from darcs'ing fptools, and left cvs long ago. Because HDirect is not active.
http://www.haskell.org/pipermail/cvs-ghc/2005-October/026817.html
But HDirect is updated sometime. (We can see HDirect moves 'comlib' into a hierarchic setting, System.Win32.Com.* two month ago.)
And Visual Haskell project changes comlib. http://www.haskell.org/pipermail/haskell/2006-September/018445.html http://www.haskell.org/pipermail/haskell-cafe/2006-September/018037.html
Unfortunately these changes are independent. It forks comlib now. So I want to know what is common change both repository and what is useful change both version, easily.
I think darcs'ing HDirect and two comlib branch realise it. And that helps to revive Visual Haskell's HDirect that can generate it's comlib source code.
Best Regards,
On Fri, 12 Jan 2007 00:53:59 +0900, Sigbjorn Finne
wrote: you may want to check out the CVS version of HDirect, which does have a version of the compiler which is reasonably up-to-date wrt GHC + Cabalized versions of both the 'comlib' and 'hdirect' libraries.
foo$ export CVSROOT=:pserver:anoncvs@cvs.haskell.org:/cvs foo$ cvs login (Logging in to anoncvs@cvs.haskell.org) CVS password: cvs foo$ cvs co fptools/hdirect
(Derived from CVS setup instructions at http://cvs.haskell.org/ )
I apologize for not having the time to work on or support that code.
-- shelarcy <shelarcy capella.freemail.ne.jp> http://page.freett.com/shelarcy/ _______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries

Krasimir Angelov wrote:
Some time ago I even started to design my own comlib. It is quite different from HDirect's comlib but is more closer in spirit to Haskell's FFI lib. It isn't completed yet but if someone is interested in I would upload it in darcs next week. It is living in Foreign.COM namespace.
I'm very interested in such a library. I've also developed my own com (client) library, but as for now it is too raw to be published. Cheers, Kyra
participants (6)
-
Fernand Lacas
-
Krasimir Angelov
-
kyra
-
Marc Weber
-
shelarcy
-
Sigbjorn Finne