Package: gtk4 / 4.20.3+ds-2

Metadata

Package Version Patches format
gtk4 4.20.3+ds-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
debian/reftest_compare_surfaces Report how much the images diffe.patch | (download)

testsuite/gsk/compare-render.c | 12 10 + 2 - 0 !
testsuite/gsk/normalize.c | 6 5 + 1 - 0 !
testsuite/reftests/gtk-reftest.c | 9 8 + 1 - 0 !
testsuite/reftests/reftest-compare.c | 52 47 + 5 - 0 !
testsuite/reftests/reftest-compare.h | 5 4 + 1 - 0 !
tools/gtk-image-tool-compare.c | 6 5 + 1 - 0 !
tools/gtk-rendernode-tool-compare.c | 7 5 + 2 - 0 !
7 files changed, 84 insertions(+), 13 deletions(-)

 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
insttests/Revert build Drop the install tests option.patch | (download)

meson.build | 1 1 + 0 - 0 !
meson.options | 5 5 + 0 - 0 !
testsuite/a11y/meson.build | 5 5 + 0 - 0 !
testsuite/css/change/meson.build | 25 25 + 0 - 0 !
testsuite/css/meson.build | 32 31 + 1 - 0 !
testsuite/css/nodes/meson.build | 69 69 + 0 - 0 !
testsuite/css/parser/meson.build | 17 17 + 0 - 0 !
testsuite/css/style/meson.build | 50 50 + 0 - 0 !
testsuite/gdk/meson.build | 37 34 + 3 - 0 !
testsuite/gsk/meson.build | 21 16 + 5 - 0 !
testsuite/gtk/meson.build | 45 45 + 0 - 0 !
11 files changed, 298 insertions(+), 9 deletions(-)

 revert "build: drop the install-tests option"

Debian and Ubuntu uses these installed tests as part of their
autopkgtest system

This reverts commit 3121f88265ac61733e257f5335473d6f139f158c.

insttests/Revert testsuite Remove leftover test.in files.patch | (download)

testsuite/css/api.test.in | 4 4 + 0 - 0 !
testsuite/css/change/change.test.in | 4 4 + 0 - 0 !
testsuite/css/data.test.in | 4 4 + 0 - 0 !
testsuite/css/nodes/nodes.test.in | 4 4 + 0 - 0 !
testsuite/css/parser/parser.test.in | 4 4 + 0 - 0 !
testsuite/css/style/style.test.in | 4 4 + 0 - 0 !
testsuite/gdk/gdk.test.in | 4 4 + 0 - 0 !
testsuite/gsk/render-nodes-cairo.test.in | 4 4 + 0 - 0 !
testsuite/gsk/render-nodes-vulkan.test.in | 4 4 + 0 - 0 !
testsuite/gtk/gtk.test.in | 4 4 + 0 - 0 !
testsuite/reftests/reftests-dark.test.in | 4 4 + 0 - 0 !
testsuite/reftests/reftests-hc.test.in | 4 4 + 0 - 0 !
testsuite/reftests/reftests-hci.test.in | 4 4 + 0 - 0 !
testsuite/reftests/reftests.test.in | 4 4 + 0 - 0 !
testsuite/tools/tools.test.in | 4 4 + 0 - 0 !
15 files changed, 60 insertions(+)

 revert "testsuite: remove leftover test.in files"

This reverts commit b598f21506c31d3913c9705a00eb1e8270e9a810.

gstplay/subprojects Add gst play 1.0 as subproject.patch | (download)

subprojects/gst-play-1.0/gst/play/gstplay-media-info-private.h | 126 126 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-media-info.c | 935 935 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-media-info.h | 284 284 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-message-private.h | 42 42 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-signal-adapter.c | 475 475 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-signal-adapter.h | 63 63 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-types.h | 47 47 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-video-overlay-video-renderer.c | 351 351 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-video-overlay-video-renderer.h | 81 81 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-video-renderer-private.h | 33 33 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-video-renderer.c | 49 49 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-video-renderer.h | 61 61 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-visualization.c | 183 183 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay-visualization.h | 65 65 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay.c | 4777 4777 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/gstplay.h | 442 442 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/meson.build | 76 76 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/play-prelude.h | 43 43 + 0 - 0 !
subprojects/gst-play-1.0/gst/play/play.h | 31 31 + 0 - 0 !
subprojects/gst-play-1.0/meson.build | 45 45 + 0 - 0 !
20 files changed, 8209 insertions(+)

 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.

