Package: surf
Version: 2.0+git20201107-2
Severity: normal
Tags: patch

Dear Maintainer,

Ctrl-[jk biu] are bound to scrollv() or scrollh(), which depend on
webext-surf.so. However, WebKit cannot find it because
webkit_web_context_set_web_extensions_directory() is called with the
wrong WEBEXTDIR defined as /usr/local/lib/surf.

I don't know if this is the right way to do it, but on my local build,
this tiny patch fixed the bug.

--- debian/rules.orig   2020-08-29 08:13:41.000000000 +0900
+++ debian/rules        2022-11-26 16:25:38.225290826 +0900
@@ -7,6 +7,9 @@
 %:
        dh $@
 
+override_dh_auto_build:
+       dh_auto_build -- PREFIX=/usr
+
 override_dh_auto_install:
        dh_auto_install -- PREFIX=/usr
        dh_apparmor --profile-name=usr.bin.surf

Reply via email to