Debian Patches

Status for gtk4/4.20.0+ds-1

Patch Description Author Forwarded Bugs Origin Last update
debian/reftest_compare_surfaces-Report-how-much-the-images-diffe.patch reftest_compare_surfaces: Report how much the images differ
In unattended/non-interactive/autobuilder environments where the images
are not trivially accessible, this provides a way to distinguish between
totally different rendering and more subtle issues.
Simon McVittie <smcv@debian.org> yes 2024-08-31
insttests/Revert-build-Drop-the-install-tests-option.patch Revert "build: Drop the install-tests option"
Debian and Ubuntu uses these installed tests as part of their
autopkgtest system

This reverts commit 3121f88265ac61733e257f5335473d6f139f158c.
Jeremy Bicha <jeremy.bicha@canonical.com> no 2023-01-12
insttests/Revert-testsuite-Remove-leftover-test.in-files.patch Revert "testsuite: Remove leftover test.in files"
This reverts commit b598f21506c31d3913c9705a00eb1e8270e9a810.
=?utf-8?q?Jeremy_B=C3=ADcha?= <jeremy.bicha@canonical.com> no 2024-12-06
gstplay/subprojects-Add-gst-play-1.0-as-subproject.patch subprojects: Add gst-play-1.0 as subproject
Make sure GST symbols are hidden to avoid leaking into libgtk and conflicting
with the real gstreamer if both libraries are loaded.
=?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> not-needed https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject 2023-03-17
gstplay/gst-play-1.0-Do-not-install-it-if-it-s-a-subproject.patch gst-play-1.0: Do not install it if it's a subproject =?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> not-needed https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject 2023-03-17
gstplay/media-Use-gst-play-1.0-from-meson-subproject.patch media: Use gst-play-1.0 from meson subproject =?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> not-needed https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject 2023-03-17
gstplayer/Revert-build-Add-wrap-file-for-GStreamer.patch Revert "build: Add wrap file for GStreamer"
This reverts commit 60d46ccc6c25af13787cb55a72702f9dc27d6093.

It duplicates our gstreamer-player subproject
=?utf-8?q?Jeremy_B=C3=ADcha?= <jeremy.bicha@canonical.com> no 2024-12-06
workarounds/reftests-Allow-minor-differences-to-be-tolerated.patch reftests: Allow minor differences to be tolerated
Based on an earlier patch by Michael Biebl, as used in Debian's GTK 3
packaging, with additional inspiration from librsvg's reftests.

Each .ui or .node reftest can have an accompanying .keyfile file
like this:

[reftest]
tolerated-diff-level=20
tolerated-diff-pixels=1000

If the image differs, but the number of pixels that differ is no more
than tolerated-diff-pixels and the differences are no more than
tolerated-diff-level, then we treat it as a success with warnings, save
the .diff.png for analysis, and use g_test_incomplete() to record the
test-case as "TODO".
Simon McVittie <smcv@debian.org> yes 2021-02-13
workarounds/Disable-inscription-markup.ui-reftest.patch Disable inscription-markup.ui reftest
It's rendered 1px to the left of where it should be, which is not a
serious problem for practical use of GTK, but is a test failure.
Simon McVittie <smcv@debian.org> not-needed upstream 2022-08-12
workarounds/tests-Mark-gltexture-as-expected-to-fail-on-big-endian-ma.patch tests: Mark gltexture as expected to fail on big-endian machines Simon McVittie <smcv@debian.org> not-needed 2023-08-22
workarounds/tests-Allow-longer-for-a-dialog-to-open.patch tests: Allow longer for a dialog to open
This hopefully makes the test pass more reliably, especially on riscv64.
Simon McVittie <smcv@debian.org> invalid debian upstream 2023-08-22
workarounds/nodeparser-Adjust-test-for-pango-1.52.0.patch nodeparser: Adjust test for pango 1.52.0
Adjust test result for changed output resulting from
https://gitlab.gnome.org/GNOME/pango/-/commit/d489fc8c4
=?utf-8?q?Jeremy_B=C3=ADcha?= <jeremy.bicha@canonical.com> yes 2024-03-09
workarounds/testsuite-skip-color-mix.patch testsuite: skip color-mix
https://gitlab.gnome.org/GNOME/gtk/-/issues/6907
=?utf-8?q?Jeremy_B=C3=ADcha?= <jeremy.bicha@canonical.com> no 2024-08-06
workarounds/gtkcssnumbervalue-Don-t-use-fesetround-on-ARM-softfloat.patch gtkcssnumbervalue: Don't use fesetround() on ARM softfloat
Older ARM CPUs have to emulate floating-point in software, and do not
implement rounding modes other than the default, FE_TONEAREST.
Implement nearbyint() the hard way when targeting an affected platform.
Simon McVittie <smcv@debian.org> no debian 2024-08-31
workarounds/scaling-test-Skip-floating-point-pixel-formats-with-Cairo.patch scaling test: Skip floating-point pixel formats with Cairo renderer
If the four chosen pixel values happen to have alpha values that average
to 16/17, GTK will quantize that into 8bpp integer space as
16/17*255 = 240, but Cairo/Pixman does its quantization differently and
gets 16/17*256 = 241.
Simon McVittie <smcv@debian.org> yes upstream 2024-09-03
workarounds/nodeparser-Mark-failing-tests-on-s390x.patch nodeparser: Mark failing tests on s390x Alessandro Astone <alessandro.astone@canonical.com> not-needed upstream 2025-08-18

All known versions for source package 'gtk4'

Links