Have you tried this?... darcs get http://patch-tag.com/r/hamish/webkit
On 22 Apr 2013, at 05:12, koral <ko...@mailoo.org> 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 version of webkit package doesn't compile, > because of missing ObjectClass instances in Type.chs. > > I didn't find any documentation about how the build chain works, so I > resorted to a plain reading of Setup*.hs files. > I first attempted to edit Types.chs directly, until I realized it is > generated by gtk2hsTypeGen before each build -- would have appreciated some > hint about that not to waste time. > > I had to print some internal states from SetupMain.hs to display the > arguments fed to gtk2hsTypeGen -- side suggestion: what about adding some > logs in Gtk2Hs module so that newbies can understand what's going on ? > So it appears hierarchy{,3}.list files are read by gtk2hsTypeGen to generate > Type.chs. I noticed that GtkObject was removed from hierarchy3.list, and that > putting it back fixes the build as the ObjectClass instances get generated. > > Was that GtkObject removal intended ? If yes, how else could we fix webkit's > build ? > > Also, as I'm planning to update the webkit's package a little bit, would you > have some documentation/guidelines to recommend ? I've just started learning > FFI so I'm not aware of the usual idioms/good practices to apply. > > -- > koral > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Gtk2hs-devel mailing list > Gtk2hs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel