gtk4.git
2 years agoUpdate Turkish translation
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

2 years agoUpdate Turkish translation
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

2 years agogtkcolumnviewcolumn: Only create cells when the column is visible
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

2 years agoUpdate Abkhazian translation
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

2 years agoRelease to unstable
Simon McVittie [Sat, 4 Feb 2023 15:14:46 +0000 (15:14 +0000)]
Release to unstable

2 years agoUpdate changelog
Simon McVittie [Sat, 4 Feb 2023 15:13:51 +0000 (15:13 +0000)]
Update changelog

2 years agoAdd patch from 4.9.x to avoid scroll events being sent to more than one window under X11
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

2 years agoStandards-Version: 4.6.2 (no changes required)
Simon McVittie [Sat, 4 Feb 2023 14:45:23 +0000 (14:45 +0000)]
Standards-Version: 4.6.2 (no changes required)

2 years agoAdd overrides for false positive lintian/lintian!452
Simon McVittie [Sat, 4 Feb 2023 14:44:41 +0000 (14:44 +0000)]
Add overrides for false positive lintian/lintian!452

2 years agoUpdate changelog
Simon McVittie [Sat, 4 Feb 2023 11:37:44 +0000 (11:37 +0000)]
Update changelog

2 years agod/patches: Update to gtk-4-8 branch commit 4.8.3-15-g1ef03e6eb8
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

2 years agod/control.in: gtk-4-examples no longer contains installed-tests
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.

2 years agoRegenerate d/control
Simon McVittie [Thu, 12 Jan 2023 19:22:00 +0000 (19:22 +0000)]
Regenerate d/control

2 years agodebian/tests/python3-gi: stop using deprecated method
Jeremy Bicha [Thu, 12 Jan 2023 17:56:07 +0000 (12:56 -0500)]
debian/tests/python3-gi: stop using deprecated method

2 years agoRelease to unstable
Simon McVittie [Tue, 3 Jan 2023 12:45:39 +0000 (12:45 +0000)]
Release to unstable

2 years agod/copyright: Add details of run-with-display script
Simon McVittie [Tue, 3 Jan 2023 12:42:25 +0000 (12:42 +0000)]
d/copyright: Add details of run-with-display script

2 years agod/copyright: Move standalone license stanzas to the end
Simon McVittie [Tue, 3 Jan 2023 12:42:12 +0000 (12:42 +0000)]
d/copyright: Move standalone license stanzas to the end

2 years agod/tests/build: Avoid PWD bashism
Simon McVittie [Tue, 3 Jan 2023 12:37:13 +0000 (12:37 +0000)]
d/tests/build: Avoid PWD bashism

2 years agod/tests/build: Suppress D-Bus/a11y warnings
Simon McVittie [Tue, 3 Jan 2023 12:26:48 +0000 (12:26 +0000)]
d/tests/build: Suppress D-Bus/a11y warnings

2 years agod/tests/python3-gi: Explicitly disable a11y
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.

2 years agod/tests: Quote more defensively
Simon McVittie [Tue, 3 Jan 2023 12:24:45 +0000 (12:24 +0000)]
d/tests: Quote more defensively

2 years agod/run-tests.sh: Use dh_auto_test
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
2 years agod/tests/run-with-display: Use absolute path to WAYLAND_DISPLAY socket
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.

2 years agoUpdate changelog
Simon McVittie [Tue, 3 Jan 2023 09:47:52 +0000 (09:47 +0000)]
Update changelog

2 years agoDrop patches that were applied upstream
Simon McVittie [Tue, 3 Jan 2023 09:45:58 +0000 (09:45 +0000)]
Drop patches that were applied upstream

2 years agoNew upstream release
Simon McVittie [Tue, 3 Jan 2023 09:40:49 +0000 (09:40 +0000)]
New upstream release

2 years agoUpdate upstream source from tag 'upstream/4.8.3+ds'
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

2 years agoNew upstream version 4.8.3+ds
Simon McVittie [Tue, 3 Jan 2023 09:40:21 +0000 (09:40 +0000)]
New upstream version 4.8.3+ds

2 years ago4.8.3
Matthias Clasen [Thu, 22 Dec 2022 18:35:11 +0000 (13:35 -0500)]
4.8.3

