Bug#1130768: use the libjs-pdf package instead of in-tree bundled blobs
Alberto Garcia
berto at igalia.com
Sun Mar 15 19:32:32 GMT 2026
On Sat, Mar 14, 2026 at 10:21:58PM +0000, John Scott wrote:
> I can't find which WebKit binary package(s) get this copy of PDF.js
> bundled into them or where they are.
Those files are bundled inside the WebKitGTK library as a GResource:
$ gresource list /usr/lib/x86_64-linux-gnu/libwebkitgtk-6.0.so.4 | grep pdfjs
And if I'm not wrong they are loaded at runtime from this file:
Source/WebCore/loader/soup/ResourceLoaderSoup.cpp
I suppose it's possible to have a build flag to use an external PDF.js
library, but that's a change that should be discussed with upstream in
https://bugs.webkit.org/
Berto
More information about the Pkg-webkit-maintainers
mailing list