Debian Patches

Status for gtk4/4.16.5+ds-2

Patch Description Author Forwarded Bugs Origin Last update
testsuite-If-validation-result-is-not-as-expected-log-the.patch testsuite: If validation result is not as expected, log the diff
It's easier to diagnose test failures if everything (within reason)
is in the build log.
Simon McVittie <smcv@debian.org> yes 2024-09-03
workarounds/testsuite-tools-validate-Use-softpipe-driver-for-validate.patch testsuite/tools/validate: Use softpipe driver for validate test
The llvmpipe driver sometimes spams stderr with messages from libLLVM,
which cause this particular test to fail.
Simon McVittie <smcv@debian.org> no upstream 2024-09-22
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-tests-Stop-copying-the-tool-tests.patch Revert "tests: Stop copying the tool tests"
This reverts commit bb3a6214cbeaa3211be007192e536bd473323836.

This is actually used by the installed tests
which we also had to revert dropping (in a separate patch)
Jeremy Bicha <jeremy.bicha@canonical.com> no 2023-06-05
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
gstplayer/subprojects-Add-gst-player-1.0-as-subproject.patch subprojects: Add gst-player-1.0 as subproject =?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> not-needed https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject 2023-03-17
gstplayer/gstreamer-player-1.0-Do-not-install-it-if-it-s-a-subproje.patch gstreamer-player-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
gstplayer/media-Use-gstplayer-from-meson-subproject.patch media: Use gstplayer 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/gstreamer-player-Use-GtkName-Prefix-to-avoid-issues-if-ac.patch gstreamer-player: Use GtkName Prefix to avoid issues if actual library is included =?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> not-needed https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject 2023-03-17
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/scaling-test-Skip-floating-point-texture-tests-on-softpip.patch scaling test: Skip floating-point texture tests on softpipe
This doesn't seem to work reliably. We can try this again when
llvm-toolchain-18 provides a working llvmpipe on riscv64, estimated to
happen after around 3 days of additional compiling.
Simon McVittie <smcv@debian.org> invalid 2024-09-09
workarounds/memorytexture-test-Ignore-failures-with-FP-softpipe-ngl-o.patch memorytexture test: Ignore failures with FP + softpipe + ngl on mips*

Floating-point texture formats do not seem to be reliable with
GALLIUM_DRIVER=softpipe and the ngl renderer, but only on mips64el
(riscv64 seems to be OK). We can revisit this if mips64el gets a
working llvmpipe in future.
Simon McVittie <smcv@debian.org> invalid debian 2024-09-10
gsk-Change-default-renderer-back-to-ngl.patch gsk: Change default renderer back to ngl
Restore renderers priority to
1) ngl
2) gl
3) vulkan
as in 4.14.x
Alessandro Astone <alessandro.astone@canonical.com> not-needed 2024-09-26

All known versions for source package 'gtk4'

Links