[Webkit-unassigned] [Bug 75459] Provide Vala bindings (vapi) for WebKitGTK

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 18 17:17:08 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=75459





--- Comment #4 from Eric Gregory <eric at yorba.org>  2012-01-18 17:17:07 PST ---
Created an attachment (id=123043)
 --> (https://bugs.webkit.org/attachment.cgi?id=123043&action=review)
Vapi generation files + script

Here's a demo setup for generating the Vapi.  I'm going to leave integrating all this into WebKitGtk's build system to the experts.

How to use this:
1. Apply Evan's GIR patch.
2. Build and install WebKitGtk
3. Open my gen-vapi.sh script and comment out all but the first call to vala-gen-introspect.
4. Run the script.  YOU WILL ENCOUNTER ERRORS.  This is because the JavascriptCoreGtk headers reference .h files that vala-gen-introspect cannot find.  The easiest thing to do here is to comment out those lines in the headers temporarily.
5. Uncomment the remaining lines in the script and run it again.

Now you should have two shiny new .vapi files!  Yay!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list