Re: [Gtk2hs-devel] Hierarchy file for webkit

2013-04-28 Thread Hamish Mackenzie
On 28 Apr 2013, at 22:13, koral wrote: >> The tool you need is here... >> https://github.com/ghcjs/domconv-webkit >> >> Cabal install this and then... > > Well, it won't build as is. The code seems rather old: apart from the > bad-encoding and tabs-instead-of-spaces annoyances, it still relies

Re: [Gtk2hs-devel] Hierarchy file for webkit

2013-04-28 Thread koral
I eventually managed to have the Haskell webkit package build/install correctly with respect to webkitgtk v2.0.1. As explained, I had to fix several files (some *.chs and hierarchy3.list). I wrapped my changes with WEBKIT_CHECK_VERSION(2,0,0) so it should be safe; still, I would appreciate if som

Re: [Gtk2hs-devel] Hierarchy file for webkit

2013-04-28 Thread koral
@Daniel Wagner: > What version of the various libraries do you have? (If you're on > Linux, what distribution? Maybe I can reproduce this in a VM...) I'm running archlinux, which generally provides packages closer to upstream compared to other distribution like Ubuntu. The packaged webkitgtk3 v

Re: [Gtk2hs-devel] Hierarchy file for webkit

2013-04-27 Thread Hamish Mackenzie
On 28 Apr 2013, at 11:15, koral wrote: > Is it normal that both hierarchy* files are mentioned ? I would have expected > only one of them. > > Besides, my webkitgtk-3.0 installation doesn't link well with the haskell > binding: > * the WebKitDOM*.h files are in a distinct 'webkitdom' directory

Re: [Gtk2hs-devel] Hierarchy file for webkit

2013-04-27 Thread Daniel Wagner
On 2013-04-27 19:15, koral wrote: >> Yep, the gtk2hs build chain is super complicated. You can get some >> details by passing -v3 to cabal when you invoke it. > >> From what I can see here, gtk2hsTypeGen is called with the following >> options: > > --hierarchy=hierarchy3.list > --tag=webkit > --

Re: [Gtk2hs-devel] Hierarchy file for webkit

2013-04-27 Thread koral
Hello, > Hm. This sounds like maybe you are building webkit and gtk with > different settings of the gtk3 flag. Can you check that both are built > with -f-gtk3 or both are built with -fgtk3? (Perhaps you are using an > installation of gtk that you already had, and which doesn't do GTK3, but > yo

Re: [Gtk2hs-devel] Hierarchy file for webkit

2013-04-22 Thread Daniel Wagner
On 2013-04-21 13:32, Hamish Mackenzie wrote: > Have you tried this?... > darcs get http://patch-tag.com/r/hamish/webkit These changes should already be merged, right? So no need for this if he's trying to build from the official repository. ~d

Re: [Gtk2hs-devel] Hierarchy file for webkit

2013-04-22 Thread Daniel Wagner
Hi koral! On 2013-04-21 13:12, koral wrote: > I've started fiddling with webkit's binding, as it seems rather > unmaintained and as I need some missing functions for my project > (hbro). > First surprise: as is, darcs version of webkit package doesn't > compile, because of missing ObjectClass inst

Re: [Gtk2hs-devel] Hierarchy file for webkit

2013-04-21 Thread Axel Simon
Hi Koral, the files Types.chs and Signal.chs are always auto-generated in every Gtk2Hs module. The reason why Object itself is not generated is that it is imported from the Types.chs file from glib. Yes, there could be more documentation... Regards, Axel On 21.04.2013, at 19:12, koral wrote

Re: [Gtk2hs-devel] Hierarchy file for webkit

2013-04-21 Thread Hamish Mackenzie
Have you tried this?... darcs get http://patch-tag.com/r/hamish/webkit On 22 Apr 2013, at 05:12, koral wrote: > Hello, > > I've started fiddling with webkit's binding, as it seems rather unmaintained > and as I need some missing functions for my project (hbro). > First surprise: as is, darcs v