2 years agoMerge branch 'cherry-pick-acd7d739' into 'gtk-4-8'
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

2 years agoGdkWin32: Fix resizes with native decorations
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

2 years agoMerge branch 'hicolor-backport' into 'gtk-4-8'
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

2 years agotests: Maybe skip introspection tests
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.

2 years agoMerge branch 'include-hicolor-index-theme-as-resource-rebased' into 'main'
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

2 years agoMerge branch 'cherry-pick-ae097d96' into 'gtk-4-8'
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

2 years agoMerge branch 'wip/antoniof/listbase-rubberband-better-fix' into 'main'
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

2 years agoUpdate Russian translation
Aleksandr Melman [Tue, 20 Dec 2022 09:21:34 +0000 (09:21 +0000)]
Update Russian translation

3 years agoMerge branch 'cherry-pick-1f001a8f' into 'gtk-4-8'
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

3 years agoMerge branch 'cherry-pick-e8f70be2' into 'gtk-4-8'
Matthias Clasen [Thu, 15 Dec 2022 16:27:57 +0000 (16:27 +0000)]
Merge branch 'cherry-pick-e8f70be2' into 'gtk-4-8'

Merge branch 'wip/otte/for-5422' into 'main'

See merge request GNOME/gtk!5331

3 years agoMerge branch 'wip/corey/listbase-focus' into 'main'
Benjamin Otte [Wed, 14 Dec 2022 19:06:57 +0000 (19:06 +0000)]
Merge branch 'wip/corey/listbase-focus' into 'main'

listbase: Use set_focus_child properly

Closes #5433 and #5432

See merge request GNOME/gtk!5169

(cherry picked from commit 1f001a8f6af1c761d8b47e9f5eb0e8936d77d92a)

7081bfc6 listbase: Split scroll_to_item for reuse
93e591fd listbase: Use set_focus_child properly

3 years agoMerge branch 'x11-fixes-backports-4-8' into 'gtk-4-8'
Matthias Clasen [Thu, 15 Dec 2022 00:25:25 +0000 (00:25 +0000)]
Merge branch 'x11-fixes-backports-4-8' into 'gtk-4-8'

Assorted x11 fix backports

See merge request GNOME/gtk!5333

3 years agoMerge branch 'update-ci-image-4-8' into 'gtk-4-8'
Matthias Clasen [Thu, 15 Dec 2022 00:24:54 +0000 (00:24 +0000)]
Merge branch 'update-ci-image-4-8' into 'gtk-4-8'

text: Prevent unexpected notify::direction emissions

See merge request GNOME/gtk!5334

3 years agoGetting desperate
Matthias Clasen [Wed, 14 Dec 2022 20:09:04 +0000 (15:09 -0500)]
Getting desperate

3 years agoci: Another fixup
Matthias Clasen [Wed, 14 Dec 2022 19:02:53 +0000 (14:02 -0500)]
ci: Another fixup

3 years agoci: Add /home/user/.local/bin to PATH
Matthias Clasen [Wed, 14 Dec 2022 18:12:55 +0000 (13:12 -0500)]
ci: Add /home/user/.local/bin to PATH

3 years agoInstall meson 0.64 in ci jobs
Matthias Clasen [Wed, 14 Dec 2022 17:42:58 +0000 (12:42 -0500)]
Install meson 0.64 in ci jobs

3 years agoci: Try to defeat the caching
Matthias Clasen [Wed, 14 Dec 2022 16:36:53 +0000 (11:36 -0500)]
ci: Try to defeat the caching

Drop subprojects/glib from the caching, since it
fails to update.

3 years agovulkan: Add missing enumeration
Emmanuele Bassi [Sat, 26 Nov 2022 14:56:10 +0000 (14:56 +0000)]
vulkan: Add missing enumeration

Check for VK_ERROR_COMPRESSION_EXHAUSTED_EXT.

3 years agoDon't emit ::notify from a getter
Matthias Clasen [Sun, 27 Nov 2022 02:53:33 +0000 (21:53 -0500)]
Don't emit ::notify from a getter

GdkX11Keymap ddetermines the direction of the
keymap on demand, and was emitting notify::direction

