gtk4.git
3 years agoSkip some known-failing tests on mips-family architectures
Simon McVittie [Thu, 2 Sep 2021 22:31:54 +0000 (23:31 +0100)]
Skip some known-failing tests on mips-family architectures

Forwarded: no

Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-some-known-failing-tests-on-mips-family-architecture.patch

3 years agoreftests: Allow minor differences to be tolerated
Simon McVittie [Sat, 13 Feb 2021 16:19:10 +0000 (16:19 +0000)]
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".

Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required

Gbp-Pq: Name reftests-Allow-minor-differences-to-be-tolerated.patch

3 years agoreftest_compare_surfaces: Report how much the images differ
Simon McVittie [Sat, 13 Feb 2021 18:26:24 +0000 (18:26 +0000)]
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.

Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required

Gbp-Pq: Name reftest_compare_surfaces-Report-how-much-the-images-diffe.patch

3 years agoegl: Fix invalid format string
Loïc Minier [Wed, 11 May 2022 19:43:04 +0000 (19:43 +0000)]
egl: Fix invalid format string

(cherry picked from commit 4f2b1b3cfcf1f11f14993656c21105bbbb9432d7)

Gbp-Pq: Name egl-Fix-invalid-format-string.patch

3 years agogtk4 (4.6.4+ds-2) unstable; urgency=medium
Jeremy Bicha [Sat, 14 May 2022 14:05:42 +0000 (15:05 +0100)]
gtk4 (4.6.4+ds-2) unstable; urgency=medium

  * Cherry-pick patch to fix pasting into the filechooser name field
    (LP: #1971532)

[dgit import unpatched gtk4 4.6.4+ds-2]

3 years agoImport gtk4_4.6.4+ds-2.debian.tar.xz
Jeremy Bicha [Sat, 14 May 2022 14:05:42 +0000 (15:05 +0100)]
Import gtk4_4.6.4+ds-2.debian.tar.xz

[dgit import tarball gtk4 4.6.4+ds-2 gtk4_4.6.4+ds-2.debian.tar.xz]

3 years agoImport gtk4_4.6.4+ds.orig.tar.xz
Jeremy Bicha [Fri, 13 May 2022 20:26:26 +0000 (21:26 +0100)]
Import gtk4_4.6.4+ds.orig.tar.xz

[dgit import orig gtk4_4.6.4+ds.orig.tar.xz]