> On Mar 29, 2022, at 3:03 PM, Lothar Paltins via gnucash-devel 
> <gnucash-devel@gnucash.org> wrote:
> 
> Am 29.03.22 um 23:14 schrieb Frank H. Ellenberger:
>> Why do you want gtk4?
> 
> Don't ask me, ask the gnucash developers. I've compiled a lot of gnucash 
> versions by just executing cmake and make, but now it doesn't work any more. 
> I've looked at the cmake log files:
> 
> gnucash-4.9:
> -- Checking for module 'webkit2gtk-5.0>=2.14.0'
> --   Found webkit2gtk-5.0, version 2.34.6
> 
> gnucash-4.10:
> -- Checking for module 'webkit2gtk-4.0>=2.14.0'
> --   Package 'webkit2gtk-4.0', required by 'virtual:world', not found
> 
> That is, gnucash-4.9 did look for webkit2gtk-5.0 while gnucash-4.10 looks for 
> the outdated webkit2gtk-4.0.

Sorry, that is not true. I just pulled gnucash-4.9.tar.bz2 from SourceForge and 
the line in CMakeLists.txt is
      pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkit2gtk-4.0>=2.14.0)
Nor has that line been changed in git since 2020.

Next I updated my Arch Linux VM, which includes the latest WebKitGtk release, 
2.36.0, then checked the pc file. It's
webkit2gtk-4.0:
  [john@arch-64 gnucash-build]$ ls /usr/lib/pkgconfig/*webkit*
  /usr/lib/pkgconfig/webkit2gtk-4.0.pc
  /usr/lib/pkgconfig/webkit2gtk-web-extension-4.0.pc
  [john@arch-64 gnucash-build]$ pkg-config --modversion webkit2gtk-4.0
  2.36.0

So I suppose this webkit2gtk-5.0 is an OpenSuSE thing. You can easily enough 
edit that line in CMakeLists.txt to say 5.0 instead of 4.0 and see if it works. 
If it doesn't, you'll have to take that up with OpenSuSE.

Regards,
John Ralls

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to