• =?utf-8?q?Re=3A?==?utf-8?q?_Re=3A?= Build error with The name =?utf-8?q

    From =?utf-8?q?sadiq=40sadiqpk=2Eorg?=@21:1/5 to All on Fri Oct 25 12:10:02 2019
    The compilation error happens because the symbol `enable_javascript_markup` property isn't present in vala vapi files, which means that valac-vapi has to be
    updated, currently the version in buster is 0.42. For a grep of `enable_javascript`,
    I get the following:

    $ grep enable_javascript /usr/share/vala-0.42/vapi/webkit2gtk-4.0.vapi
    public bool get_enable_javascript ();
    public void set_enable_javascript (bool enabled);
    public bool enable_javascript { get; set construct; }

    And for the same, with vala 0.46 on testing:

    $ grep enable_javascript /usr/share/vala-0.46/vapi/webkit2gtk-4.0.vapi
    public bool get_enable_javascript ();
    public bool get_enable_javascript_markup ();
    public void set_enable_javascript (bool enabled);
    public void set_enable_javascript_markup (bool enabled);
    public bool enable_javascript { get; set construct; }
    public bool enable_javascript_markup { get; set construct; }


    Which means that the symbol isn't currently present in the valac-0.42-vapi

    A minimal vala example for testing:

    using WebKit;

    // valac --pkg webkit2gtk-4.0 --thread test.vala
    public static int main (string[] args) {

    var test = new WebKit.Settings();
    test.enable_javascript = true;
    test.enable_javascript_markup = true;
    return 0;
    }


    Regards
    Mohammed Sadiq

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pirate Praveen@21:1/5 to sadiq@sadiqpk.org on Sun Nov 17 12:10:02 2019
    On വെ, Oct 25, 2019 at 11:47, sadiq@sadiqpk.org wrote:
    The compilation error happens because the symbol
    `enable_javascript_markup`
    property isn't present in vala vapi files, which means that
    valac-vapi has to be
    updated, currently the version in buster is 0.42. For a grep of `enable_javascript`,
    I get the following:

    $ grep enable_javascript /usr/share/vala-0.42/vapi/webkit2gtk-4.0.vapi
    public bool get_enable_javascript ();
    public void set_enable_javascript (bool enabled);
    public bool enable_javascript { get; set construct; }

    And for the same, with vala 0.46 on testing:

    $ grep enable_javascript /usr/share/vala-0.46/vapi/webkit2gtk-4.0.vapi
    public bool get_enable_javascript ();
    public bool get_enable_javascript_markup ();
    public void set_enable_javascript (bool enabled);
    public void set_enable_javascript_markup (bool enabled);
    public bool enable_javascript { get; set construct; }
    public bool enable_javascript_markup { get; set construct; }


    Which means that the symbol isn't currently present in the
    valac-0.42-vapi

    I'm not so familiar with gtk/vala, but quite comfortable with
    backporting.

    I can backport vala, but isn't having to use a new vala version to use
    a new webkitgtk a design bug? Can't we include vala bindings of
    webkitgtk in a separate package or part of webkitgtk? Or is webkitgtk considered part of vala itself?

    A minimal vala example for testing:

    using WebKit;

    // valac --pkg webkit2gtk-4.0 --thread test.vala
    public static int main (string[] args) {

    var test = new WebKit.Settings();
    test.enable_javascript = true;
    test.enable_javascript_markup = true;
    return 0;
    }


    Regards
    Mohammed Sadiq



    <div id="geary-body" dir="auto"><div><br></div></div><div id="geary-quote" dir="auto"><br>On വെ, Oct 25, 2019 at 11:47, sadiq@sadiqpk.org wrote:<br><blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">The compilation error
    happens because the symbol `enable_javascript_markup`
    property isn't present in vala vapi files, which means that valac-vapi has to be
    updated, currently the version in buster is 0.42. For a grep of `enable_javascript`,
    I get the following:

    $ grep enable_javascript /usr/share/vala-0.42/vapi/webkit2gtk-4.0.vapi
    public bool get_enable_javascript ();
    public void set_enable_javascript (bool enabled);
    public bool enable_javascript { get; set construct; }

    And for the same, with vala 0.46 on testing:

    $ grep enable_javascript /usr/share/vala-0.46/vapi/webkit2gtk-4.0.vapi
    public bool get_enable_javascript ();
    public bool get_enable_javascript_markup ();
    public void set_enable_javascript (bool enabled);
    public void set_enable_javascript_markup (bool enabled);
    public bool enable_javascript { get; set construct; }
    public bool enable_javascript_markup { get; set construct; }


    Which means that the symbol isn't currently present in the valac-0.42-vapi <br></div></blockquote><span style="white-space: pre-wrap;"><div><span style="white-space: pre-wrap;">I'm not so familiar with gtk/vala, but quite comfortable with backporting.</span></div><div><span style="white-space: pre-wrap;"><br></span></div>I can
    backport vala, but isn't having to use a new vala version to use a new webkitgtk a design bug? Can't we include vala bindings of webkitgtk in a separate package or part of webkitgtk? Or is webkitgtk considered part of vala itself?</span><div><br></div><
    <blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">A minimal vala example for testing:

    using WebKit;

    // valac --pkg webkit2gtk-4.0 --thread test.vala
    public static int main (string[] args) {

    var test = new WebKit.Settings();
    test.enable_javascript = true;
    test.enable_javascript_markup = true;
    return 0;
    }


    Regards
    Mohammed Sadiq

    </div></blockquote></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pirate Praveen@21:1/5 to praveen@onenetbeyond.org on Sun Nov 17 13:40:02 2019
    On ഞാ, Nov 17, 2019 at 16:32, Pirate Praveen
    <praveen@onenetbeyond.org> wrote:
    I'm not so familiar with gtk/vala, but quite comfortable with
    backporting.

    I can backport vala, but isn't having to use a new vala version to
    use a new webkitgtk a design bug? Can't we include vala bindings of webkitgtk in a separate package or part of webkitgtk? Or is webkitgtk considered part of vala itself?

    After backporting valac 0.46 and using it, I can build geary. I will go
    ahead with uploading both to buster-backports now.


    <div id="geary-body" dir="auto"><div><br></div></div><div id="geary-quote" dir="auto"><br>On ഞാ, Nov 17, 2019 at 16:32, Pirate Praveen &lt;praveen@onenetbeyond.org&gt; wrote:<br><blockquote type="cite"><div id="geary-quote" dir="auto"><span style="
    white-space: pre-wrap;"><div><span style="white-space: pre-wrap;">I'm not so familiar with gtk/vala, but quite comfortable with backporting.</span></div><div><span style="white-space: pre-wrap;"><br></span></div>I can backport vala, but isn't having to
    use a new vala version to use a new webkitgtk a design bug? Can't we include vala bindings of webkitgtk in a separate package or part of webkitgtk? Or is webkitgtk considered part of vala itself?</span></div></blockquote><span style="white-space: pre-
    wrap;"><br></span><div><span style="white-space: pre-wrap;">After backporting valac 0.46 and using it, I can build geary. I will go ahead with uploading both to buster-backports now.</span></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)