• Build error with The name `enable_javascript_markup' does not exist in

    From Pirate Praveen@21:1/5 to All on Sat Oct 19 18:40:02 2019
    Hi,

    I'm trying to build geary 3.34.1 for buster-backports. I was able to
    build 3.34.0 successfully, but now I'm getting this error with 3.34.1

    ../src/client/components/client-web-view.vala:310.9-310.38: error: The
    name `enable_javascript_markup' does not exist in the context of `WebKit.Settings?'

    setts.enable_javascript_markup = false;

    I tried updating minimum versions of libwebkit2gtk-4.0-dev (>= 2.26~)
    and libjavascriptcoregtk-4.0-dev (>= 2.26~), but the error is still
    there. I had to relax dependency on gtk to build with libgtk-3-dev to
    3.24.5 and also meson. Any other libraries I should update?

    Thanks

    Praveen




    <div id="geary-body" dir="auto"><div>Hi,</div><div><br></div><div>
    <p style="margin: 12px 0px;"><!--StartFragment-->I'm trying to build geary 3.34.1 for buster-backports. I was able to build 3.34.0 successfully, but now I'm getting this error with 3.34.1<!--EndFragment--></p><p style="margin: 12px 0px;">../src/client/
    components/client-web-view.vala:310.9-310.38: error: The name `enable_javascript_markup' does not exist in the context of `WebKit.Settings?'</p><p style="margin: 12px 0px;">&nbsp; &nbsp; &nbsp; &nbsp; setts.enable_javascript_markup = false;</p><div>
    <p style="margin: 12px 0px;"><!--StartFragment-->I tried updating minimum versions of libwebkit2gtk-4.0-dev (&gt;= 2.26~) and libjavascriptcoregtk-4.0-dev (&gt;= 2.26~), but the error is still there. I had to relax dependency on gtk to build with libgtk-
    3-dev to 3.24.5 and also meson. Any other libraries I should update?<!--EndFragment--></p><p style="margin: 12px 0px;">Thanks</p><p style="margin: 12px 0px;">Praveen</p><p style="margin: 12px 0px;"><br></p></div>
    </div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pirate Praveen@21:1/5 to praveen@onenetbeyond.org on Sat Oct 19 18:50:02 2019
    On Sat, Oct 19, 2019 at 21:58, Pirate Praveen
    <praveen@onenetbeyond.org> wrote:
    Hi,

    I'm trying to build geary 3.34.1 for buster-backports. I was able to
    build 3.34.0 successfully, but now I'm getting this error with 3.34.1

    ../src/client/components/client-web-view.vala:310.9-310.38: error:
    The name `enable_javascript_markup' does not exist in the context of `WebKit.Settings?'

    setts.enable_javascript_markup = false;

    I tried updating minimum versions of libwebkit2gtk-4.0-dev (>= 2.26~)
    and libjavascriptcoregtk-4.0-dev (>= 2.26~), but the error is still
    there. I had to relax dependency on gtk to build with libgtk-3-dev to
    3.24.5 and also meson. Any other libraries I should update?


    I found the upstream commit that introduced this change https://gitlab.gnome.org/GNOME/geary/commit/0cb33c7d91cdaf6a74cb8b15c1f3e8fe952966bb

    But according to this change target webkit was bumped from 2.20 to 2.24
    only which buster already have (with backports having 2.26).
    Thanks

    Praveen




    <div id="geary-body" dir="auto"><div><br></div></div><div id="geary-quote" dir="auto"><br>On Sat, Oct 19, 2019 at 21:58, Pirate Praveen &lt;praveen@onenetbeyond.org&gt; wrote:<br><blockquote type="cite"><div dir="auto" id="geary-body"><div>Hi,</div><div><
    </div><div>
    <p style="margin: 12px 0px;"><!--StartFragment-->I'm trying to build geary 3.34.1 for buster-backports. I was able to build 3.34.0 successfully, but now I'm getting this error with 3.34.1<!--EndFragment--></p><p style="margin: 12px 0px;">../src/client/
    components/client-web-view.vala:310.9-310.38: error: The name `enable_javascript_markup' does not exist in the context of `WebKit.Settings?'</p><p style="margin: 12px 0px;">&nbsp; &nbsp; &nbsp; &nbsp; setts.enable_javascript_markup = false;</p><div>
    <p style="margin: 12px 0px;"><!--StartFragment-->I tried updating minimum versions of libwebkit2gtk-4.0-dev (&gt;= 2.26~) and libjavascriptcoregtk-4.0-dev (&gt;= 2.26~), but the error is still there. I had to relax dependency on gtk to build with libgtk-
    3-dev to 3.24.5 and also meson. Any other libraries I should update?<!--EndFragment--></p><p style="margin: 12px 0px;"><br></p></div></div></div></blockquote>I found the upstream commit that introduced this change https://gitlab.gnome.org/GNOME/geary/
    commit/0cb33c7d91cdaf6a74cb8b15c1f3e8fe952966bb<div><br></div><div>But according to this change target webkit was bumped from 2.20 to 2.24 only which buster already have (with backports having 2.26).<br><blockquote type="cite"><div dir="auto"><div><div><
    p style="margin: 12px 0px;">Thanks</p><p style="margin: 12px 0px;">Praveen</p><p style="margin: 12px 0px;"><br></p></div>
    </div></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 Sat Oct 19 19:00:01 2019
    On Sat, Oct 19, 2019 at 22:15, Pirate Praveen
    <praveen@onenetbeyond.org> wrote:


    On Sat, Oct 19, 2019 at 21:58, Pirate Praveen
    <praveen@onenetbeyond.org> wrote:
    Hi,

    I'm trying to build geary 3.34.1 for buster-backports. I was able to
    build 3.34.0 successfully, but now I'm getting this error with 3.34.1

    ../src/client/components/client-web-view.vala:310.9-310.38: error:
    The name `enable_javascript_markup' does not exist in the context of
    `WebKit.Settings?'

    setts.enable_javascript_markup = false;

    I tried updating minimum versions of libwebkit2gtk-4.0-dev (>=
    2.26~) and libjavascriptcoregtk-4.0-dev (>= 2.26~), but the error is
    still there. I had to relax dependency on gtk to build with
    libgtk-3-dev to 3.24.5 and also meson. Any other libraries I should
    update?


    I found the upstream commit that introduced this change https://gitlab.gnome.org/GNOME/geary/commit/0cb33c7d91cdaf6a74cb8b15c1f3e8fe952966bb

    But according to this change target webkit was bumped from 2.20 to
    2.24 only which buster already have (with backports having 2.26).

    Asked upstream here
    https://gitlab.gnome.org/GNOME/geary/issues/78#note_628550
    Thanks

    Praveen




    <div id="geary-body" dir="auto"><div><br></div></div><div id="geary-quote" dir="auto"><br>On Sat, Oct 19, 2019 at 22:15, Pirate Praveen &lt;praveen@onenetbeyond.org&gt; wrote:<br><blockquote type="cite"><div id="geary-body" dir="auto"><div><br></div></
    <div id="geary-quote" dir="auto"><br>On Sat, Oct 19, 2019 at 21:58, Pirate Praveen &lt;praveen@onenetbeyond.org&gt; wrote:<br><blockquote type="cite"><div dir="auto" id="geary-body"><div>Hi,</div><div><br></div><div>
    <p style="margin: 12px 0px;"><!--StartFragment-->I'm trying to build geary 3.34.1 for buster-backports. I was able to build 3.34.0 successfully, but now I'm getting this error with 3.34.1<!--EndFragment--></p><p style="margin: 12px 0px;">../src/client/
    components/client-web-view.vala:310.9-310.38: error: The name `enable_javascript_markup' does not exist in the context of `WebKit.Settings?'</p><p style="margin: 12px 0px;">&nbsp; &nbsp; &nbsp; &nbsp; setts.enable_javascript_markup = false;</p><div>
    <p style="margin: 12px 0px;"><!--StartFragment-->I tried updating minimum versions of libwebkit2gtk-4.0-dev (&gt;= 2.26~) and libjavascriptcoregtk-4.0-dev (&gt;= 2.26~), but the error is still there. I had to relax dependency on gtk to build with libgtk-
    3-dev to 3.24.5 and also meson. Any other libraries I should update?<!--EndFragment--></p><p style="margin: 12px 0px;"><br></p></div></div></div></blockquote>I found the upstream commit that introduced this change https://gitlab.gnome.org/GNOME/geary/
    commit/0cb33c7d91cdaf6a74cb8b15c1f3e8fe952966bb<div><br></div><div>But according to this change target webkit was bumped from 2.20 to 2.24 only which buster already have (with backports having 2.26).</div></div></blockquote><div><br></div>Asked upstream
    here&nbsp;https://gitlab.gnome.org/GNOME/geary/issues/78#note_628550<br><blockquote type="cite"><div dir="auto"><div><blockquote type="cite"><div dir="auto"><div><div><p style="margin: 12px 0px;">Thanks</p><p style="margin: 12px 0px;">Prav
    een</p><p style="margin: 12px 0px;"><br></p></div> </div></div></blockquote></div></div></blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mohammed Sadiq@21:1/5 to Pirate Praveen on Mon Nov 18 04:10:01 2019
    On 2019-11-17 16:32, Pirate Praveen wrote:
    On വെ, Oct 25, 2019 at 11:47, sadiq@sadiqpk.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?

    Well, that's how vala works. If upstream (ie, webkit2gtk here) doesn't
    maintain
    the bindings, there is no other better way.

    Anway, you don't need to pull a whole new vala version for this.
    All you might need could be just two patches: https://gitlab.gnome.org/GNOME/vala/commit/8a2e9e0f01b82bd81ab9ddf895733c6bf551fccc
    and https://gitlab.gnome.org/GNOME/vala/commit/ff57dee633975cba39883af7caf4d21e4909402e


    Regards,
    Mohammed Sadiq

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