Re: Build error with The name `enable_javascript_markup' does not exist in the context of `WebKit.Settings?' when trying to build for buster-backports

Pirate Praveen <[email protected]>
Newsgroups gmane.linux.debian.devel.gtk-gnome
Message-ID <[email protected]>

On Sat, Oct 19, 2019 at 21:58, Pirate Praveen 
<[email protected]> 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
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.