Debian Patches

Status for plastex/3.1-5

Patch Description Author Forwarded Bugs Origin Last update
0005-Use-pdftotext-not-gs-to-work-around-broken-gs.patch Use pdftotext not gs to work around broken gs

Version 10.04.0~dfsg-1 of gs ships a broken txtwrite device that gets the
contents of PDFs wrong. pdftotext works, so switch to that instead, given
it's already installed anyway.
Stuart Prescott <stuart@debian.org> no debian 2024-11-11
0006-Rework-image-comparison-test-for-imagemagick-7.patch Rework image comparison test for imagemagick-7
Use an explicit intermediate PNG file with imagemagick-7 to make sure
the tests are comparing images of the same size.
Debian Python Team <team+python@tracker.debian.org> no 2024-11-11
0007-Relax-image-comparisons-in-test-suite.patch Relax image comparisons in test suite
Relax image comparisons in the test suite as the output was varying a
little between different versions of texlive which then results in FTBFS
and failed CI.
Stuart Prescott <stuart@debian.org> no 2024-11-12
0008-Fix-incorrect-escape-sequence.patch Fix incorrect escape sequence Stuart Prescott <stuart@debian.org> no 2025-03-16
0009-Drop-url-definition-from-doc-to-fix-doc-building.patch Drop url definition from doc to fix doc building Stuart Prescott <stuart@debian.org> no 2025-03-16
0010-Patch-out-old-cgi-module.patch Patch out old cgi module

Use html.escape rather than cgi.escape.
Stuart Prescott <stuart@debian.org> no 2025-03-16
0011-Use-non-capturing-groups-for-re.Scanner.patch Use non-capturing groups for re.Scanner
re.Scanner has always been problematic with capturing groups, with many
bugs reported about segfaults related to them. From Python 3.15, the use
of capturing groups in re.Scanner generates a ValueError:
ValueError: Cannot use capturing groups in re.Scanner

The capturing groups aren't actually needed here, so converting them to
non-capturing groups is an easy fix.
Stuart Prescott <stuart@debian.org> no 2026-10-01
0002-Run-tests-with-lualatex-for-better-portability.patch Run tests with lualatex for better portability
Avoid some big-endian failures (s390x and ppc64) with pdflatex by
switching to lualatex.
Debian Python Team <team+python@tracker.debian.org> no 2024-11-11
0003-Ensure-icons-are-copied-correctly-for-templates.patch Ensure icons are copied correctly for templates SVN-Git Migration <python-modules-team@lists.alioth.debian.org> no 2015-10-08
0004-Fix-image-comparator-in-test-suite.patch Fix image comparator in test suite
- specify sizes for intermediate images being compared
Stuart Prescott <stuart@debian.org> no 2024-11-12
0001-Allow-tests-to-run-with-non-default-Python.patch Allow tests to run with non-default Python Debian Python Team <team+python@tracker.debian.org> no 2024-11-11

All known versions for source package 'plastex'

Links