3 years agomountoperation: Add a mnemonic to a button
Matthias Clasen [Thu, 6 Oct 2022 00:14:09 +0000 (20:14 -0400)]
mountoperation: Add a mnemonic to a button

This is a good practice, even if this is a rarely
used dialog.

3 years agomountoperation: Don't use a treeview
Matthias Clasen [Wed, 5 Oct 2022 01:24:16 +0000 (21:24 -0400)]
mountoperation: Don't use a treeview

Port the process list from GtkTreeView
to GtkListView, and fix a number of broken
things along the way.

3 years agotestmountoperation: Test process dialog
Matthias Clasen [Wed, 5 Oct 2022 01:25:26 +0000 (21:25 -0400)]
testmountoperation: Test process dialog

Without this, it is hard to trigger the
dialog. Event with this, we have to force
GtkMountOperation to use its own dialog.

3 years agomountoperation: Survive on Wayland
Matthias Clasen [Wed, 5 Oct 2022 00:15:43 +0000 (20:15 -0400)]
mountoperation: Survive on Wayland

The code was assuming it is dealing with an
X11 display, and trigger assertions. Fix that
to make it work at least as well as it does
on Windows.

3 years agotext: Prevent unexpected notify::direction emissions
Matthias Clasen [Fri, 25 Nov 2022 12:59:35 +0000 (07:59 -0500)]
text: Prevent unexpected notify::direction emissions

Calling gdk_device_get_direction can trigger a
notify::direction emissions, since the X11 backend
determines the direction on demand. Prevent that by
forcing the direction to be determined ahead of time.

Fixes: #5311
3 years agogdk/x11: Clear all data in GdkSurfaceX11 finalization
Carlos Garnacho [Wed, 7 Dec 2022 12:16:36 +0000 (13:16 +0100)]
gdk/x11: Clear all data in GdkSurfaceX11 finalization

Currently, the GdkSurfaceX11 implementation relies that the upper
layers hid the surface before destruction, and that no
GdkSurfaceClass.compute_resize happened between them. If these
circumstances happened, there would be a compute_size timeout left
dangling after the surface got destroyed, poking at incorrect data
later on. Something that looks like this was reported in the
recent mutter-x11-frames "SSD frames server":

    mutter-x11-frames:423016): GLib-GObject-WARNING **: 19:41:16.869: invalid unclassed pointer in cast to 'GtkWindow'

    Thread 1 "mutter-x11-fram" received signal SIGTRAP, Trace/breakpoint trap.
    g_logv (log_domain=0x7ffff7f7c4f8 "GLib-GObject", log_level=G_LOG_LEVEL_WARNING, format=<optimized out>, args=<optimized out>) at ../../../glib/gmessages.c:1433
    1433 ../../../glib/gmessages.c: No such file or directory.
    (gdb) bt
    #0  g_logv (log_domain=0x7ffff7f7c4f8 "GLib-GObject", log_level=G_LOG_LEVEL_WARNING, format=<optimized out>, args=<optimized out>) at ../../../glib/gmessages.c:1433
    #1  0x00007ffff73470ff in g_log (log_domain=log_domain@entry=0x7ffff7f7c4f8 "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_WARNING, format=format@entry=0x7ffff7f84da8 "invalid unclassed pointer in cast to '%s'")
        at ../../../glib/gmessages.c:1471
    #2  0x00007ffff7f72892 in g_type_check_instance_cast (type_instance=type_instance@entry=0x5555558e04b0, iface_type=<optimized out>) at ../../../gobject/gtype.c:4144
    #3  0x00007ffff791e77d in toplevel_compute_size (toplevel=<optimized out>, size=0x7fffffffe170, widget=0x5555558e04b0) at ../../../gtk/gtkwindow.c:4227
    #4  0x00007ffff7f4f3b0 in g_closure_invoke (closure=0x555555898cc0, return_value=return_value@entry=0x0, n_param_values=2, param_values=param_values@entry=0x7fffffffdeb0, invocation_hint=invocation_hint@entry=0x7fffffffde30)
        at ../../../gobject/gclosure.c:832
    #5  0x00007ffff7f62076 in signal_emit_unlocked_R
        (node=node@entry=0x55555588feb0, detail=detail@entry=0, instance=instance@entry=0x55555560e990, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffdeb0)
        at ../../../gobject/gsignal.c:3796
    #6  0x00007ffff7f68bf5 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffe050) at ../../../gobject/gsignal.c:3549
    #7  0x00007ffff7f68dbf in <emit signal ??? on instance 0x55555560e990 [GdkX11Toplevel]> (instance=<optimized out>, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3606
    #8  0x00007ffff7a8de96 in gdk_toplevel_notify_compute_size (toplevel=<optimized out>, size=size@entry=0x7fffffffe170) at ../../../gdk/gdktoplevel.c:112
    #9  0x00007ffff7a4b15a in compute_toplevel_size (surface=surface@entry=0x55555560e990 [GdkX11Toplevel], update_geometry=update_geometry@entry=1, width=width@entry=0x7fffffffe220, height=height@entry=0x7fffffffe224)
        at ../../../gdk/x11/gdksurface-x11.c:281
    #10 0x00007ffff7a4c3b2 in compute_size_idle (user_data=0x55555560e990) at ../../../gdk/x11/gdksurface-x11.c:356
    #11 0x00007ffff733f67f in g_main_dispatch (context=0x55555563f6e0) at ../../../glib/gmain.c:3444
    #12 g_main_context_dispatch (context=context@entry=0x55555563f6e0) at ../../../glib/gmain.c:4162
    #13 0x00007ffff733fa38 in g_main_context_iterate (context=0x55555563f6e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4238
    #14 0x00007ffff733fcef in g_main_loop_run (loop=loop@entry=0x5555560874a0) at ../../../glib/gmain.c:4438
    #15 0x0000555555557de0 in main (argc=<optimized out>, argv=<optimized out>) at ../src/frames/main.c:68

