jun7 / wyebadblock

An adblock extension for wyeb, also webkit2gtk browsers.
GNU General Public License v3.0
74 stars 6 forks source link

support webkit2gtk-4.1 #14

Open jjakob opened 1 year ago

jjakob commented 1 year ago

Is it possible to support webkit2gtk-4.1?

I use it with vimb but the latest version built from the master tree uses webkit2gtk-4.1. The first time after upgrading it crashed with an error traps: WebKitWebProces[14561] trap int3 ip:7f5f18c6feef sp:7ffd20087c00 error:0 in libglib-2.0.so.0.7400.4[7f5f18c31000+8e000] which is caused by (WebKitWebProcess:14561): libsoup-ERROR **: 07:03:49.719: libsoup3 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported. because 4.1 uses libsoup3. I had to delete the wyeb adblock extension to make it work.

jun7 commented 1 year ago

Thank you for reporting. I add a make option WEBKITVER. see readme that updated.

jjakob commented 1 year ago

Thanks, it works. I decided to name the installed wyebab binary wyebab-4.1 so that it can coexist with the old, 4.0 wyebab, so it is possible to install them at the same time. I made an ebuild for it here: https://github.com/jjakob/gentoo-overlay/blob/master/www-misc/wyebadblock/wyebadblock-1.0.0_p20230212.ebuild I modified the ebuild in the guru repo https://github.com/gentoo-mirror/guru/blob/master/www-misc/wyebadblock/wyebadblock-1.0.0.ebuild