Accepting request 1039175 from GNOME:Next

- Update to version 3.24.35:

OBS-URL: https://build.opensuse.org/request/show/1039175
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=425
This commit is contained in:
Dominique Leuenberger 2022-12-01 16:33:59 +00:00 committed by Git OBS Bridge
parent 03038817c7
commit 7f3ac657ac
7 changed files with 33 additions and 64 deletions

View File

@ -3,7 +3,7 @@
<service name="obs_scm" mode="disabled">
<param name="url">https://gitlab.gnome.org/GNOME/gtk.git</param>
<param name="scm">git</param>
<param name="revision">3.24.34</param>
<param name="revision">3.24.35</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9348ca7f47b3d68babf632f091f8099759078740e5529cc6b79065880c1566d0
size 99359246

3
gtk-3.24.35.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a5f4f83214e57b98d8ce78b74f2edf97ea2e1faec845fe77237aa3bd0fa2644
size 99353102

View File

@ -1,4 +1,4 @@
name: gtk
version: 3.24.34
mtime: 1652899923
commit: 4e3a3f05533789e1a68c70c185e1755d386d6c47
version: 3.24.35
mtime: 1669142583
commit: 14cf55f98ddd71ad3f91487eda1c7f14d67de119

View File

@ -1,52 +0,0 @@
From 965aa2e65f1c25113472f06b6662b0b69d724605 Mon Sep 17 00:00:00 2001
From: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
Date: Fri, 23 Sep 2022 10:39:41 +0300
Subject: [PATCH] gdk/wayland: Update selection's offer before updating dnd
targets
gdk_wayland_drop_context_update_targets gets targets from the
selection's offer. In order to ensure that the drop context has
up-to-date targets, update the selection's offer before updating
targets.
This fixes drag-and-drop not working reliably when running Firefox in
Plasma Wayland session.
---
gdk/wayland/gdkdevice-wayland.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index ed6ad3b138..a3d464be22 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -1188,14 +1188,16 @@ data_device_enter (void *data,
seat->pointer_info.surface_x = wl_fixed_to_double (x);
seat->pointer_info.surface_y = wl_fixed_to_double (y);
- gdk_wayland_drop_context_update_targets (seat->drop_context);
-
selection = gdk_drag_get_selection (seat->drop_context);
dnd_owner = gdk_selection_owner_get_for_display (seat->display, selection);
if (!dnd_owner)
dnd_owner = seat->foreign_dnd_window;
+ gdk_wayland_selection_set_offer (seat->display, selection, offer);
+
+ gdk_wayland_drop_context_update_targets (seat->drop_context);
+
_gdk_wayland_drag_context_set_source_window (seat->drop_context, dnd_owner);
_gdk_wayland_drag_context_set_dest_window (seat->drop_context,
@@ -1206,8 +1208,6 @@ data_device_enter (void *data,
_gdk_wayland_drag_context_emit_event (seat->drop_context, GDK_DRAG_ENTER,
GDK_CURRENT_TIME);
- gdk_wayland_selection_set_offer (seat->display, selection, offer);
-
emit_selection_owner_change (dest_window, selection);
}
--
GitLab

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Wed Nov 30 14:16:37 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 3.24.35:
+ GtkFontChooserWidget: Fix a critical.
+ GtkAccelLabel: Differentiate keypad keysyms in accelerators.
+ Input:
- Recognize stylus devices as pens.
- Fix problems with motion compression.
+ Windows: Build system improvements.
+ Wayland:
- Fix problems with unreliable DND.
- Use GLES if required.
- Add support for titlebar gestures.
- Refactor handling of IM client updates.
- Fix cursor hotspots with scaled surfaces.
- Use the xdg-activation protocol.
- Load cursors on demand.
- Fix cursor size on hi-dpi displays.
+ MacOS: Use a CVDisplayLink based frame clock.
+ Updated translations.
- Drop upstream merged patch
gtk3-gdkwayland-Update-selections-offer-before-updating-dnd.patch.
-------------------------------------------------------------------
Fri Sep 23 09:30:34 UTC 2022 - Fusion Future <qydwhotmail@gmail.com>
@ -15,7 +39,7 @@ Thu Sep 1 10:27:46 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
-------------------------------------------------------------------
Mon Aug 15 19:13:13 UTC 2022 - Dirk Müller <dmueller@suse.com>
- avoid bashism in baselibs postscript (bsc#1195391)
- avoid bashism in baselibs postscript (bsc#1195391).
-------------------------------------------------------------------
Mon Jul 4 08:11:44 UTC 2022 - Yifan Jiang <yfjiang@suse.com>

View File

@ -32,7 +32,7 @@
%bcond_without broadway
%bcond_with doc
Name: %{pname}
Version: 3.24.34
Version: 3.24.35
Release: 0
Summary: The GTK+ toolkit library (version 3)
License: LGPL-2.1-or-later
@ -47,8 +47,6 @@ Source99: baselibs.conf
Patch0: gtk3-GTK_PATH64.patch
# PATCH-FIX-OPENSUSE gtk3-revert-forced-xftdpi.patch fvogt@opensuse.org -- Revert very controversal commit on GTK3, forcing DPI to 96
Patch1: gtk3-revert-forced-xftdpi.patch
# PATCH-FIX-UPSTREAM gtk3-gdkwayland-Update-selections-offer-before-updating-dnd.patch -- Fix unstable drag&drop on Wayland
Patch2: gtk3-gdkwayland-Update-selections-offer-before-updating-dnd.patch
BuildRequires: cups-devel >= 1.7
BuildRequires: docbook-xsl-stylesheets
@ -389,7 +387,6 @@ cp -a %{SOURCE1} .
%patch0 -p1
%endif
%patch1 -p1
%patch2 -p1
%build
NOCONFIGURE=1 ./autogen.sh