[Webkit-unassigned] [Bug 45874] introspection does not build with g-i 0.9.5

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 20 02:18:11 PDT 2010


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





--- Comment #2 from Robert Ancell <robert.ancell at gmail.com>  2010-10-20 02:18:11 PST ---
The current JSCore is:

<?xml version="1.0"?>
<repository version="1.1"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0">
  <namespace name="JSCore" version="1.0" shared-library="webkit-1.0">
    <alias name="GlobalContextRef"
           target="none"
           c:type="JSGlobalContextRef"/>
    <alias name="ObjectRef" target="none" c:type="JSObjectRef"/>
    <function name="EvaluateScript" c:identifier="JSEvaluateScript">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
      </parameters>
    </function>
  </namespace>
</repository>

Debugging shows it is the <alias> tags that is causing the problem.  I changed them to the following:

<alias name="GlobalContextRef" c:type="JSGlobalContextRef">
  <type name="opaque" c:type="void*"/>
</alias>
<alias name="ObjectRef" c:type="JSObjectRef">
  <type name="opaque" c:type="void*">
</alias>

This seems to get past the compilation problem.  However I haven't been able to get the .deb to compile with this fix and I'm not an introspection expert - I don't know if this is correct syntax.

-- 
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