Peter Michael Green [Thu, 26 Oct 2023 15:46:21 +0000 (15:46 +0000)]
Manual merge of version 4.8.3+ds-2+rpi1 and 4.12.3+ds-1 to produce 4.12.3+ds-1+rpi1
Amin Bandali [Wed, 4 Oct 2023 20:11:12 +0000 (21:11 +0100)]
Merge gtk4 (4.12.3+ds-1) import into refs/heads/workingbranch
Simon McVittie [Tue, 22 Aug 2023 11:05:31 +0000 (12:05 +0100)]
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
Forwarded: no, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name tests-Allow-longer-for-a-dialog-to-open.patch
Simon McVittie [Tue, 22 Aug 2023 10:57:36 +0000 (11:57 +0100)]
tests: Mark gltexture as expected to fail on big-endian machines
Forwarded: not-needed, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name tests-Mark-gltexture-as-expected-to-fail-on-big-endian-ma.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:08:30 +0000 (20:08 +0100)]
gstreamer-player: Use GtkName Prefix to avoid issues if actual library is included
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-Use-GtkName-Prefix-to-avoid-issues-if-ac.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:01:40 +0000 (20:01 +0100)]
media: Use gstplayer from meson subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name media-Use-gstplayer-from-meson-subproject.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:59:43 +0000 (19:59 +0100)]
gstreamer-player-1.0: Do not install it if it's a subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-1.0-Do-not-install-it-if-it-s-a-subproje.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:50:10 +0000 (19:50 +0100)]
subprojects: Add gst-player-1.0 as subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name subprojects-Add-gst-player-1.0-as-subporject.patch
Simon McVittie [Fri, 12 Aug 2022 09:44:17 +0000 (10:44 +0100)]
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
Forwarded: not-needed, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-inscription-markup.ui-reftest.patch
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: Topic debian
Gbp-Pq: Name reftests-Allow-minor-differences-to-be-tolerated.patch
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: Topic debian
Gbp-Pq: Name reftest_compare_surfaces-Report-how-much-the-images-diffe.patch
Jeremy Bícha [Tue, 8 Aug 2023 18:50:05 +0000 (14:50 -0400)]
tests: mark headless tests as flaky
See
baaa7482489b0f7446ef1e0130e527a169c43b0c
Gbp-Pq: Name tests-mark-headless-tests-as-flaky.patch
Jeremy Bicha [Thu, 12 Jan 2023 13:47:54 +0000 (08:47 -0500)]
Revert "build: Drop the install-tests option"
Debian and Ubuntu uses these installed tests as part of their
autopkgtest system
This reverts commit
3121f88265ac61733e257f5335473d6f139f158c.
Gbp-Pq: Name Revert-build-Drop-the-install-tests-option.patch
Jeremy Bicha [Mon, 5 Jun 2023 17:49:20 +0000 (13:49 -0400)]
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)
Gbp-Pq: Name Revert-tests-Stop-copying-the-tool-tests.patch
Amin Bandali [Wed, 4 Oct 2023 20:11:12 +0000 (21:11 +0100)]
gtk4 (4.12.3+ds-1) unstable; urgency=medium
* New upstream release
- GtkWindow:
+ Don't assume titlebars are GtkHeaderBar
(https://gitlab.gnome.org/GNOME/gtk/-/issues/6116)
- GtkTreeView:
+ Fix a crash in gtk_tree_view_is_blank_at_pos
(https://gitlab.gnome.org/GNOME/gtk/-/issues/6114)
- printing:
+ Fix some issues with the portal implementation
(https://gitlab.gnome.org/GNOME/gtk/-/commit/
03679fe6bf5ae391bd7cb21ad0492f530c86cd5e)
- GSK:
+ Some optimizations in the GL renderer
(https://gitlab.gnome.org/GNOME/gtk/-/commit/
3698cadcd21e2a52c30766d311043093ea557b3f,
https://gitlab.gnome.org/GNOME/gtk/-/commit/
d4d0883a924f94fdc89fad50bce9ecad3128e0f3,
https://gitlab.gnome.org/GNOME/gtk/-/commit/
0030c572d47f551847be0aed8054d4df34afffda)
+ Fix memory leaks in the Broadway renderer
(https://gitlab.gnome.org/GNOME/gtk/-/issues/6120)
- demos:
+ Fix a crash in gtk4-demo
(https://gitlab.gnome.org/GNOME/gtk/-/issues/6113)
[dgit import unpatched gtk4 4.12.3+ds-1]
Amin Bandali [Wed, 4 Oct 2023 20:11:12 +0000 (21:11 +0100)]
Import gtk4_4.12.3+ds.orig.tar.xz
[dgit import orig gtk4_4.12.3+ds.orig.tar.xz]
Amin Bandali [Wed, 4 Oct 2023 20:11:12 +0000 (21:11 +0100)]
Import gtk4_4.12.3+ds-1.debian.tar.xz
[dgit import tarball gtk4 4.12.3+ds-1 gtk4_4.12.3+ds-1.debian.tar.xz]
Jeremy Bícha [Fri, 22 Sep 2023 14:27:13 +0000 (15:27 +0100)]
Merge gtk4 (4.12.2+ds-1) import into refs/heads/workingbranch
Simon McVittie [Tue, 22 Aug 2023 11:05:31 +0000 (12:05 +0100)]
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
Forwarded: no, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name tests-Allow-longer-for-a-dialog-to-open.patch
Simon McVittie [Tue, 22 Aug 2023 10:57:36 +0000 (11:57 +0100)]
tests: Mark gltexture as expected to fail on big-endian machines
Forwarded: not-needed, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name tests-Mark-gltexture-as-expected-to-fail-on-big-endian-ma.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:08:30 +0000 (20:08 +0100)]
gstreamer-player: Use GtkName Prefix to avoid issues if actual library is included
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-Use-GtkName-Prefix-to-avoid-issues-if-ac.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:01:40 +0000 (20:01 +0100)]
media: Use gstplayer from meson subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name media-Use-gstplayer-from-meson-subproject.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:59:43 +0000 (19:59 +0100)]
gstreamer-player-1.0: Do not install it if it's a subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-1.0-Do-not-install-it-if-it-s-a-subproje.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:50:10 +0000 (19:50 +0100)]
subprojects: Add gst-player-1.0 as subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name subprojects-Add-gst-player-1.0-as-subporject.patch
Simon McVittie [Fri, 12 Aug 2022 09:44:17 +0000 (10:44 +0100)]
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
Forwarded: not-needed, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-inscription-markup.ui-reftest.patch
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: Topic debian
Gbp-Pq: Name reftests-Allow-minor-differences-to-be-tolerated.patch
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: Topic debian
Gbp-Pq: Name reftest_compare_surfaces-Report-how-much-the-images-diffe.patch
Jeremy Bícha [Tue, 8 Aug 2023 18:50:05 +0000 (14:50 -0400)]
tests: mark headless tests as flaky
See
baaa7482489b0f7446ef1e0130e527a169c43b0c
Gbp-Pq: Name tests-mark-headless-tests-as-flaky.patch
Jeremy Bicha [Thu, 12 Jan 2023 13:47:54 +0000 (08:47 -0500)]
Revert "build: Drop the install-tests option"
Debian and Ubuntu uses these installed tests as part of their
autopkgtest system
This reverts commit
3121f88265ac61733e257f5335473d6f139f158c.
Gbp-Pq: Name Revert-build-Drop-the-install-tests-option.patch
Jeremy Bicha [Mon, 5 Jun 2023 17:49:20 +0000 (13:49 -0400)]
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)
Gbp-Pq: Name Revert-tests-Stop-copying-the-tool-tests.patch
Jeremy Bícha [Fri, 22 Sep 2023 14:27:13 +0000 (15:27 +0100)]
gtk4 (4.12.2+ds-1) unstable; urgency=medium
* New upstream release
* Build-Depend on fonts-noto-core instead of fonts-dejavu-core
& ttf-bitstream-vera
[dgit import unpatched gtk4 4.12.2+ds-1]
Jeremy Bícha [Fri, 22 Sep 2023 14:27:13 +0000 (15:27 +0100)]
Import gtk4_4.12.2+ds.orig.tar.xz
[dgit import orig gtk4_4.12.2+ds.orig.tar.xz]
Jeremy Bícha [Fri, 22 Sep 2023 14:27:13 +0000 (15:27 +0100)]
Import gtk4_4.12.2+ds-1.debian.tar.xz
[dgit import tarball gtk4 4.12.2+ds-1 gtk4_4.12.2+ds-1.debian.tar.xz]
Simon McVittie [Mon, 4 Sep 2023 14:28:30 +0000 (15:28 +0100)]
Declare fast forward from 4.12.1+ds-2
[dgit --quilt=unapplied --overwrite]
Simon McVittie [Tue, 22 Aug 2023 11:05:31 +0000 (12:05 +0100)]
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
Forwarded: no, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name tests-Allow-longer-for-a-dialog-to-open.patch
Simon McVittie [Tue, 22 Aug 2023 10:57:36 +0000 (11:57 +0100)]
tests: Mark gltexture as expected to fail on big-endian machines
Forwarded: not-needed, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name tests-Mark-gltexture-as-expected-to-fail-on-big-endian-ma.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:08:30 +0000 (20:08 +0100)]
gstreamer-player: Use GtkName Prefix to avoid issues if actual library is included
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-Use-GtkName-Prefix-to-avoid-issues-if-ac.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:01:40 +0000 (20:01 +0100)]
media: Use gstplayer from meson subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name media-Use-gstplayer-from-meson-subproject.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:59:43 +0000 (19:59 +0100)]
gstreamer-player-1.0: Do not install it if it's a subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-1.0-Do-not-install-it-if-it-s-a-subproje.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:50:10 +0000 (19:50 +0100)]
subprojects: Add gst-player-1.0 as subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name subprojects-Add-gst-player-1.0-as-subporject.patch
Simon McVittie [Fri, 12 Aug 2022 09:44:17 +0000 (10:44 +0100)]
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
Forwarded: not-needed, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-inscription-markup.ui-reftest.patch
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: Topic debian
Gbp-Pq: Name reftests-Allow-minor-differences-to-be-tolerated.patch
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: Topic debian
Gbp-Pq: Name reftest_compare_surfaces-Report-how-much-the-images-diffe.patch
Jeremy Bícha [Tue, 8 Aug 2023 18:50:05 +0000 (14:50 -0400)]
tests: mark headless tests as flaky
See
baaa7482489b0f7446ef1e0130e527a169c43b0c
Gbp-Pq: Name tests-mark-headless-tests-as-flaky.patch
Jeremy Bicha [Thu, 12 Jan 2023 13:47:54 +0000 (08:47 -0500)]
Revert "build: Drop the install-tests option"
Debian and Ubuntu uses these installed tests as part of their
autopkgtest system
This reverts commit
3121f88265ac61733e257f5335473d6f139f158c.
Gbp-Pq: Name Revert-build-Drop-the-install-tests-option.patch
Jeremy Bicha [Mon, 5 Jun 2023 17:49:20 +0000 (13:49 -0400)]
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)
Gbp-Pq: Name Revert-tests-Stop-copying-the-tool-tests.patch
Simon McVittie [Mon, 4 Sep 2023 14:29:18 +0000 (15:29 +0100)]
Release to unstable
Simon McVittie [Mon, 4 Sep 2023 14:08:45 +0000 (15:08 +0100)]
d/rules: Always allow the differences that occur when using softpipe
In principle we could be using softpipe on any architecture, if forced.
Simon McVittie [Mon, 4 Sep 2023 09:28:58 +0000 (10:28 +0100)]
d/log-reftests.py: Log uuencoded variant GSK reftest renderings too
The variant GSK reftest renderings (flipped, repeated, etc.) might fail
differently, in which case we will want to look at their outputs.
Jeremy Bícha [Fri, 1 Sep 2023 23:12:07 +0000 (19:12 -0400)]
Ignore the same reftest failures for riscv64 as for mips64el
mips64el uses softpipe on the buildds because we force it to (because
llvmpipe is broken there), but riscv64 uses softpipe even when not
forced to, because llvmpipe doesn't exist on riscv64 yet.
Closes: #1051168
Gbp-Dch: Full
Amin Bandali [Mon, 4 Sep 2023 14:25:59 +0000 (10:25 -0400)]
Change debian-branch from debian/master to debian/latest
Jeremy Bícha [Sun, 27 Aug 2023 23:34:44 +0000 (19:34 -0400)]
releasing package gtk4 version 4.12.1+ds-2
Jeremy Bícha [Sun, 27 Aug 2023 23:33:26 +0000 (00:33 +0100)]
Record gtk4 (4.12.1+ds-2) in archive suite sid
Simon McVittie [Tue, 22 Aug 2023 11:05:31 +0000 (12:05 +0100)]
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
Forwarded: no, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name tests-Allow-longer-for-a-dialog-to-open.patch
Simon McVittie [Tue, 22 Aug 2023 10:57:36 +0000 (11:57 +0100)]
tests: Mark gltexture as expected to fail on big-endian machines
Forwarded: not-needed, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name tests-Mark-gltexture-as-expected-to-fail-on-big-endian-ma.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:08:30 +0000 (20:08 +0100)]
gstreamer-player: Use GtkName Prefix to avoid issues if actual library is included
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-Use-GtkName-Prefix-to-avoid-issues-if-ac.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:01:40 +0000 (20:01 +0100)]
media: Use gstplayer from meson subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name media-Use-gstplayer-from-meson-subproject.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:59:43 +0000 (19:59 +0100)]
gstreamer-player-1.0: Do not install it if it's a subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-1.0-Do-not-install-it-if-it-s-a-subproje.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:50:10 +0000 (19:50 +0100)]
subprojects: Add gst-player-1.0 as subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name subprojects-Add-gst-player-1.0-as-subporject.patch
Simon McVittie [Fri, 12 Aug 2022 09:44:17 +0000 (10:44 +0100)]
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
Forwarded: not-needed, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-inscription-markup.ui-reftest.patch
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: Topic debian
Gbp-Pq: Name reftests-Allow-minor-differences-to-be-tolerated.patch
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: Topic debian
Gbp-Pq: Name reftest_compare_surfaces-Report-how-much-the-images-diffe.patch
Jeremy Bícha [Tue, 8 Aug 2023 18:50:05 +0000 (14:50 -0400)]
tests: mark headless tests as flaky
See
baaa7482489b0f7446ef1e0130e527a169c43b0c
Gbp-Pq: Name tests-mark-headless-tests-as-flaky.patch
Jeremy Bicha [Thu, 12 Jan 2023 13:47:54 +0000 (08:47 -0500)]
Revert "build: Drop the install-tests option"
Debian and Ubuntu uses these installed tests as part of their
autopkgtest system
This reverts commit
3121f88265ac61733e257f5335473d6f139f158c.
Gbp-Pq: Name Revert-build-Drop-the-install-tests-option.patch
Jeremy Bicha [Mon, 5 Jun 2023 17:49:20 +0000 (13:49 -0400)]
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)
Gbp-Pq: Name Revert-tests-Stop-copying-the-tool-tests.patch
Jeremy Bícha [Sun, 27 Aug 2023 23:33:26 +0000 (00:33 +0100)]
gtk4 (4.12.1+ds-2) unstable; urgency=medium
* Release to unstable
[dgit import unpatched gtk4 4.12.1+ds-2]
Jeremy Bícha [Sun, 27 Aug 2023 23:33:26 +0000 (00:33 +0100)]
Import gtk4_4.12.1+ds-2.debian.tar.xz
[dgit import tarball gtk4 4.12.1+ds-2 gtk4_4.12.1+ds-2.debian.tar.xz]
Jeremy Bícha [Sat, 26 Aug 2023 14:54:40 +0000 (10:54 -0400)]
releasing package gtk4 version 4.12.1+ds-1
Jeremy Bícha [Sat, 26 Aug 2023 14:54:25 +0000 (15:54 +0100)]
Import gtk4_4.12.1+ds.orig.tar.xz
[dgit import orig gtk4_4.12.1+ds.orig.tar.xz]
Jeremy Bícha [Sat, 26 Aug 2023 14:27:13 +0000 (10:27 -0400)]
Drop 3 patches applied in new release
Jeremy Bícha [Sat, 26 Aug 2023 14:26:33 +0000 (10:26 -0400)]
New upstream release
Jeremy Bícha [Sat, 26 Aug 2023 14:26:33 +0000 (10:26 -0400)]
Update upstream source from tag 'upstream/4.12.1+ds'
Update to upstream version '4.12.1+ds'
with Debian dir
534f3600033136f0c743a7724e48bfd556ef84e0
Jeremy Bícha [Sat, 26 Aug 2023 14:26:18 +0000 (10:26 -0400)]
New upstream version 4.12.1+ds
Jeremy Bícha [Fri, 18 Nov 2022 09:29:01 +0000 (09:29 +0000)]
d/watch: Only watch for stable releases
Matthias Clasen [Fri, 25 Aug 2023 12:28:29 +0000 (08:28 -0400)]
4.12.1
Anders Jonsson [Thu, 24 Aug 2023 15:38:43 +0000 (15:38 +0000)]
Update Swedish translation
Matthias Clasen [Thu, 24 Aug 2023 14:49:44 +0000 (10:49 -0400)]
Updates
Piotr Drąg [Thu, 24 Aug 2023 14:47:45 +0000 (16:47 +0200)]
Update Polish translation
Matthias Clasen [Thu, 24 Aug 2023 14:39:04 +0000 (10:39 -0400)]
Revert "PopoverMenu: Make :flags a property for use in UI…"
This reverts commit
acd874ec5507f45ad22de7a91478433d27f640a4.
This adds new API, therefore not suitable for 4.12.
Matthias Clasen [Thu, 24 Aug 2023 10:29:13 +0000 (06:29 -0400)]
menubutton: Don't assume the root is a window
The only thing this assumption does is cause
criticals, so remove it.
Fixes: #6055
Michael Catanzaro [Wed, 23 Aug 2023 20:51:08 +0000 (15:51 -0500)]
notebook: fix critical when switching page
It's expected that gtk_widget_get_root() will return NULL if the widget
tree does not contain a root widget. I don't know what that means or why
it happens, but it's true in gnome-control-center's network panel when
displaying the OpenVPN configuration dialog. We need to handle it.
Fixes #6056
Simon McVittie [Tue, 22 Aug 2023 09:49:36 +0000 (10:49 +0100)]
tests: Accept slightly different numeric results
FLT_EPSILON is the distance between 1.0 and the next distinct floating
point number, and doesn't necessarily have anything to do with the
precision we can expect from a series of floating-point calculations.
Experimentally, 1e-6 is achievable, even on platforms with unusual
floating point implementations like i387.
Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/6051
Bug-Debian: https://bugs.debian.org/
1050076
Signed-off-by: Simon McVittie <smcv@debian.org>
Matthias Clasen [Tue, 22 Aug 2023 12:26:22 +0000 (08:26 -0400)]
wayland: Don't assume the shell protocol
The gtk_shell proxy will be NULL if the compositor
is not gnome-shell. Handle that without crashing.
Fixes: #6048
Bilal Elmoussaoui [Mon, 21 Aug 2023 21:11:12 +0000 (21:11 +0000)]
gi: Fix missing namespace
Georges Basile Stavracas Neto [Mon, 21 Aug 2023 18:23:22 +0000 (15:23 -0300)]
ci: Limit parallel linking on Windows CI
Linking on Windows can easily run out of memory, and limiting it
to a single link operation (i.e. disabling parallelization) should
be enough to avoid this problem.
Khalid Abu Shawarib [Mon, 21 Aug 2023 17:14:59 +0000 (20:14 +0300)]
gdk/x11/clipboard: Fix Slist leak
Benjamin Otte [Fri, 18 Aug 2023 19:06:59 +0000 (21:06 +0200)]
build: Add -Woverride-init
That's a gcc warning (clang has the equivalent -Winitializer-overrides,
but that one is included in -Wall) that complains about things like:
VkOffset3D offset = { .x = pt.x, .x = pt.y, .y = 0 };
So you don't have to spend a few hours trying to understand what's going
on before realizing your copy/paste skills are substandard.
Benjamin Otte [Mon, 14 Aug 2023 03:21:06 +0000 (05:21 +0200)]
build: GSK doesn't depend on gdk-pixbuf
Benjamin Otte [Mon, 21 Aug 2023 03:14:33 +0000 (05:14 +0200)]
build: Don't use configure_file() when custom_target() works
These two files don't need to be built when configuring, they are only
needed during build.
Benjamin Otte [Mon, 21 Aug 2023 00:20:17 +0000 (02:20 +0200)]
widget: Remove unused headers from gtkwidget.h
... and put them back in places where they are needed.
Sergey Bugaev [Fri, 18 Aug 2023 08:07:35 +0000 (11:07 +0300)]
paintable: Implement gdk_paintable_default_get_current_image ()
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
G.Willems [Thu, 17 Aug 2023 20:26:00 +0000 (22:26 +0200)]
gtktexthistory: restore 'modified' flag on redo
When redoing a history entry, its `is_modified` flag is not
reflected to the history state tracker. So GtkTextBuffers may
expose a modified=FALSE status, despite a change was actually
applied to the buffer.
For the undo case, an `is_modified_set` flag was set on the last
entry of the undo queue when a change of the modified state of
the history is requested. This commit does the same on the first
entry of the redo queue.
Closes #5777
Daniel Boles [Thu, 17 Aug 2023 09:52:21 +0000 (10:52 +0100)]
PopoverMenu: Make :flags a property for use in UI…
…files, or other cases other than calling new_from_model_full(), which
generally makes it far easier to experiment with the effect of flags,
including by changing the value of the property in the Inspector.
fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6030#note_1818229
Daniel Boles [Wed, 16 Aug 2023 16:11:45 +0000 (17:11 +0100)]
Popover: Fix & add to CSS nodes documentation
* The `.background` class gets put on `popover`, not `content`
* Use backticks to style node and class names with monospace
* Link to GtkPopoverMenu
* Add to PopoverMenu a bit outlining how items and sections look in CSS.
Matthias Clasen [Wed, 16 Aug 2023 13:43:34 +0000 (09:43 -0400)]
build: Drop some unused variables
We are not using gtk_private_packages at all,
so drop it.
Alexandros Theodotou [Wed, 16 Aug 2023 11:09:15 +0000 (20:09 +0900)]
gsk: Update docs for gtk_snapshot_append_layout
Mention how to get the current theme's foreground color.
Sergey Bugaev [Tue, 15 Aug 2023 08:28:43 +0000 (11:28 +0300)]
rendernode, snapshot: Slightly expand color matrix docs
Based on reverse engineering the color node and contrary to my
expectations, the matrix/offset is expressed in, and applied to,
unpremultiplied colors. The colors are being explicitly
unpremultiplied, transformed according to the matrix/offset, and
premultiplied back (see color_matrix.glsl). The matrix is getting
transposed.
Also, copy the same blurb to the corresponding GtkSnapshot function.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Sergey Bugaev [Tue, 15 Aug 2023 08:03:25 +0000 (11:03 +0300)]
snapshot: Fix merging color matrix nodes
The code was appliying the matrices in the wrong order: we have to apply
the inner node's matrix first, and the outer one second. Due to the
matrices being implicitly transposed, the matrix multiplication was done
in the right order, yet the wrong matrix was being mutliplied by the
wrong offset vector.
To make the code a little easier to follow, create explicit variables
for the resulting matrix and offset (instead of reusing matrix2 and
offset2), and fix & expand the comment to document how matrix
transposition factors into this.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Philip Chimento [Wed, 16 Aug 2023 05:30:27 +0000 (22:30 -0700)]
introspection: Remove 'caller-allocates' from POD types
The (out caller-allocates) and (out callee-allocates) annotations are
meant for structured or pointer types. Plain old data types are just
regular out parameters and don't need the annotation about who allocates
them.
See glib!2005, gjs#570
Xavier Claessens [Wed, 16 Aug 2023 01:17:23 +0000 (21:17 -0400)]
meson: Add x11_dep to gtk4-x11 requires