It perhaps makes sense to warn in these situations, but either way
it sounds like gdk_surface_x11_finalize() could enforce the correct
behavior by ensuring there is no dangling timeouts/data. This commit
does that.

3 years agoDon't emit ::notify from a getter
Matthias Clasen [Sun, 27 Nov 2022 02:53:33 +0000 (21:53 -0500)]
Don't emit ::notify from a getter

GdkX11Keymap ddetermines the direction of the
keymap on demand, and was emitting notify::direction

3 years agoUpdate Persian translation
Danial Behzadi [Wed, 14 Dec 2022 12:33:15 +0000 (12:33 +0000)]
Update Persian translation

3 years agomountoperation: Add a mnemonic to a button
Matthias Clasen [Thu, 6 Oct 2022 00:14:09 +0000 (20:14 -0400)]
mountoperation: Add a mnemonic to a button

This is a good practice, even if this is a rarely
used dialog.

3 years agomountoperation: Don't use a treeview
Matthias Clasen [Wed, 5 Oct 2022 01:24:16 +0000 (21:24 -0400)]
mountoperation: Don't use a treeview

Port the process list from GtkTreeView
to GtkListView, and fix a number of broken
things along the way.

3 years agotestmountoperation: Test process dialog
Matthias Clasen [Wed, 5 Oct 2022 01:25:26 +0000 (21:25 -0400)]
testmountoperation: Test process dialog

Without this, it is hard to trigger the
dialog. Event with this, we have to force
GtkMountOperation to use its own dialog.

3 years agomountoperation: Survive on Wayland
Matthias Clasen [Wed, 5 Oct 2022 00:15:43 +0000 (20:15 -0400)]
mountoperation: Survive on Wayland

The code was assuming it is dealing with an
X11 display, and trigger assertions. Fix that
to make it work at least as well as it does
on Windows.

3 years agoMerge branch 'wip/otte/for-5422' into 'main'
Corey Berla [Wed, 14 Dec 2022 01:56:04 +0000 (01:56 +0000)]
Merge branch 'wip/otte/for-5422' into 'main'

contentserializer: Serialize to file:// if possible

Closes #5422

See merge request GNOME/gtk!5330

(cherry picked from commit e8f70be2c1c0532666941db9049cdb7307633e13)

ea056d26 contentserializer: Serialize to file:// if possible

3 years agotext: Prevent unexpected notify::direction emissions
Matthias Clasen [Fri, 25 Nov 2022 12:59:35 +0000 (07:59 -0500)]
text: Prevent unexpected notify::direction emissions

