From: Axel Simon <A.S<imon@uk...> - 2003-01-28 10:09:40
On Mon, Jan 27, 2003 at 05:49:21PM -0500, Isaac Jones wrote:
> Hello Axel,
> In looking through the sources for gtk2hs, I find that most of the files
> are marked as covered under the GPL, while the copyright file at the
> beginning says that it is covered under the LGPL.
> I don't really know the relationship between c2hs, CTK and gtk2hs, but I
> note that CTK is covered under the GPL (CTK Light is covered under the
> LGPL), and therefore can't be used in a LGPL program,as far as I know.
> This is important to me because I work for a company developing
> proprietary software in Haskell and may want to use this library. We
> would prefer that it were covered under the LPGL as you seemed to
> intend, however as most of the source files are marked as covered under
> the GPL, I would be wary of using this tool in any proprietary software.
I was contacted on this issue before and decided that, in order to promote
Haskell and to be consistent with Gtk, the less restrictive LGPL license
applies. We just didn't get around to change all the header files... If
you need to release any programs, I'll make the change to header files!
> Do you know whether these issues can be straightened out with gtk2hs
> remaining under the LGPL?
I think it should not be a problem since we are only using c2hs, it's not
strictly part of the library.
> On another note, I'm trying to compile gtk2hs on Debian GNU/Linux with
> ghc 5.04.2 and get the following compile error:
> Compiling TreeStore ( treeList/TreeStore.hs, treeList/TreeStore.o
> Couldn't match `()' against `CInt'
> Expected type: IO ()
> Inferred type: IO CInt
> In the application `gtk_tree_store_remove (toTreeStore ts) ti'
> In the definition of `treeStoreRemove':
> gtk_tree_store_remove (toTreeStore ts) ti
This function has changed its signature from Gtk 2.0 to Gtk 2.2. It seems
that you are using Gtk 2.2. In the current CVS HEAD this problem is fixed
(we are now conditionally compiling this function to either return () or
Bool). Unfortunately CVS HEAD currently doesn't work with an external c2hs
which is why I don't want to make a release right now.
Hope this helps,
From: Axel Simon <A.S<imon@uk...> - 2003-02-03 13:37:37
On Thu, Jan 30, 2003 at 10:04:09AM -0500, Isaac Jones wrote:
> According to its home page, c2hs is quite explicitly gpl, not lgpl,
> which puts gtk2hs in a bad state I think. Perhaps the author of c2hs
> would not mind changing the license, or make an exception for you? I
> could contact him if you want.
I checked with Manuel, the author. c2hs is GPL, but everything which is
produced by c2hs is not. So there is no licensing problem. I have changed
the license on the gtk2hs sourceforge page.
> By the way, I was confused by a link from the gtk2hs home page. It
> claimed to link to c2hs, but actually linked to ctk, so I thought they
> were part of the same package. The ctk link should be changed from /ctk
> to /haskell/c2hs.