gstplay/gst play 1.0 Do not install it if it s a subproject.patch | (download)

subprojects/gst-play-1.0/gst/play/meson.build | 8 6 + 2 - 0 !
1 file changed, 6 insertions(+), 2 deletions(-)

 gst-play-1.0: do not install it if it's a subproject

gstplay/media Use gst play 1.0 from meson subproject.patch | (download)

meson.build | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 media: use gst-play-1.0 from meson subproject

gstplayer/Revert build Add wrap file for GStreamer.patch | (download)

subprojects/gstreamer-full.wrap | 8 0 + 8 - 0 !
1 file changed, 8 deletions(-)

 revert "build: add wrap file for gstreamer"

This reverts commit 60d46ccc6c25af13787cb55a72702f9dc27d6093.

It duplicates our gstreamer-player subproject

workarounds/reftests Allow minor differences to be tolerated.patch | (download)

testsuite/gsk/compare-render.c | 41 40 + 1 - 0 !
testsuite/gtk/symbolic.c | 2 1 + 1 - 0 !
testsuite/gtk/symbolic2.c | 2 1 + 1 - 0 !
testsuite/reftests/gtk-reftest.c | 32 31 + 1 - 0 !
testsuite/reftests/image-compare.c | 2 1 + 1 - 0 !
5 files changed, 74 insertions(+), 5 deletions(-)

 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]
workarounds/Disable inscription markup.ui reftest.patch | (download)

testsuite/reftests/meson.build | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 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.

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5099
workarounds/tests Mark gltexture as expected to fail on big endian ma.patch | (download)

testsuite/gdk/meson.build | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 tests: mark gltexture as expected to fail on big-endian machines

workarounds/tests Allow longer for a dialog to open.patch | (download)

testsuite/gtk/templates.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 tests: allow longer for a dialog to open

This hopefully makes the test pass more reliably, especially on riscv64.

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/6050
Bug-Debian: https://bugs.debian.org/1049434
workarounds/nodeparser Adjust test for pango 1.52.0.patch | (download)

testsuite/gsk/nodeparser/widgetfactory.ref.node | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 nodeparser: adjust test for pango 1.52.0

Adjust test result for changed output resulting from
https://gitlab.gnome.org/GNOME/pango/-/commit/d489fc8c4

workarounds/testsuite skip color mix.patch | (download)

testsuite/css/parser/meson.build | 14 10 + 4 - 0 !
1 file changed, 10 insertions(+), 4 deletions(-)

 testsuite: skip color-mix

https://gitlab.gnome.org/GNOME/gtk/-/issues/6907

workarounds/gtkcssnumbervalue Don t use fesetround on ARM softfloat.patch | (download)

gtk/gtkcssnumbervalue.c | 34 34 + 0 - 0 !
1 file changed, 34 insertions(+)

 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.

Bug-Debian: https://bugs.debian.org/1079545
Signed-off-by: Simon McVittie <smcv@debian.org>

workarounds/scaling test Skip floating point pixel formats with Cairo.patch | (download)

testsuite/gsk/scaling.c | 20 20 + 0 - 0 !
1 file changed, 20 insertions(+)

 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
workarounds/nodeparser Mark failing tests on s390x.patch | (download)

testsuite/gsk/meson.build | 8 7 + 1 - 0 !
1 file changed, 7 insertions(+), 1 deletion(-)

 nodeparser: mark failing tests on s390x

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/7707
vulkan Don t treat Vulkan objects as pointers or 32bit br.patch | (download)

gdk/gdkvulkancontext.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 vulkan: don't treat vulkan objects as pointers or 32bit breaks

Fixes: #7883
Part-of: <https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/9170>
(cherry picked from commit ca58e397dc3cc96027ea724be61de002f36064cb)

Fix a few profiler messges for 32bit.patch | (download)

gdk/gdkmemoryformat.c | 2 1 + 1 - 0 !
gdk/gdkvulkancontext.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 fix a few profiler messges for 32bit

Related: #7883
Part-of: <https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/9170>
(cherry picked from commit 8af38ff007eff69338ff7be2bd7cb22c846d121f)