Bug#1053713: webkit2gtk: Build with ENABLE_PDFJS=OFF?

Markus Demleitner msdemlei at fsfe.org
Mon Oct 9 13:32:14 BST 2023


Source: webkit2gtk
Version: 2.40.3-2~deb12u1
Severity: wishlist

Dear Maintainer,

Recent webkits force PDF rendering in the browser using pdf.js.

To me, this is a pain for several reasons, including pdf.js not
having my usual PDF viewer's key bindings, and PDF rendering being
entirely broken on sites I have disabled javascript for (i.e.,
almost all of them).  Regrettably, as far as I can tell, at this
point there is no way to turn off pdf.js at runtime.

I suspect the sort of person that is running webkit-based
browsers will typically have configured some PDF reader they like
as well and will hence likely be about as annoyed if their browser
ignores that choice as I am.

Given that, the lack of a runtime switch, and the fact that
building a webkit package takes the better part of a day on
my box: Any chance you could build with ENABLE_PDFJS=OFF at
least until upstream fiddles in a runtime switch?

Thanks,

       Markus


-- System Information:
Debian Release: 12.1
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-updates'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 6.1.38 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)



More information about the Pkg-webkit-maintainers mailing list