Debian Patches

Status for pdfjs-jbig2/0.0~git20260423+ds-1

Patch Description Author Forwarded Bugs Origin Last update
0001-enable-exception-support.patch Enable exception support for the JavaScript fallback build
diff --git a/compile.sh b/compile.sh
index c11b0b8..c4a7025 100755
not-needed vendor, https://github.com/mozilla/pdf.js.jbig2
0002-use-script-name-for-wasm.patch Use _scriptName instead of import.meta.url to find jbig2.wasm Emscripten writes new URL("jbig2.wasm", import.meta.url) into the generated
glue. pdf.js builds this glue with webpack and its gulpfile rejects any
bundled module that still contains that expression, so the bundle fails to
build. _scriptName is the very same value -- Emscripten sets it to
import.meta.url at the top of the file -- and is what the rest of the
preamble already uses, so the behaviour is unchanged.
Emfox Zhou <emfox@debian.org> not-needed vendor, https://github.com/mozilla/pdf.js.jbig2

All known versions for source package 'pdfjs-jbig2'

Links