@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 version is 2.0.1, (last updated on 2013-04-21 <https://www.archlinux.org/packages/extra/x86_64/webkitgtk3/>), so newer than the versions mentioned by Hamish (1.8.3 and 1.10.0). > 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 on the 'catch' function that was in System.IO.Error (if I remember well), while this was moved to Control.Exception in recent versions of base package. The problem exists in hdirect-0.21/Utils.lhs and in hdirect-0.21/PreProc.lhs. Nothing that I can't fix :), so I eventually managed to build/install it :) . I can send a pull request if you wish. So I did what you described: * I downloaded/extracted http://webkitgtk.org/releases/webkitgtk-2.0.1.tar.xz * in my Haskell webkit source directory, I ran "domconv-webkit webkit.idl -I../webkitgtk-2.0.1/Source/WebCore", but I'm getting a parse error: > Processing IDL: webkit.idl args ["-I../webkitgtk-2.0.1/Source/WebCore/"] > domconv-webkit: user error > (../webkitgtk-2.0.1/Source/WebCore/dom/Attr.idl:22: Parse error: ) I understand domconv-webkit is "only" a helper, and that I could manually change the hierarchy*.list files instead. Maybe I'll resort to that as I'm unable to have domconv-webkit working. -- koral ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel