Debian Patches
Status for picosvg/0.23.0-1
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0002-Fix-arch-dependent-test-failures-from-skia-pathops.patch | Fix architecture-dependent test failures from skia-pathops skia-pathops (libskia) computes geometrically identical results on every architecture, but the exact floating point values and the order in which subpaths come out differ. The tests compare pretty-printed SVG as strings, so this noise turns into test failures on some architectures only. Fix 1: Normalize subpath order before comparing, by sorting the subpaths within each <path d="..."> attribute. This covers e.g. test_topicosvg[global-fill-none...]. Fix 2: Compare numbers with a tolerance of one unit in the last decimal place the test asked to round to, instead of comparing the rounded strings. Rounding alone does not help for values sitting on a rounding boundary: 249.649 and 249.65 are the same picture, yet round to 249.6 and 249.7. Everything outside numbers still has to match exactly, and a drift of more than one unit in the last place is still a failure. Fix 3: Move clip-from-brazil-flag.svg from test_topicosvg to test_topicosvg_tricky with round_ndigits=1, so that it too is compared with a tolerance. On arm64 and ppc64el the skia-pathops output differs from the x86-generated expected file by up to ~0.01 (e.g. 249.649 vs 249.65). |
Boyuan Yang <byang@debian.org> | no | 2026-04-06 |
All known versions for source package 'picosvg'
- 0.23.0-1 (forky, sid)
