On Thu, 2009-06-25 at 19:39 -0300, Maurí­cio wrote:
> >> Can such grep magic be made into Haskell functions?
> > 
> > Yes, of course. But it needs somebody who understands how to do this  
> > all from within Cabal.
> >
> 
> If you have time to write a small map for what should I
> look for in gtk2hs files, I'll give some time to it. I
> think I know how to do that, although I'm not 100% sure.

Well, I don't think there is anything in the .chs/.hs files of Gtk2Hs
that is special. It is just the dependencies that need to be
incorporated into the Cabal build system.

Maybe I'm missing your point.

> > I think it is no problem to depend on a tool in a Cabal package. So  
> > we could have a c2hs-gtk2hs which would be a program only usable by  
> > Gtk2Hs modules.
> 
> The way I usually configure my cabal packages such c2hs-gtk2hs
> beeing provided would not ensure c2hs executable file is
> actually seen in your PATH. But I'll try to check that also.

So Cabal is not meant to install executables?

> (Also, do you have a pointer to that first attempt to
> write a cabal package for gtk2hs? I wasn't able to find it
> on the list.)

It's here:

http://sourceforge.net/mailarchive/forum.php?thread_name=488938cd.1997600a.51d5.465d%40mx.google.com&forum_name=gtk2hs-devel


Cheers,
Axel.

> Best,
> Maurício
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Gtk2hs-devel mailing list
> Gtk2hs-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel


------------------------------------------------------------------------------
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to