Calling gdk_device_get_direction can trigger a
notify::direction emissions, since the X11 backend
determines the direction on demand. Prevent that by
forcing the direction to be determined ahead of time.

Fixes: #5311
3 years agoMerge branch 'wip/corey/cherrypick-from-main' into 'gtk-4-8'
Matthias Clasen [Fri, 9 Dec 2022 21:26:30 +0000 (21:26 +0000)]
Merge branch 'wip/corey/cherrypick-from-main' into 'gtk-4-8'

Cherrypick into 4.8

See merge request GNOME/gtk!5312

3 years agoAdd Interlingue translation
Olga Smirnova [Fri, 9 Dec 2022 20:36:05 +0000 (20:36 +0000)]
Add Interlingue translation

3 years agoatspicontext: Log more helpful warnings when the a11y bus doesn't exist
Corey Berla [Tue, 29 Nov 2022 00:34:12 +0000 (16:34 -0800)]
atspicontext: Log more helpful warnings when the a11y bus doesn't exist

3 years agoatspicontext: Cache empty atspi bus address
Corey Berla [Tue, 29 Nov 2022 00:32:52 +0000 (16:32 -0800)]
atspicontext: Cache empty atspi bus address

We are caching the bus address as data on the display object when it
exists, but fail to set the data when the bus address doesn't exist.
That causing excessive calls to GetAddress when the accesssbility
bus doesn't exist. Make sure to cache a non-existent accessibility
bus by setting the "" string.

3 years agoatspicontext: Log failure to connect to a11y
Corey Berla [Sun, 27 Nov 2022 22:12:36 +0000 (14:12 -0800)]
atspicontext: Log failure to connect to a11y

GTK depends on the a11y infrastructure to be in place unless GTK_A11Y is
set to none.  It appears that despite that, users attempt to
get around the a11y requirement without setting GTK_A11Y.
This can cause, amongst other issues, performance problems
with gtk applications.  Log failure to connect to the a11y
bus.

3 years agoRelease to unstable
Simon McVittie [Tue, 6 Dec 2022 11:52:39 +0000 (11:52 +0000)]
Release to unstable

3 years agoUpdate changelog
Simon McVittie [Tue, 6 Dec 2022 11:52:24 +0000 (11:52 +0000)]
Update changelog

3 years agoRevert "Work around Mesa regresion #1025312 by forcing software rendering"
Simon McVittie [Tue, 6 Dec 2022 11:50:19 +0000 (11:50 +0000)]
Revert "Work around Mesa regresion #1025312 by forcing software rendering"

This reverts commit 21fbef6d66586999e9a57d1c57694a4b8771f1c7.

3 years agoUpdate changelog
Simon McVittie [Tue, 6 Dec 2022 11:50:07 +0000 (11:50 +0000)]
Update changelog

3 years agoUpdate from upstream gtk-4-8 branch
Simon McVittie [Tue, 6 Dec 2022 11:49:47 +0000 (11:49 +0000)]
Update from upstream gtk-4-8 branch

- Fix visual artifacts on X11
- Update translations

3 years agod/patches: Sort Debian-specific patches to the end of the series
Simon McVittie [Tue, 6 Dec 2022 11:45:14 +0000 (11:45 +0000)]
d/patches: Sort Debian-specific patches to the end of the series

3 years agoAdd patch to make the node editor reproducible
Simon McVittie [Tue, 6 Dec 2022 11:43:45 +0000 (11:43 +0000)]
Add patch to make the node editor reproducible

3 years agoUpdate changelog
Simon McVittie [Mon, 5 Dec 2022 11:21:09 +0000 (11:21 +0000)]
Update changelog

3 years agoUpdate Basque translation
Asier Sarasua Garmendia [Sat, 3 Dec 2022 09:45:52 +0000 (09:45 +0000)]
Update Basque translation

3 years agoDon't try to install man pages under nodoc build-profile
Simon McVittie [Fri, 2 Dec 2022 22:51:09 +0000 (22:51 +0000)]
Don't try to install man pages under nodoc build-profile

3 years agoDrop unused docbook and xsltproc build-dependencies
Simon McVittie [Fri, 2 Dec 2022 22:46:33 +0000 (22:46 +0000)]
Drop unused docbook and xsltproc build-dependencies

The man pages now use python3-docutils instead.

