gtk4.git
3 years agoMerge version 4.6.5+ds-1+rpi1 and 4.6.6+ds-1 to produce 4.6.6+ds-1+rpi1 archive/raspbian/4.6.6+ds-1+rpi1 raspbian/4.6.6+ds-1+rpi1
Raspbian automatic forward porter [Fri, 8 Jul 2022 16:44:39 +0000 (17:44 +0100)]
Merge version 4.6.5+ds-1+rpi1 and 4.6.6+ds-1 to produce 4.6.6+ds-1+rpi1

3 years agoMerge gtk4 (4.6.6+ds-1) import into refs/heads/workingbranch
Jeremy Bicha [Tue, 5 Jul 2022 15:24:34 +0000 (16:24 +0100)]
Merge gtk4 (4.6.6+ds-1) import into refs/heads/workingbranch

3 years agoDisable clipboard test
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

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 agogtk4 (4.6.6+ds-1) unstable; urgency=medium
Jeremy Bicha [Tue, 5 Jul 2022 15:24:34 +0000 (16:24 +0100)]
gtk4 (4.6.6+ds-1) unstable; urgency=medium

  [ Jeremy Bicha ]
  * New upstream release (LP: #1980742)

  [ Simon McVittie ]
  * d/tests/installed-tests: Fail on unset variable references
  * d/tests/installed-tests: Fail if no tests are found

  [ Evangelos Ribeiro Tzaras ]
  * Bump required glib build dependency

[dgit import unpatched gtk4 4.6.6+ds-1]

3 years agoImport gtk4_4.6.6+ds.orig.tar.xz
Jeremy Bicha [Tue, 5 Jul 2022 15:24:34 +0000 (16:24 +0100)]
Import gtk4_4.6.6+ds.orig.tar.xz

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

3 years agoImport gtk4_4.6.6+ds-1.debian.tar.xz
Jeremy Bicha [Tue, 5 Jul 2022 15:24:34 +0000 (16:24 +0100)]
Import gtk4_4.6.6+ds-1.debian.tar.xz

[dgit import tarball gtk4 4.6.6+ds-1 gtk4_4.6.6+ds-1.debian.tar.xz]

3 years agoMerge version 4.6.4+ds-3+rpi1 and 4.6.5+ds-1 to produce 4.6.5+ds-1+rpi1 archive/raspbian/4.6.5+ds-1+rpi1 raspbian/4.6.5+ds-1+rpi1
Raspbian automatic forward porter [Tue, 14 Jun 2022 13:48:34 +0000 (14:48 +0100)]
Merge version 4.6.4+ds-3+rpi1 and 4.6.5+ds-1 to produce 4.6.5+ds-1+rpi1

3 years agoMerge gtk4 (4.6.5+ds-1) import into refs/heads/workingbranch
Jeremy Bicha [Wed, 1 Jun 2022 13:05:45 +0000 (14:05 +0100)]
Merge gtk4 (4.6.5+ds-1) import into refs/heads/workingbranch

3 years agoDisable clipboard test
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

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 agogtk4 (4.6.5+ds-1) unstable; urgency=medium
Jeremy Bicha [Wed, 1 Jun 2022 13:05:45 +0000 (14:05 +0100)]
gtk4 (4.6.5+ds-1) unstable; urgency=medium

  [ Jeremy Bicha ]
  * New upstream release (LP: #1976500)
    - Fixes file chooser getting bigger each time it opens (LP: #1971112)
  * Drop 2 patches applied in new release

  [ Laurent Bigonville ]
  * debian/control.in: Disable librsvg BD on architectures where it's not
    building

[dgit import unpatched gtk4 4.6.5+ds-1]

3 years agoImport gtk4_4.6.5+ds.orig.tar.xz
Jeremy Bicha [Wed, 1 Jun 2022 13:05:45 +0000 (14:05 +0100)]
Import gtk4_4.6.5+ds.orig.tar.xz

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

3 years agoImport gtk4_4.6.5+ds-1.debian.tar.xz
Jeremy Bicha [Wed, 1 Jun 2022 13:05:45 +0000 (14:05 +0100)]
Import gtk4_4.6.5+ds-1.debian.tar.xz

[dgit import tarball gtk4 4.6.5+ds-1 gtk4_4.6.5+ds-1.debian.tar.xz]

3 years agoMerge gtk4 (4.6.4+ds-3+rpi1) import into refs/heads/workingbranch
Raspbian forward porter [Thu, 19 May 2022 13:23:56 +0000 (14:23 +0100)]
Merge gtk4 (4.6.4+ds-3+rpi1) import into refs/heads/workingbranch

3 years agoDisable a couple of faliing tests in Raspbian.
Peter Michael Green [Thu, 19 May 2022 13:23:56 +0000 (14:23 +0100)]
Disable a couple of faliing tests in Raspbian.

Last-Update: 2021-09-07

Gbp-Pq: Name disable-tests-raspbian.patch

3 years agoGtkFileChooserWidget: Propagate keys from external entry to fcwidget at the BUBBLE...
Luca Bacci [Fri, 13 May 2022 10:28:25 +0000 (12:28 +0200)]
GtkFileChooserWidget: Propagate keys from external entry to fcwidget at the BUBBLE phase

Now that we use event controllers we can forward keybindings from the
external entry to the filechooserwidget at the bubble phase.

Fixes #4905

References:
 * commit 1fb075dbca911d4a61e7ebbf9fc040cd697f4d83
 * commit 686116ba615f989610a6b78e84870555dbf5106b
(cherry picked from commit 40709245adc965e3501c6324d7a51536181349d2)

Gbp-Pq: Name GtkFileChooserWidget-Propagate-keys-from-external-entry-t.patch

3 years agoDisable clipboard test
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

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-3+rpi1) bookworm-staging; urgency=medium
Raspbian forward porter [Thu, 19 May 2022 13:23:56 +0000 (14:23 +0100)]
gtk4 (4.6.4+ds-3+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.

[dgit import unpatched gtk4 4.6.4+ds-3+rpi1]

3 years agoImport gtk4_4.6.4+ds-3+rpi1.debian.tar.xz
Raspbian forward porter [Thu, 19 May 2022 13:23:56 +0000 (14:23 +0100)]
Import gtk4_4.6.4+ds-3+rpi1.debian.tar.xz

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

3 years agoDeclare fast forward from 4.6.4+ds-2
Simon McVittie [Sat, 14 May 2022 23:27:01 +0000 (00:27 +0100)]
Declare fast forward from 4.6.4+ds-2

[dgit --quilt=unapplied --overwrite]

3 years agoGtkFileChooserWidget: Propagate keys from external entry to fcwidget at the BUBBLE...
Luca Bacci [Fri, 13 May 2022 10:28:25 +0000 (12:28 +0200)]
GtkFileChooserWidget: Propagate keys from external entry to fcwidget at the BUBBLE phase

Now that we use event controllers we can forward keybindings from the
external entry to the filechooserwidget at the bubble phase.

Fixes #4905

References:
 * commit 1fb075dbca911d4a61e7ebbf9fc040cd697f4d83
 * commit 686116ba615f989610a6b78e84870555dbf5106b
(cherry picked from commit 40709245adc965e3501c6324d7a51536181349d2)

Gbp-Pq: Name GtkFileChooserWidget-Propagate-keys-from-external-entry-t.patch

3 years agoDisable clipboard test
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

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 agoRelease to unstable
Simon McVittie [Sat, 14 May 2022 23:27:07 +0000 (00:27 +0100)]
Release to unstable

3 years agoUpdate changelog
Simon McVittie [Sat, 14 May 2022 23:21:59 +0000 (00:21 +0100)]
Update changelog

3 years agod/control.in: Drop build-dependencies that were only there for gi-docgen
Simon McVittie [Sat, 14 May 2022 16:12:42 +0000 (17:12 +0100)]
d/control.in: Drop build-dependencies that were only there for gi-docgen

Now that we're using the packaged gi-docgen instead of the bundled copy,
there's no need to depend on its dependencies explicitly.

3 years agoMove gi-docgen to Build-Depends-Indep
Simon McVittie [Sat, 14 May 2022 16:11:58 +0000 (17:11 +0100)]
Move gi-docgen to Build-Depends-Indep

We correctly disable the gi-docgen-generated documentation when only
building architecture-dependent packages.

3 years agod/rules: Work around llvmpipe segfault on mipsel by forcing softpipe
Simon McVittie [Sat, 14 May 2022 16:05:54 +0000 (17:05 +0100)]
d/rules: Work around llvmpipe segfault on mipsel by forcing softpipe

Mitigates: #1010838

3 years agod/rules, d/run-tests.sh: Move loop through backends into run-tests.sh
Simon McVittie [Sat, 14 May 2022 14:48:08 +0000 (15:48 +0100)]
d/rules, d/run-tests.sh: Move loop through backends into run-tests.sh

This means that if an X11 test fails, we try the Wayland tests (if we
are running them at all) before failing the build.

3 years agod/rules: Stop skipping ngl tests on big-endian machines
Simon McVittie [Sat, 14 May 2022 14:44:00 +0000 (15:44 +0100)]
d/rules: Stop skipping ngl tests on big-endian machines

The ngl renderer no longer exists: it was renamed to gl.

3 years agoreleasing package gtk4 version 4.6.4+ds-2
Jeremy Bicha [Sat, 14 May 2022 14:05:57 +0000 (10:05 -0400)]
releasing package gtk4 version 4.6.4+ds-2

3 years agoRecord gtk4 (4.6.4+ds-2) in archive suite sid
Jeremy Bicha [Sat, 14 May 2022 14:05:42 +0000 (15:05 +0100)]
Record gtk4 (4.6.4+ds-2) in archive suite sid

3 years agoGtkFileChooserWidget: Propagate keys from external entry to fcwidget at the BUBBLE...
Luca Bacci [Fri, 13 May 2022 10:28:25 +0000 (12:28 +0200)]
GtkFileChooserWidget: Propagate keys from external entry to fcwidget at the BUBBLE phase

Now that we use event controllers we can forward keybindings from the
external entry to the filechooserwidget at the bubble phase.

Fixes #4905

References:
 * commit 1fb075dbca911d4a61e7ebbf9fc040cd697f4d83
 * commit 686116ba615f989610a6b78e84870555dbf5106b
(cherry picked from commit 40709245adc965e3501c6324d7a51536181349d2)

Gbp-Pq: Name GtkFileChooserWidget-Propagate-keys-from-external-entry-t.patch

3 years agoDisable clipboard test
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

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 agoCherry-pick patch to fix pasting into the filechooser name field
Jeremy Bicha [Sat, 14 May 2022 13:03:44 +0000 (09:03 -0400)]
Cherry-pick patch to fix pasting into the filechooser name field

LP: #1971532

3 years agoreleasing package gtk4 version 4.6.4+ds-1
Jeremy Bicha [Fri, 13 May 2022 20:29:10 +0000 (16:29 -0400)]
releasing package gtk4 version 4.6.4+ds-1

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]

3 years agoDrop patches applied in new release
Jeremy Bicha [Fri, 13 May 2022 20:04:50 +0000 (16:04 -0400)]
Drop patches applied in new release

3 years agoNew upstream release
Jeremy Bicha [Fri, 13 May 2022 20:02:01 +0000 (16:02 -0400)]
New upstream release

3 years agoUpdate upstream source from tag 'upstream/4.6.4+ds'
Jeremy Bicha [Fri, 13 May 2022 20:02:01 +0000 (16:02 -0400)]
Update upstream source from tag 'upstream/4.6.4+ds'

Update to upstream version '4.6.4+ds'
with Debian dir 9cad4393761ce66d39059df07bd46e5a0c950904

3 years agoNew upstream version 4.6.4+ds
Jeremy Bicha [Fri, 13 May 2022 20:01:20 +0000 (16:01 -0400)]
New upstream version 4.6.4+ds

3 years agoUse gi-docgen to build docs
Jeremy Bicha [Fri, 13 May 2022 19:55:22 +0000 (15:55 -0400)]
Use gi-docgen to build docs

3 years ago4.6.4
Matthias Clasen [Fri, 13 May 2022 17:58:42 +0000 (13:58 -0400)]
4.6.4

3 years agoCherry-pick patch to fix an invalid format string
Jeremy Bicha [Thu, 12 May 2022 15:36:17 +0000 (11:36 -0400)]
Cherry-pick patch to fix an invalid format string

3 years agoactionmuxer: check for observer before unregistering
Christian Hergert [Mon, 2 May 2022 22:33:34 +0000 (15:33 -0700)]
actionmuxer: check for observer before unregistering

This can happen if the group can be resolved even when doing the initial
registration of an action as observer will not yet be in the GSList of
watchers (and therefore has no weak references).

Fixes a warning like the following:

 g_object_weak_unref: couldn't find weak ref

3 years agoactionmuxer: set handler ids initially to zero
Christian Hergert [Mon, 2 May 2022 21:55:55 +0000 (14:55 -0700)]
actionmuxer: set handler ids initially to zero

These were getting created with possible non-zero values and then inserted
into a hashtable where the readers may not know the state of the group.

Ensure those values are set to zero until we assign them below.

3 years agogdk/wayland: freeze popups when hidden
Christian Hergert [Thu, 24 Mar 2022 00:00:21 +0000 (17:00 -0700)]
gdk/wayland: freeze popups when hidden

Previously, there was an issue with glitching after showing/hiding a
popover that was not also destroyed. This was due to the popover having
an update_freeze_count of zero after hiding the surface.

That resulted in it's toplevel continuously dropping frames such as during
high-frame-rate scrolling in textviews. This problem is much more visible
on high-frame-rate displays such as 120hz/144hz.

With this commit, we freeze the frame clock of the popup until it is
mapped again.

3 years agoprintdialog: Handle nonexisting files better
Matthias Clasen [Sun, 8 May 2022 00:30:55 +0000 (20:30 -0400)]
printdialog: Handle nonexisting files better

When a non-existing file is selected in the file chooser
for print-to-file, we weren't updating the button label
to show the new filename. Fix that.

Also, use newer file chooser api.

3 years agogsk: Check for half float support
Matthias Clasen [Thu, 5 May 2022 17:09:26 +0000 (13:09 -0400)]
gsk: Check for half float support

The GL renderer currently relies on half float support
in vertex buffers, so check that we have it.

Related: #4894

3 years agoreleasing package gtk4 version 4.6.3+ds1-2
Jeremy Bicha [Mon, 9 May 2022 20:48:21 +0000 (16:48 -0400)]
releasing package gtk4 version 4.6.3+ds1-2

3 years agoCherry-pick gtk-4-6 patch needed for mutter 42.1
Jeremy Bicha [Mon, 9 May 2022 20:26:09 +0000 (16:26 -0400)]
Cherry-pick gtk-4-6 patch needed for mutter 42.1

LP: #1972722

3 years agoMerge branch 'wip/carlosg/ignore-null-preedit-4.6' into 'gtk-4-6'
Matthias Clasen [Mon, 9 May 2022 19:57:44 +0000 (19:57 +0000)]
Merge branch 'wip/carlosg/ignore-null-preedit-4.6' into 'gtk-4-6'

imcontextwayland: Ignore preedit updates from NULL to NULL

See merge request GNOME/gtk!4711

3 years agoimcontextwayland: Ignore preedit updates from NULL to NULL
Carlos Garnacho [Tue, 26 Apr 2022 10:23:09 +0000 (12:23 +0200)]
imcontextwayland: Ignore preedit updates from NULL to NULL

If we get consecutive preedit string updates that announce a NULL
string, we still do end up issuing ::preedit-changed with those.
Ignore changes from NULL to NULL, it is the other combinations which
must issue this signal.

(cherry-picked from commit d6fe6f495a52de47927bf17ce3bc492a971c025f)

3 years agoUpdate Nepali translation
Pawan Chitrakar [Mon, 9 May 2022 10:44:41 +0000 (10:44 +0000)]
Update Nepali translation

3 years agoUpdate Nepali translation
Pawan Chitrakar [Sun, 8 May 2022 08:44:53 +0000 (08:44 +0000)]
Update Nepali translation

3 years agolistitemwidget: Avoid some unnecessary work
Matthias Clasen [Sat, 7 May 2022 01:36:22 +0000 (21:36 -0400)]
listitemwidget: Avoid some unnecessary work

Only update widget and accessible state if the
selected property actually changed.

3 years agolist-item: Use notify_by_pspec instead of by name
Ivan Molodetskikh [Fri, 6 May 2022 15:05:03 +0000 (18:05 +0300)]
list-item: Use notify_by_pspec instead of by name

This is a hot path when scrolling a ColumnView, and
g_param_spec_pool_lookup () was taking a measurable part in this hot
path. Instead, notify using pspecs to avoid the name lookup.

Related: https://gitlab.gnome.org/GNOME/gtk/-/issues/3334

3 years agolistitemfactory: Track notify manually instead of freeze/thaw
Ivan Molodetskikh [Fri, 6 May 2022 14:21:00 +0000 (17:21 +0300)]
listitemfactory: Track notify manually instead of freeze/thaw

freeze/thaw_notify () showed up on the perf trace for rapid ColumnView
scrolling. Track the three properties manually to make it a little
faster.

Related: https://gitlab.gnome.org/GNOME/gtk/-/issues/3334

3 years agoDon't invalidate parent if it didn't change
Benjamin Otte [Fri, 6 May 2022 11:50:55 +0000 (11:50 +0000)]
Don't invalidate parent if it didn't change

This looks like a leftover excess invalidation from when the surrounding
code was refactored to not just be called on parent changes but also
when repositioning inside the same parent in commit
507016cafc407b2c47aea3fd1483df75e9757f29

Ivan Molodetskikh found this problem in
https://gitlab.gnome.org/GNOME/gtk/-/issues/3334#note_1445873 which
contains a longer analysis of this problem and the performance
reductions it causes.

Related: #3334

3 years agogdk: Check OES_vertex_half_float GLES extension
Matthias Clasen [Thu, 5 May 2022 17:08:32 +0000 (13:08 -0400)]
gdk: Check OES_vertex_half_float GLES extension

This will be checked in the GL renderer.

3 years agoRelease to unstable
Simon McVittie [Wed, 4 May 2022 10:30:30 +0000 (11:30 +0100)]
Release to unstable

3 years agoMake fast forward from 4.6.2+ds-1
Simon McVittie [Wed, 4 May 2022 10:30:16 +0000 (11:30 +0100)]
Make fast forward from 4.6.2+ds-1

[dgit --quilt=unapplied]

3 years agoDisable clipboard test
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

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 agotemplates: Remove html5shiv
Simon McVittie [Thu, 15 Apr 2021 13:09:42 +0000 (14:09 +0100)]
templates: Remove html5shiv

Internet Explorer is dead, or really should be, so let's not generate
references to external resources that can be a privacy breach.

Gbp-Pq: Topic gi-docgen
Gbp-Pq: Name templates-Remove-html5shiv.patch

3 years agoDisable web fonts for now
Simon McVittie [Thu, 15 Apr 2021 12:41:44 +0000 (13:41 +0100)]
Disable web fonts for now

The way this works is still changing upstream, and getting the
correct licensing and source code for the Red Hat font (ITP: #986999)
is not really in the scope of packaging gi-docgen.

Forwarded: not-needed, Debian-specific

Gbp-Pq: Topic gi-docgen
Gbp-Pq: Name Disable-web-fonts-for-now.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 agoGtkFileChooserWidget: return empty GListModel in get_files () instead of NULL
Luca Bacci [Sun, 1 May 2022 14:41:10 +0000 (16:41 +0200)]
GtkFileChooserWidget: return empty GListModel in get_files () instead of NULL

Origin: upstream, 4.6.4, commit:f0120700dc872043c6828678870446df82382901

Gbp-Pq: Name GtkFileChooserWidget-return-empty-GListModel-in-get_files.patch

3 years agoGtkFileChooserWidget: check for empty instead of NULL GListModel
Luca Bacci [Sun, 1 May 2022 14:31:47 +0000 (16:31 +0200)]
GtkFileChooserWidget: check for empty instead of NULL GListModel

While porting GtkFileChooserWidget from GList to GListModel we did not
change some checks for NULL to checks for empty list.

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4851
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4858
Origin: upstream, 4.6.4, commit:6b740c86f907e171d5bec227677ccf81b0091d73

Gbp-Pq: Name GtkFileChooserWidget-check-for-empty-instead-of-NULL-GLis.patch

3 years agofilechooser: Small fix for select folder mode
Sophie Herold [Mon, 18 Apr 2022 22:55:05 +0000 (00:55 +0200)]
filechooser: Small fix for select folder mode

When changing folders, we were making the select
button insensitive when there is no folder selected.
However, the select button should be usable to
select the current folder.

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4020
Origin: upstream, 4.6.4, commit:1e561035e2bc85942ae08005f4041709a15a9ce8

Gbp-Pq: Name filechooser-Small-fix-for-select-folder-mode.patch

3 years agoUpdate Hebrew translation
Yosef Or Boczko [Wed, 27 Apr 2022 14:19:20 +0000 (14:19 +0000)]
Update Hebrew translation

Origin: upstream, 4.6.4, commit:0a23c4678f39999aaadcf168e2202ebbbfe7c784

Gbp-Pq: Name Update-Hebrew-translation-1.patch

3 years agoUpdate Hebrew translation
Yaron Shahrabani [Wed, 27 Apr 2022 12:00:13 +0000 (12:00 +0000)]
Update Hebrew translation

Origin: upstream, 4.6.4, commit:edc21ef20278c560bb57e565a35e4839490f4376

Gbp-Pq: Name Update-Hebrew-translation.patch

3 years agoboxlayout: Do not infloop
Benjamin Otte [Tue, 26 Apr 2022 17:51:16 +0000 (19:51 +0200)]
boxlayout: Do not infloop

if the loop for determining max width grows too big, print an error and
abort assuming that a satisfactory value was reached.

This will cause wrong layout and might cause widgets to overlap, but it
will not infloop.

It actually works around and doesn't really fix the primary cause of the
following bugs, but good enough to close them:

(cherry picked from commit 515b1f52929a189b858a38aba733a3e7d2375fbc)

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4517
Bug-Debian: https://bugs.debian.org/1010547
Origin: upstream, 4.6.4, commit:ae0166973795e750f08b89f9f0ef974d7ac48bc7

Gbp-Pq: Name boxlayout-Do-not-infloop.patch

3 years agoUnfuzz gi-docgen patches
Simon McVittie [Wed, 4 May 2022 10:28:03 +0000 (11:28 +0100)]
Unfuzz gi-docgen patches

3 years agoUpdate changelog
Simon McVittie [Wed, 4 May 2022 10:01:59 +0000 (11:01 +0100)]
Update changelog

3 years agoNew upstream release
Simon McVittie [Wed, 4 May 2022 10:00:20 +0000 (11:00 +0100)]
New upstream release

3 years agoUpdate upstream source from tag 'upstream/4.6.3+ds1'
Simon McVittie [Wed, 4 May 2022 10:00:20 +0000 (11:00 +0100)]
Update upstream source from tag 'upstream/4.6.3+ds1'

Update to upstream version '4.6.3+ds1'
with Debian dir 17ef149abeecf9904adb685ecf3eea848c9e4509

3 years agoNew upstream version 4.6.3+ds1
Simon McVittie [Wed, 4 May 2022 09:59:32 +0000 (10:59 +0100)]
New upstream version 4.6.3+ds1

3 years agod/copyright: No need to exclude subprojects/wayland any more
Simon McVittie [Wed, 4 May 2022 09:58:55 +0000 (10:58 +0100)]
d/copyright: No need to exclude subprojects/wayland any more

It's no longer included in tarballs.

3 years agod/copyright: Exclude gtk/theme/Default/Default-*.css
Simon McVittie [Wed, 4 May 2022 09:57:45 +0000 (10:57 +0100)]
d/copyright: Exclude gtk/theme/Default/Default-*.css

We delete them in clean and rebuild them during the package build.
Since we're repacking the tarball anyway, we might as well exclude these
generated files.

3 years agoRevert "d/control.in: Use system copy of gi-docgen"
Simon McVittie [Wed, 4 May 2022 09:56:30 +0000 (10:56 +0100)]
Revert "d/control.in: Use system copy of gi-docgen"

This reverts commit 5be6ba27a1356650a7386b98c5718d26d7f853a4.