#1149233 ITP: pdfjs-jbig2 -- JBIG2 decoder for pdf.js, compiled to WebAssembly

#1149233#5
Date:
2026-09-28 15:54:26 UTC
From:
To:
* Package name    : pdfjs-jbig2
  Version         : 0.0~git<date>
  Upstream Author : Mozilla Foundation
* URL             : https://github.com/mozilla/pdf.js.jbig2
* License         : Apache-2.0 (the code taken from PDFium is BSD-3-clause)
  Programming Lang: C++ (compiled to WebAssembly), JavaScript
  Description     : JBIG2 decoder for pdf.js, compiled to WebAssembly

The JBIG2 decoder pdf.js uses for bitonal images, built from the
corresponding part of PDFium with Emscripten.  As with openjpeg, upstream
also ships a JavaScript fallback built from the same sources.

I need it as a build-dependency of the zotero-reader package I am working
on.  It is not zotero specific: it is a general JBIG2 decoder compiled to
WebAssembly.

Of the four modules, this one needs the most care: only a handful of PDFium
source files are compiled, but they pull in headers from elsewhere in
PDFium, so the minimal set of files to ship has to be determined from the
actual build.

I intend to package the sibling modules (pdf.js.openjpeg, pdf.js.quickjs)
the same way.  pdfjs-qcms is already ITP'd as #1149220.

Thanks,
Emfox

#1149233#10
Date:
2026-09-29 19:00:16 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pdfjs-jbig2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1149233@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emfox Zhou <emfox@debian.org> (supplier of updated pdfjs-jbig2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 29 Sep 2026 00:57:18 +0800
Source: pdfjs-jbig2
Binary: pdfjs-jbig2
Architecture: source all
Version: 0.0~git20260423+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Emfox Zhou <emfox@debian.org>
Changed-By: Emfox Zhou <emfox@debian.org>
Description:
 pdfjs-jbig2 - JBIG2 decoder for pdf.js, compiled to WebAssembly
Closes: 1149233
Changes:
 pdfjs-jbig2 (0.0~git20260423+ds-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1149233).
Checksums-Sha1:
 5e346fab0775f3468606cbef97688e43b38e2d98 2058 pdfjs-jbig2_0.0~git20260423+ds-1.dsc
 44f47a0e0edcd4f40d1d1ab02e6a790fdbcb7c39 1645236 pdfjs-jbig2_0.0~git20260423+ds.orig.tar.xz
 7d8ece36c9d2378df579e59d4afe8d4dea016677 3868 pdfjs-jbig2_0.0~git20260423+ds-1.debian.tar.xz
 c7882dcf405eb1c10561a1409ba7d2bb7264f399 77120 pdfjs-jbig2_0.0~git20260423+ds-1_all.deb
 af00eb39e4fdebbcb9d525db84c9465e23982f7f 9684 pdfjs-jbig2_0.0~git20260423+ds-1_amd64.buildinfo
Checksums-Sha256:
 e7c61c2fe9b2c17d447959f549732f72ecde3f8ff48a0575e835a99bd15b49ba 2058 pdfjs-jbig2_0.0~git20260423+ds-1.dsc
 d337c947da98244e3837dc8a8326be9bd7542fb4e29cd77028aa0e98adacad94 1645236 pdfjs-jbig2_0.0~git20260423+ds.orig.tar.xz
 1de3a2605a3d3de0245f78adee28a0415d9281aeb6a140747a6d950541521651 3868 pdfjs-jbig2_0.0~git20260423+ds-1.debian.tar.xz
 1c0e4ba44a270c666e5250f59240d7564d14dc331aaa6f8f6931e9e7ad058c28 77120 pdfjs-jbig2_0.0~git20260423+ds-1_all.deb
 67c34684ee319b8cdc93039bb1b388a56dfbb898f744750ac7d3d084a2f4f4f6 9684 pdfjs-jbig2_0.0~git20260423+ds-1_amd64.buildinfo
Files:
 a75655c47fcba91e22093a95018831e4 2058 javascript optional pdfjs-jbig2_0.0~git20260423+ds-1.dsc
 19f30db7aa8ada912c37d9756d0c12cf 1645236 javascript optional pdfjs-jbig2_0.0~git20260423+ds.orig.tar.xz
 a59b010a7e97a1406f9aba7306b76cb5 3868 javascript optional pdfjs-jbig2_0.0~git20260423+ds-1.debian.tar.xz
 cae0d98117ca51d4499a149af32b49b5 77120 javascript optional pdfjs-jbig2_0.0~git20260423+ds-1_all.deb
 c8ed5498b95c3b7e3e8ce21abaca2363 9684 javascript optional pdfjs-jbig2_0.0~git20260423+ds-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEGSauJtItZVqOiaNpgImbv9t7vZQFAmq7u58ACgkQgImbv9t7
vZQkCg//ZunDj11Gh6RIJesG+QBV3Kk4NuDajQTMBHjqiM8A6NeYilac1WuN2VeT
cnSD3kSgHPG/w9jtpzo/txBK4yv/DVMaCwTw2/qx+s5a7zJpyEnDfxIc+F2Jmf75
bs5LSjMxYeCrbmIuP654+vd1SNT5pGBxoIbS6rQnH8i6zxAr9qInH+aVIjoaC7d9
SOA8iylno17ubxGZhNhYvLDIg0SwgHWjG5jC+KAu+fTWzKCvO1RedS7ZD9ji85Q/
glQQKSVZG2dvQON1za+oKJGBxMUUBILChXWH1FQscrKVbAQpOO1VHxqvAAuANTd6
PVbQsvxOxjtdHDogqFAftlnp1YR6imzGLy7brhrQVdzpX4iP7IcAwP0dk3a3IVTe
W1W0fETwz01eDo9Dd73iWp5BSgVqiRuRfMySAvHC/mxpWKlZ1vENpAbrpkYt1kpy
SIErADEVjCLOEzhTJff7b0sDTsy8Fm7ncpkoKxzBmIV660hcJAIPn7Me7jp+QcEk
0K55mpKUPyHIFD/evOjffDFXx+0EsYf8nB1gHgcTxfM6btcY9fL5OpacFbzQPU5H
eTKhjFnXTqmIRz8YyNCha+ntBTpA4z3Q5V7ytQ/FNuzqqBsSG3E/QqKz5JlHa6TZ
EVq4zLjH8cj1eYeN36wyhyX1V2YfmEoOgRzzClFUifvQiE8sQSU=
=YBkt
-----END PGP SIGNATURE-----