3 years agoMerge branch 'cherry-pick-a9c9678e' into 'gtk-4-8'
Benjamin Otte [Fri, 2 Dec 2022 17:10:38 +0000 (17:10 +0000)]
Merge branch 'cherry-pick-a9c9678e' into 'gtk-4-8'

Merge branch 'workaround-glx-issue' into 'main'

See merge request GNOME/gtk!5287

3 years agoMerge branch 'workaround-glx-issue' into 'main'
Benjamin Otte [Fri, 2 Dec 2022 15:32:22 +0000 (15:32 +0000)]
Merge branch 'workaround-glx-issue' into 'main'

GLX: Add extra glXMakeContextCurrent () call to work around a DRI issue

Closes #4499, #5387, and #5170

See merge request GNOME/gtk!5285

(cherry picked from commit a9c9678e1f617755368f16424a03ae1f2d2ced4e)

f788e994 GLX: Add extra glXMakeContextCurrent () call to work around a DRI issue

3 years agoUpdate changelog
Simon McVittie [Fri, 2 Dec 2022 15:24:11 +0000 (15:24 +0000)]
Update changelog

3 years agoWork around Mesa regresion #1025312 by forcing software rendering
Simon McVittie [Fri, 2 Dec 2022 15:23:01 +0000 (15:23 +0000)]
Work around Mesa regresion #1025312 by forcing software rendering

We expect only software rendering to be available in typical buildd or
autopkgtest environments anyway, so this is no real loss.

3 years agod/rules: Remove redundant --libdir override
Simon McVittie [Fri, 2 Dec 2022 10:32:40 +0000 (10:32 +0000)]
d/rules: Remove redundant --libdir override

3 years agoAdd patches to improve handling of flaky/failing tests
Simon McVittie [Wed, 23 Nov 2022 21:34:14 +0000 (21:34 +0000)]
Add patches to improve handling of flaky/failing tests

3 years agoUpdate Abkhazian translation
Nart Tlisha [Fri, 2 Dec 2022 10:13:21 +0000 (10:13 +0000)]
Update Abkhazian translation

3 years agoMerge branch 'wip/smcv/ci-4-8' into 'gtk-4-8'
Matthias Clasen [Fri, 25 Nov 2022 14:23:22 +0000 (14:23 +0000)]
Merge branch 'wip/smcv/ci-4-8' into 'gtk-4-8'

[4.8.x] subprojects: Pin GLib to version 2.74.x

See merge request GNOME/gtk!5252

3 years agosubprojects: Pin GLib to version 2.74.x
Simon McVittie [Thu, 24 Nov 2022 10:25:43 +0000 (10:25 +0000)]
subprojects: Pin GLib to version 2.74.x

GLib 2.74.x and GTK 4.8.x both correspond to the GNOME 43 cycle. Keeping
GLib on the 2.74.x branch avoids a CI regression when GLib git main
depends on a newer Meson version than the one GTK's CI installs, which
has happened in 2.75.x as a result of GNOME/glib!3077.

Signed-off-by: Simon McVittie <smcv@debian.org>
3 years agoRelease to unstable
Simon McVittie [Fri, 18 Nov 2022 22:12:30 +0000 (22:12 +0000)]
Release to unstable

3 years agoUpdate changelog
Simon McVittie [Fri, 18 Nov 2022 22:12:03 +0000 (22:12 +0000)]
Update changelog

3 years agoUpdate to upstream commit 4.8.2-21-g753c6f2435
Simon McVittie [Fri, 18 Nov 2022 22:11:23 +0000 (22:11 +0000)]
Update to upstream commit 4.8.2-21-g753c6f2435

- Trigger on-screen keyboard more reliably
- Don't dismiss popups unnecessarily

3 years agoSkip border-image-excess-size reftest on big-endian machines
Simon McVittie [Fri, 18 Nov 2022 21:38:04 +0000 (21:38 +0000)]
Skip border-image-excess-size reftest on big-endian machines

Mitigates: #1024391

3 years agoMerge branch 'wip/carlosg/osk-activation-4-8' into 'gtk-4-8'
Carlos Garnacho [Fri, 18 Nov 2022 18:25:59 +0000 (18:25 +0000)]
Merge branch 'wip/carlosg/osk-activation-4-8' into 'gtk-4-8'

