Raspbian automatic forward porter [Wed, 11 Oct 2023 13:35:36 +0000 (14:35 +0100)]
Merge version 4.8.3+ds-2+rpi1 and 4.8.3+ds-2+deb12u1 to produce 4.8.3+ds-2+rpi1+deb12u1
Simon McVittie [Sat, 9 Sep 2023 19:32:02 +0000 (20:32 +0100)]
Make fast forward from 4.8.3+ds-2
[dgit --quilt=unapplied]
Simon McVittie [Fri, 3 Sep 2021 14:08:08 +0000 (15:08 +0100)]
Disable clipboard test
This regularly times out on buildds, but I can't reproduce the hang
locally.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4229
Forwarded: no
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-clipboard-test.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
Simon McVittie [Tue, 6 Dec 2022 11:13:59 +0000 (11:13 +0000)]
node-editor: Save test data relative to current working directory
This avoids hard-coding the GTK source directory into the binary, which
would make the binary non-reproducible across different source paths,
particularly in a distro build environment where the source directory
used by autobuilders will often not exist on end-user systems. The node
editor can still be used to create new test-cases by running it with the
GTK source directory as its current working directory.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5403
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5297
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name node-editor-Save-test-data-relative-to-current-working-di.patch
Simon McVittie [Wed, 23 Nov 2022 21:26:50 +0000 (21:26 +0000)]
testsuite: Don't create .test files for flaky or failing tests
These tests can be run manually, but are not suitable for use as an
acceptance test, so let's not make frameworks like Debian's autopkgtest
run these when they run ginsttest-runner in the most obvious way.
Signed-off-by: Simon McVittie <smcv@debian.org>
Applied-upstream: 4.9.2, commit:
94b57a967c492ab18df8142557710ba0b1a02cee
Gbp-Pq: Name testsuite-Don-t-create-.test-files-for-flaky-or-failing-t.patch
Simon McVittie [Wed, 23 Nov 2022 19:13:32 +0000 (19:13 +0000)]
testsuite: Use separate setups for unstable tests instead of should_fail
There are two possible interpretations of "expected failure": either
the test *must* fail (exactly the inverse of an ordinary test, with
success becoming failure and failure becoming success), or the test
*may* fail (with success intended, but failure possible in some
environments). Autotools had the second interpretation, which seems
more useful in practice, but Meson has the first.
Instead of using should_fail, we can put the tests in one of two new
suites: "flaky" is intended for tests that succeed or fail unpredictably
according to the test environment or chance, while "failing" is for
tests that ought to succeed but currently never do as a result of a
bug or missing functionality. With a sufficiently new version of Meson,
the flaky and failing tests are not run by default, but can be requested
by running a setup that does not exclude them, with a command like:
meson test --setup=x11_unstable --suite=flaky --suite=failing
As a bonus, now that we're setting up setups and their excluded suites
programmatically, the gsk-compare-broadway tests are also excluded by
default when running the test setup for a non-broadway backend.
When running the tests in CI, --suite=gtk overrides the default
exclude_suites, so we have to specify --no-suite=flaky and
--no-suite=failing explicitly.
This arrangement is inspired by GNOME/glib!2987, which was contributed
by Marco Trevisan.
Signed-off-by: Simon McVittie <smcv@debian.org>
Applied-upstream: 4.9.2, commit:
957dd49ef7d371926f90212bdf52b92742062e3e
Gbp-Pq: Name testsuite-Use-separate-setups-for-unstable-tests-instead-.patch
Matthias Clasen [Fri, 3 Feb 2023 09:00:03 +0000 (10:00 +0100)]
placessidebar: Make all rows ellipsize
Otherwise, we end up with a single long row
pushing the content of all the other rows
off to the left, which is much worse than
ellipsizing.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4710
Bug-Debian: https://bugs.debian.org/
1043261
Applied-upstream: 4.9.3, commit:
463f12a3bb42c60e2b86093f443d9d14541c9852
Applied-upstream: 4.8.4, commit:
c4ddf47d8f0625e23c5677a412bcc6ba585fa5a8
Gbp-Pq: Name placessidebar-Make-all-rows-ellipsize.patch
Carlos Garnacho [Sat, 4 Feb 2023 12:10:42 +0000 (13:10 +0100)]
gdk/x11: Reset all scroll valuators on enter
We no longer need to make much distinction between multiple logical
devices, plus it breaks esp. with the Xwayland input device distribution.
Just iterate across all devices and reset their scroll valuators.
(cherry picked from commit
824e983372d939693f7eba5c394e647a9035a0f8)
Origin: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5479
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4160
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5202
Bug-Debian: https://bugs.debian.org/
1029972
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gtk4/+bug/
1993594
Applied-upstream: 4.9.3, commit:
824e983372d939693f7eba5c394e647a9035a0f8
Applied-upstream: 4.8.4, commit:
37843ec941f611a6c9e05732442c86e99016d5f0
Gbp-Pq: Name gdk-x11-Reset-all-scroll-valuators-on-enter.patch
Sabri Ünal [Sun, 15 Jan 2023 22:43:19 +0000 (22:43 +0000)]
Update Turkish translation
Origin: upstream, 4.8.4, commit:
1ef03e6eb8f27d25b97df1b7bc766df402ad75a8
Gbp-Pq: Name Update-Turkish-translation-2.patch
Matteo Percivaldi [Fri, 13 Jan 2023 13:05:10 +0000 (14:05 +0100)]
gtkcssanimatedstyle: Fix return of new_advance()
This was causing animation and transition to stop randomly and reset
their state to initial state.
This issue has existed since commit
7b68bdb8316fc1bb96c4a5ad16c1885506131d22.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4426
Origin: upstream, 4.8.4, commit:
1ff3a26c9644fbcbd91107280ff1ef839d4ea2f2
Gbp-Pq: Name gtkcssanimatedstyle-Fix-return-of-new_advance.patch
Matthias Clasen [Tue, 18 Oct 2022 20:40:37 +0000 (16:40 -0400)]
fontchooser: Drop a few errant translations
No point in translating these properties, they
are not strings.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5146
Origin: upstream, 4.8.4, commit:
92ebf8ab13ab7e24cb2d9971cafd52bc579ab3c3
Gbp-Pq: Name fontchooser-Drop-a-few-errant-translations.patch
Carlos Garnacho [Fri, 23 Dec 2022 15:04:02 +0000 (16:04 +0100)]
gdk/surface: Handle clicks outside client surfaces
The owner_events=TRUE grab makes GDK on X11 see events happening
outside every client window as received on the grab window.
Additionally check that the pointer is inside the grab window
(i.e. it received GDK_CROSSING_NORMAL crossing events for the
core pointer) in order to handle clicks happening outside client
windows.
These new paths are expected to be a no-op on Wayland, and to
also work for touchscreen input on X11, due to emulated pointer
events.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5364
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5400
Origin: upstream, 4.8.4, commit:
826030dcc2e79dcd76d21c118c6a0a3f0994c284
Gbp-Pq: Name gdk-surface-Handle-clicks-outside-client-surfaces.patch
Emin Tufan Çetin [Wed, 11 Jan 2023 06:59:32 +0000 (06:59 +0000)]
Update Turkish translation
Origin: upstream, 4.8.4, commit:
83284e6a9db63f84596a5c08c7d24b055df86b95
Gbp-Pq: Name Update-Turkish-translation-1.patch
Sabri Ünal [Wed, 11 Jan 2023 05:31:28 +0000 (05:31 +0000)]
Update Turkish translation
Origin: upstream, 4.8.4, commit:
4a38d5d1d53326bf4444146c665e92800b827243
Gbp-Pq: Name Update-Turkish-translation.patch
Benjamin Otte [Thu, 29 Dec 2022 22:21:43 +0000 (22:21 +0000)]
gtkcolumnviewcolumn: Only create cells when the column is visible
Merge branch 'wip/corey/list-item-visible' into 'main'
listitemwidget: Setup factory only once the widget is visible
See merge request GNOME/gtk!5374
(cherry picked from commit
188f9269b7e25847d4d50ba12c004f5da81aa352)
Origin: upstream, 4.8.4, commit:
2aaefd9ff67446bcd0fdee90fe0ed3ac8c02fb12
Gbp-Pq: Name gtkcolumnviewcolumn-Only-create-cells-when-the-column-is-.patch
Nart Tlisha [Thu, 5 Jan 2023 12:23:44 +0000 (12:23 +0000)]
Update Abkhazian translation
Origin: upstream, 4.8.4, commit:
1e27563425094d40bbf14a2c0c38ebb134753baf
Gbp-Pq: Name Update-Abkhazian-translation.patch
Simon McVittie [Sat, 9 Sep 2023 19:32:27 +0000 (20:32 +0100)]
Prepare proposed stable update
Simon McVittie [Sun, 20 Aug 2023 17:17:44 +0000 (18:17 +0100)]
Update changelog
Simon McVittie [Sun, 20 Aug 2023 17:11:28 +0000 (18:11 +0100)]
Fix truncation in places sidebar with large text accessibility setting
Add patch from upstream gtk-4-8 branch.
Closes: #1043261
Simon McVittie [Sun, 12 Mar 2023 15:28:45 +0000 (15:28 +0000)]
d/patches: Mark patch for #
1029972 as also applied in 4.8.4
This brings us up to date with the upstream gtk-4-8 branch as of
4.8.3-17-g790b9d59ad.
Simon McVittie [Sun, 12 Mar 2023 15:32:06 +0000 (15:32 +0000)]
d/gbp.conf, d/control.in: Switch packaging branch to debian/bookworm
Simon McVittie [Sun, 12 Mar 2023 15:31:20 +0000 (15:31 +0000)]
d/watch: Only watch for versions 4.8.x for bookworm
Peter Michael Green [Sat, 11 Feb 2023 23:39:22 +0000 (23:39 +0000)]
Commit Debian 3.0 (quilt) metadata
[dgit (10.6) quilt-fixup]
Peter Michael Green [Sat, 11 Feb 2023 22:32:17 +0000 (22:32 +0000)]
Disable linear-gradient-transition-to-other test
Raspbian automatic forward porter [Sat, 11 Feb 2023 13:49:38 +0000 (13:49 +0000)]
Merge version 4.8.3+ds-1+rpi1 and 4.8.3+ds-2 to produce 4.8.3+ds-2+rpi1
Simon McVittie [Sat, 4 Feb 2023 15:14:46 +0000 (15:14 +0000)]
Release to unstable
Simon McVittie [Sat, 4 Feb 2023 15:14:39 +0000 (15:14 +0000)]
Make fast forward from 4.8.3+ds-1
[dgit --quilt=unapplied]
Simon McVittie [Fri, 3 Sep 2021 14:08:08 +0000 (15:08 +0100)]
Disable clipboard test
This regularly times out on buildds, but I can't reproduce the hang
locally.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4229
Forwarded: no
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-clipboard-test.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
Carlos Garnacho [Sat, 4 Feb 2023 12:10:42 +0000 (13:10 +0100)]
gdk/x11: Reset all scroll valuators on enter
We no longer need to make much distinction between multiple logical
devices, plus it breaks esp. with the Xwayland input device distribution.
Just iterate across all devices and reset their scroll valuators.
Origin: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5479
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4160
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5202
Bug-Debian: https://bugs.debian.org/
1029972
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gtk4/+bug/
1993594
Applied-upstream: 4.9.3, commit:
824e983372d939693f7eba5c394e647a9035a0f8
Gbp-Pq: Name gdk-x11-Reset-all-scroll-valuators-on-enter.patch
Simon McVittie [Tue, 6 Dec 2022 11:13:59 +0000 (11:13 +0000)]
node-editor: Save test data relative to current working directory
This avoids hard-coding the GTK source directory into the binary, which
would make the binary non-reproducible across different source paths,
particularly in a distro build environment where the source directory
used by autobuilders will often not exist on end-user systems. The node
editor can still be used to create new test-cases by running it with the
GTK source directory as its current working directory.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5403
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5297
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name node-editor-Save-test-data-relative-to-current-working-di.patch
Simon McVittie [Wed, 23 Nov 2022 21:26:50 +0000 (21:26 +0000)]
testsuite: Don't create .test files for flaky or failing tests
These tests can be run manually, but are not suitable for use as an
acceptance test, so let's not make frameworks like Debian's autopkgtest
run these when they run ginsttest-runner in the most obvious way.
Signed-off-by: Simon McVittie <smcv@debian.org>
Applied-upstream: 4.9.2, commit:
94b57a967c492ab18df8142557710ba0b1a02cee
Gbp-Pq: Name testsuite-Don-t-create-.test-files-for-flaky-or-failing-t.patch
Simon McVittie [Wed, 23 Nov 2022 19:13:32 +0000 (19:13 +0000)]
testsuite: Use separate setups for unstable tests instead of should_fail
There are two possible interpretations of "expected failure": either
the test *must* fail (exactly the inverse of an ordinary test, with
success becoming failure and failure becoming success), or the test
*may* fail (with success intended, but failure possible in some
environments). Autotools had the second interpretation, which seems
more useful in practice, but Meson has the first.
Instead of using should_fail, we can put the tests in one of two new
suites: "flaky" is intended for tests that succeed or fail unpredictably
according to the test environment or chance, while "failing" is for
tests that ought to succeed but currently never do as a result of a
bug or missing functionality. With a sufficiently new version of Meson,
the flaky and failing tests are not run by default, but can be requested
by running a setup that does not exclude them, with a command like:
meson test --setup=x11_unstable --suite=flaky --suite=failing
As a bonus, now that we're setting up setups and their excluded suites
programmatically, the gsk-compare-broadway tests are also excluded by
default when running the test setup for a non-broadway backend.
When running the tests in CI, --suite=gtk overrides the default
exclude_suites, so we have to specify --no-suite=flaky and
--no-suite=failing explicitly.
This arrangement is inspired by GNOME/glib!2987, which was contributed
by Marco Trevisan.
Signed-off-by: Simon McVittie <smcv@debian.org>
Applied-upstream: 4.9.2, commit:
957dd49ef7d371926f90212bdf52b92742062e3e
Gbp-Pq: Name testsuite-Use-separate-setups-for-unstable-tests-instead-.patch
Sabri Ünal [Sun, 15 Jan 2023 22:43:19 +0000 (22:43 +0000)]
Update Turkish translation
Origin: upstream, 4.8.4, commit:
1ef03e6eb8f27d25b97df1b7bc766df402ad75a8
Gbp-Pq: Name Update-Turkish-translation-2.patch
Matteo Percivaldi [Fri, 13 Jan 2023 13:05:10 +0000 (14:05 +0100)]
gtkcssanimatedstyle: Fix return of new_advance()
This was causing animation and transition to stop randomly and reset
their state to initial state.
This issue has existed since commit
7b68bdb8316fc1bb96c4a5ad16c1885506131d22.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4426
Origin: upstream, 4.8.4, commit:
1ff3a26c9644fbcbd91107280ff1ef839d4ea2f2
Gbp-Pq: Name gtkcssanimatedstyle-Fix-return-of-new_advance.patch
Matthias Clasen [Tue, 18 Oct 2022 20:40:37 +0000 (16:40 -0400)]
fontchooser: Drop a few errant translations
No point in translating these properties, they
are not strings.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5146
Origin: upstream, 4.8.4, commit:
92ebf8ab13ab7e24cb2d9971cafd52bc579ab3c3
Gbp-Pq: Name fontchooser-Drop-a-few-errant-translations.patch
Carlos Garnacho [Fri, 23 Dec 2022 15:04:02 +0000 (16:04 +0100)]
gdk/surface: Handle clicks outside client surfaces
The owner_events=TRUE grab makes GDK on X11 see events happening
outside every client window as received on the grab window.
Additionally check that the pointer is inside the grab window
(i.e. it received GDK_CROSSING_NORMAL crossing events for the
core pointer) in order to handle clicks happening outside client
windows.
These new paths are expected to be a no-op on Wayland, and to
also work for touchscreen input on X11, due to emulated pointer
events.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5364
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5400
Origin: upstream, 4.8.4, commit:
826030dcc2e79dcd76d21c118c6a0a3f0994c284
Gbp-Pq: Name gdk-surface-Handle-clicks-outside-client-surfaces.patch
Emin Tufan Çetin [Wed, 11 Jan 2023 06:59:32 +0000 (06:59 +0000)]
Update Turkish translation
Origin: upstream, 4.8.4, commit:
83284e6a9db63f84596a5c08c7d24b055df86b95
Gbp-Pq: Name Update-Turkish-translation-1.patch
Sabri Ünal [Wed, 11 Jan 2023 05:31:28 +0000 (05:31 +0000)]
Update Turkish translation
Origin: upstream, 4.8.4, commit:
4a38d5d1d53326bf4444146c665e92800b827243
Gbp-Pq: Name Update-Turkish-translation.patch
Benjamin Otte [Thu, 29 Dec 2022 22:21:43 +0000 (22:21 +0000)]
gtkcolumnviewcolumn: Only create cells when the column is visible
Merge branch 'wip/corey/list-item-visible' into 'main'
listitemwidget: Setup factory only once the widget is visible
See merge request GNOME/gtk!5374
(cherry picked from commit
188f9269b7e25847d4d50ba12c004f5da81aa352)
Origin: upstream, 4.8.4, commit:
2aaefd9ff67446bcd0fdee90fe0ed3ac8c02fb12
Gbp-Pq: Name gtkcolumnviewcolumn-Only-create-cells-when-the-column-is-.patch
Nart Tlisha [Thu, 5 Jan 2023 12:23:44 +0000 (12:23 +0000)]
Update Abkhazian translation
Origin: upstream, 4.8.4, commit:
1e27563425094d40bbf14a2c0c38ebb134753baf
Gbp-Pq: Name Update-Abkhazian-translation.patch
Simon McVittie [Sat, 4 Feb 2023 15:13:51 +0000 (15:13 +0000)]
Update changelog
Simon McVittie [Sat, 4 Feb 2023 15:11:38 +0000 (15:11 +0000)]
Add patch from 4.9.x to avoid scroll events being sent to more than one window under X11
Closes: #1029972
LP: #
1993594
Simon McVittie [Sat, 4 Feb 2023 14:45:23 +0000 (14:45 +0000)]
Standards-Version: 4.6.2 (no changes required)
Simon McVittie [Sat, 4 Feb 2023 14:44:41 +0000 (14:44 +0000)]
Add overrides for false positive lintian/lintian!452
Simon McVittie [Sat, 4 Feb 2023 11:37:44 +0000 (11:37 +0000)]
Update changelog
Simon McVittie [Sat, 4 Feb 2023 11:23:49 +0000 (11:23 +0000)]
d/patches: Update to gtk-4-8 branch commit
4.8.3-15-g1ef03e6eb8
- Optimize column views by not creating list item widgets in columns
that are not visible (GNOME/gtk!5374)
- In X11, make sure menus, popovers etc. don't interfere with ability
to click/select in other applications' windows
(GNOME/gtk#5364, GNOME/gtk#5400)
- Do not mark non-user-facing strings as translatable (GNOME/gtk#5146)
- Fix animations and transitions randomly stopping (GNOME/gtk#4426)
- Translation updates: ab, tr
Peter Michael Green [Thu, 19 Jan 2023 23:30:32 +0000 (23:30 +0000)]
Merge gtk4 (4.8.3+ds-1+rpi1) import into refs/heads/workingbranch
Peter Michael Green [Thu, 19 Jan 2023 23:31:24 +0000 (23:31 +0000)]
Disable a couple more failing tests.
Gbp-Pq: Name disable-a-couple-more-failing-tests.patch
Peter Michael Green [Thu, 19 Jan 2023 23:30:32 +0000 (23:30 +0000)]
Disable a couple of faliing tests in Raspbian.
Last-Update: 2021-09-07
Gbp-Pq: Name disable-tests-raspbian.patch
Simon McVittie [Fri, 3 Sep 2021 14:08:08 +0000 (15:08 +0100)]
Disable clipboard test
This regularly times out on buildds, but I can't reproduce the hang
locally.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4229
Forwarded: no
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-clipboard-test.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
Simon McVittie [Tue, 6 Dec 2022 11:13:59 +0000 (11:13 +0000)]
node-editor: Save test data relative to current working directory
This avoids hard-coding the GTK source directory into the binary, which
would make the binary non-reproducible across different source paths,
particularly in a distro build environment where the source directory
used by autobuilders will often not exist on end-user systems. The node
editor can still be used to create new test-cases by running it with the
GTK source directory as its current working directory.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5403
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5297
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name node-editor-Save-test-data-relative-to-current-working-di.patch
Simon McVittie [Wed, 23 Nov 2022 21:26:50 +0000 (21:26 +0000)]
testsuite: Don't create .test files for flaky or failing tests
These tests can be run manually, but are not suitable for use as an
acceptance test, so let's not make frameworks like Debian's autopkgtest
run these when they run ginsttest-runner in the most obvious way.
Signed-off-by: Simon McVittie <smcv@debian.org>
Applied-upstream: 4.9.2, commit:
94b57a967c492ab18df8142557710ba0b1a02cee
Gbp-Pq: Name testsuite-Don-t-create-.test-files-for-flaky-or-failing-t.patch
Simon McVittie [Wed, 23 Nov 2022 19:13:32 +0000 (19:13 +0000)]
testsuite: Use separate setups for unstable tests instead of should_fail
There are two possible interpretations of "expected failure": either
the test *must* fail (exactly the inverse of an ordinary test, with
success becoming failure and failure becoming success), or the test
*may* fail (with success intended, but failure possible in some
environments). Autotools had the second interpretation, which seems
more useful in practice, but Meson has the first.
Instead of using should_fail, we can put the tests in one of two new
suites: "flaky" is intended for tests that succeed or fail unpredictably
according to the test environment or chance, while "failing" is for
tests that ought to succeed but currently never do as a result of a
bug or missing functionality. With a sufficiently new version of Meson,
the flaky and failing tests are not run by default, but can be requested
by running a setup that does not exclude them, with a command like:
meson test --setup=x11_unstable --suite=flaky --suite=failing
As a bonus, now that we're setting up setups and their excluded suites
programmatically, the gsk-compare-broadway tests are also excluded by
default when running the test setup for a non-broadway backend.
When running the tests in CI, --suite=gtk overrides the default
exclude_suites, so we have to specify --no-suite=flaky and
--no-suite=failing explicitly.
This arrangement is inspired by GNOME/glib!2987, which was contributed
by Marco Trevisan.
Signed-off-by: Simon McVittie <smcv@debian.org>
Applied-upstream: 4.9.2, commit:
957dd49ef7d371926f90212bdf52b92742062e3e
Gbp-Pq: Name testsuite-Use-separate-setups-for-unstable-tests-instead-.patch
Peter Michael Green [Thu, 19 Jan 2023 23:30:32 +0000 (23:30 +0000)]
gtk4 (4.8.3+ds-1+rpi1) bookworm-staging; urgency=medium
[changes brought forward from 4.4.0+ds1-5+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Tue, 07 Sep 2021 10:26:09 +0000]
* Disable a couple of faliing tests in Raspbian.
* Fix clean target.
[changes introduced in 4.8.3+ds-1+rpi1 by Peter Michael Green]
* Disable a couple more failing tests.
[dgit import unpatched gtk4 4.8.3+ds-1+rpi1]
Peter Michael Green [Thu, 19 Jan 2023 23:30:32 +0000 (23:30 +0000)]
Import gtk4_4.8.3+ds-1+rpi1.debian.tar.xz
[dgit import tarball gtk4 4.8.3+ds-1+rpi1 gtk4_4.8.3+ds-1+rpi1.debian.tar.xz]
Simon McVittie [Thu, 12 Jan 2023 19:22:57 +0000 (19:22 +0000)]
d/control.in: gtk-4-examples no longer contains installed-tests
Automated tests were split into gtk-4-tests during the move from GTK 3
to 4, but the package description for the examples still mentioned the
tests.
Simon McVittie [Thu, 12 Jan 2023 19:22:00 +0000 (19:22 +0000)]
Regenerate d/control
Jeremy Bicha [Thu, 12 Jan 2023 17:56:07 +0000 (12:56 -0500)]
debian/tests/python3-gi: stop using deprecated method
Simon McVittie [Tue, 3 Jan 2023 12:45:39 +0000 (12:45 +0000)]
Release to unstable
Simon McVittie [Tue, 3 Jan 2023 12:45:21 +0000 (12:45 +0000)]
Make fast forward from 4.8.2+ds-4
[dgit --quilt=unapplied]
Simon McVittie [Tue, 3 Jan 2023 12:45:21 +0000 (12:45 +0000)]
Import gtk4_4.8.3+ds.orig.tar.xz
[dgit import orig gtk4_4.8.3+ds.orig.tar.xz]
Simon McVittie [Fri, 3 Sep 2021 14:08:08 +0000 (15:08 +0100)]
Disable clipboard test
This regularly times out on buildds, but I can't reproduce the hang
locally.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4229
Forwarded: no
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-clipboard-test.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
Simon McVittie [Tue, 6 Dec 2022 11:13:59 +0000 (11:13 +0000)]
node-editor: Save test data relative to current working directory
This avoids hard-coding the GTK source directory into the binary, which
would make the binary non-reproducible across different source paths,
particularly in a distro build environment where the source directory
used by autobuilders will often not exist on end-user systems. The node
editor can still be used to create new test-cases by running it with the
GTK source directory as its current working directory.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5403
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5297
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name node-editor-Save-test-data-relative-to-current-working-di.patch
Simon McVittie [Wed, 23 Nov 2022 21:26:50 +0000 (21:26 +0000)]
testsuite: Don't create .test files for flaky or failing tests
These tests can be run manually, but are not suitable for use as an
acceptance test, so let's not make frameworks like Debian's autopkgtest
run these when they run ginsttest-runner in the most obvious way.
Signed-off-by: Simon McVittie <smcv@debian.org>
Applied-upstream: 4.9.2, commit:
94b57a967c492ab18df8142557710ba0b1a02cee
Gbp-Pq: Name testsuite-Don-t-create-.test-files-for-flaky-or-failing-t.patch
Simon McVittie [Wed, 23 Nov 2022 19:13:32 +0000 (19:13 +0000)]
testsuite: Use separate setups for unstable tests instead of should_fail
There are two possible interpretations of "expected failure": either
the test *must* fail (exactly the inverse of an ordinary test, with
success becoming failure and failure becoming success), or the test
*may* fail (with success intended, but failure possible in some
environments). Autotools had the second interpretation, which seems
more useful in practice, but Meson has the first.
Instead of using should_fail, we can put the tests in one of two new
suites: "flaky" is intended for tests that succeed or fail unpredictably
according to the test environment or chance, while "failing" is for
tests that ought to succeed but currently never do as a result of a
bug or missing functionality. With a sufficiently new version of Meson,
the flaky and failing tests are not run by default, but can be requested
by running a setup that does not exclude them, with a command like:
meson test --setup=x11_unstable --suite=flaky --suite=failing
As a bonus, now that we're setting up setups and their excluded suites
programmatically, the gsk-compare-broadway tests are also excluded by
default when running the test setup for a non-broadway backend.
When running the tests in CI, --suite=gtk overrides the default
exclude_suites, so we have to specify --no-suite=flaky and
--no-suite=failing explicitly.
This arrangement is inspired by GNOME/glib!2987, which was contributed
by Marco Trevisan.
Signed-off-by: Simon McVittie <smcv@debian.org>
Applied-upstream: 4.9.2, commit:
957dd49ef7d371926f90212bdf52b92742062e3e
Gbp-Pq: Name testsuite-Use-separate-setups-for-unstable-tests-instead-.patch
Simon McVittie [Tue, 3 Jan 2023 12:42:25 +0000 (12:42 +0000)]
d/copyright: Add details of run-with-display script
Simon McVittie [Tue, 3 Jan 2023 12:42:12 +0000 (12:42 +0000)]
d/copyright: Move standalone license stanzas to the end
Simon McVittie [Tue, 3 Jan 2023 12:37:13 +0000 (12:37 +0000)]
d/tests/build: Avoid PWD bashism
Simon McVittie [Tue, 3 Jan 2023 12:26:48 +0000 (12:26 +0000)]
d/tests/build: Suppress D-Bus/a11y warnings
Simon McVittie [Tue, 3 Jan 2023 12:25:21 +0000 (12:25 +0000)]
d/tests/python3-gi: Explicitly disable a11y
This version of GTK logs a warning (which makes the autopkgtest fail)
if we cannot contact the a11y bus provided by AT-SPI.
Simon McVittie [Tue, 3 Jan 2023 12:24:45 +0000 (12:24 +0000)]
d/tests: Quote more defensively
Simon McVittie [Tue, 3 Jan 2023 10:22:42 +0000 (10:22 +0000)]
d/run-tests.sh: Use dh_auto_test
In particular this forces the C.UTF-8 locale, which should mean the tests
pass even when run under a non-UTF-8 locale like C (which official Debian
buildds do not do, but some other environments like reproducible-builds
might).
Closes: #1027680
Simon McVittie [Tue, 3 Jan 2023 11:15:07 +0000 (11:15 +0000)]
d/tests/run-with-display: Use absolute path to WAYLAND_DISPLAY socket
This means we can still use the Wayland display, even when dh_auto_test
changes our XDG_RUNTIME_DIR.
Simon McVittie [Tue, 3 Jan 2023 09:47:52 +0000 (09:47 +0000)]
Update changelog
Simon McVittie [Tue, 3 Jan 2023 09:45:58 +0000 (09:45 +0000)]
Drop patches that were applied upstream
Simon McVittie [Tue, 3 Jan 2023 09:40:49 +0000 (09:40 +0000)]
New upstream release
Simon McVittie [Tue, 3 Jan 2023 09:40:49 +0000 (09:40 +0000)]
Update upstream source from tag 'upstream/4.8.3+ds'
Update to upstream version '4.8.3+ds'
with Debian dir
6122bb6b29c3012752f6dedab6935025ff82eee1
Simon McVittie [Tue, 3 Jan 2023 09:40:21 +0000 (09:40 +0000)]
New upstream version 4.8.3+ds
Matthias Clasen [Thu, 22 Dec 2022 18:35:11 +0000 (13:35 -0500)]
4.8.3
Matthias Clasen [Thu, 22 Dec 2022 18:41:22 +0000 (18:41 +0000)]
Merge branch 'cherry-pick-
acd7d739' into 'gtk-4-8'
[4.8] GdkWin32: Fix resizes with native decorations
See merge request GNOME/gtk!5368
Luca Bacci [Fri, 7 Oct 2022 16:15:29 +0000 (18:15 +0200)]
GdkWin32: Fix resizes with native decorations
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5142
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5088
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5090
Matthias Clasen [Wed, 21 Dec 2022 07:30:05 +0000 (07:30 +0000)]
Merge branch 'hicolor-backport' into 'gtk-4-8'
Merge branch 'include-hicolor-index-theme-as-resource-rebased' into 'main'
See merge request GNOME/gtk!5364
Matthias Clasen [Tue, 20 Dec 2022 02:18:16 +0000 (21:18 -0500)]
tests: Maybe skip introspection tests
If we don't find the python gi module,
skip the introspection test.
Luca Bacci [Tue, 20 Dec 2022 16:08:11 +0000 (16:08 +0000)]
Merge branch 'include-hicolor-index-theme-as-resource-rebased' into 'main'
Include hicolor index.theme as a resource (rebased)
Closes #5303
See merge request GNOME/gtk!5361
Benjamin Otte [Wed, 21 Dec 2022 02:41:07 +0000 (02:41 +0000)]
Merge branch 'cherry-pick-
ae097d96' into 'gtk-4-8'
listbase: Cancel rubberband if not handling drag
See merge request GNOME/gtk!5363
Benjamin Otte [Wed, 21 Dec 2022 01:14:57 +0000 (01:14 +0000)]
Merge branch 'wip/antoniof/listbase-rubberband-better-fix' into 'main'
listbase: Cancel rubberband if not handling drag
See merge request GNOME/gtk!4831
(cherry picked from commit
ae097d9674177ea4d91d67c170f27fda8b337a1d)
efbd2289 listbase: Cancel rubberband if not handling drag
Aleksandr Melman [Tue, 20 Dec 2022 09:21:34 +0000 (09:21 +0000)]
Update Russian translation
Matthias Clasen [Thu, 15 Dec 2022 17:10:33 +0000 (17:10 +0000)]
Merge branch 'cherry-pick-
1f001a8f' into 'gtk-4-8'
Merge branch 'wip/corey/listbase-focus' into 'main'
See merge request GNOME/gtk!5338