gtktext: Claim gesture more selectively [4.8]

See merge request GNOME/gtk!5233

3 years agogdksurface: Do not consider GDK_TOUCH_END/CANCEL as popup-dismiss worthy
Carlos Garnacho [Fri, 18 Nov 2022 14:02:22 +0000 (15:02 +0100)]
gdksurface: Do not consider GDK_TOUCH_END/CANCEL as popup-dismiss worthy

GDK_TOUCH_END deserves the same treatment than GDK_BUTTON_RELEASE, since it's
subject to the same circumstances (popping up a menu on long press would be
immediately dismissed on release if we handled them there). Ideally, we would
want to match releases that we obtained a press for while grabbed, but as
the popup is also dismissed on GDK_BUTTON_PRESS/GDK_TOUCH_BEGIN, there's no
use for this tracking.

And GDK_TOUCH_CANCEL sounds weird as a reason to dismiss popups, just like
crossing events would.

Related: https://gitlab.gnome.org/GNOME/mutter/-/issues/2512

(cherry-picked from commit 2ff4c77c5500110e2b387a8764ab19a92045ff4e)

3 years agogtktext: Claim gesture more selectively
Carlos Garnacho [Fri, 18 Nov 2022 12:57:02 +0000 (13:57 +0100)]
gtktext: Claim gesture more selectively

Even though button 1 (or touch down) presses do most often have
an effect in one way or another (starting drag, moving focus,
starting selection, ...), there is one situation that they do
immediately nothing: When clicking on the entry does not move
the text caret around. Dragging might start a selection, but
the entry did not do anything just yet, and an immediate
button/touch release should remain at "did nothing".

And that is precisely the hint that the Wayland IM context's click
gesture takes, clicks that do not scroll nor move the caret around,
having the GtkText not claim the gesture in that situation makes
the IM gesture able to do its thing without in-fighting.

This is typically not a problem when the GtkText is embedded in
another GtkEditable implementation (e.g. GtkEntry), since the
IM gesture is inactive and capturing from the parent widget, so
gets a pass that it otherwise doesn't get when both gestures are
in the same widget. This makes it work regardless of GtkText not
being a child of a composite widget, like NautilusQueryEditor
and AdwRowEntry.

Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5351
(cherry-picked from commit 09b982f0264e42bda3e8471bb25abec5ee742ecc)

3 years agoRelease to unstable
Simon McVittie [Fri, 18 Nov 2022 09:56:46 +0000 (09:56 +0000)]
Release to unstable

3 years agod/patches: Update to upstream gtk-4-8 branch commit 4.8.2-18-g205783d9b0
Simon McVittie [Fri, 18 Nov 2022 09:48:10 +0000 (09:48 +0000)]
d/patches: Update to upstream gtk-4-8 branch commit 4.8.2-18-g205783d9b0

- Fix handling of AltGr when multiple keyboard layouts use it
- Fix handling of back/forward mouse buttons
- Fix a focus handling regression
- Fix a regression that caused a very narrow combo box drop-down in
  GNOME Settings since 4.8
- Fix a regression with copying under Phosh since 4.8
- Don't confine resized windows to the geometry of the first monitor
- Translation updates

3 years agoBuild-/test-depend on dbus-daemon instead of dbus
Simon McVittie [Fri, 18 Nov 2022 09:32:36 +0000 (09:32 +0000)]
Build-/test-depend on dbus-daemon instead of dbus

We only need dbus-run-session here, not the system bus.

3 years agod/watch, d/gbp.conf: Only watch for 4.8.x versions
Simon McVittie [Fri, 18 Nov 2022 09:29:01 +0000 (09:29 +0000)]
d/watch, d/gbp.conf: Only watch for 4.8.x versions

Development release 4.9.1 has already happened, but is unlikely to reach
a stable branch before the Debian 12 freeze.

3 years agoMerge branch 'cherry-pick-4.8' into 'gtk-4-8'
Matthias Clasen [Thu, 17 Nov 2022 03:49:51 +0000 (03:49 +0000)]
Merge branch 'cherry-pick-4.8' into 'gtk-4-8'

Cherry-pick changes from main for gtk-4-8

See merge request GNOME/gtk!5213