OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk4?expand=0&rev=79
This commit is contained in:
parent
7515663f49
commit
a370259bf1
37
0002-Revert-no-pointer-viewport.patch
Normal file
37
0002-Revert-no-pointer-viewport.patch
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
From 3d802177be2f2e5fb95fdb988108dd1b048c5579 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Matthias Clasen <mclasen@redhat.com>
|
||||||
|
Date: Wed, 31 Jul 2024 07:29:37 -0400
|
||||||
|
Subject: [PATCH] wayland: No viewporter for cursors
|
||||||
|
|
||||||
|
The outlook for mutter supporting this in GNOME 47 are cloudy,
|
||||||
|
so lets flip the switch back. You can still set
|
||||||
|
USE_POINTER_VIEWPORT in the environment to try this code.
|
||||||
|
---
|
||||||
|
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 1070d7f9e1d..139c22cd39b 100644
|
||||||
|
--- a/gdk/wayland/gdkdevice-wayland.c
|
||||||
|
+++ b/gdk/wayland/gdkdevice-wayland.c
|
||||||
|
@@ -265,13 +265,13 @@ gdk_wayland_device_update_surface_cursor (GdkDevice *device)
|
||||||
|
guint next_image_index, next_image_delay;
|
||||||
|
gboolean retval = G_SOURCE_REMOVE;
|
||||||
|
GdkWaylandTabletData *tablet;
|
||||||
|
- gboolean use_viewport;
|
||||||
|
+ gboolean use_viewport = FALSE;
|
||||||
|
|
||||||
|
tablet = gdk_wayland_seat_find_tablet (seat, device);
|
||||||
|
|
||||||
|
- use_viewport = pointer->pointer_surface_viewport != NULL;
|
||||||
|
- if (g_getenv ("NO_POINTER_VIEWPORT"))
|
||||||
|
- use_viewport = FALSE;
|
||||||
|
+ if (pointer->pointer_surface_viewport &&
|
||||||
|
+ g_getenv ("USE_POINTER_VIEWPORT"))
|
||||||
|
+ use_viewport = TRUE;
|
||||||
|
|
||||||
|
if (pointer->cursor)
|
||||||
|
{
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
2
_service
2
_service
@ -3,7 +3,7 @@
|
|||||||
<service name="obs_scm" mode="manual">
|
<service name="obs_scm" mode="manual">
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="url">https://gitlab.gnome.org/GNOME/gtk.git</param>
|
<param name="url">https://gitlab.gnome.org/GNOME/gtk.git</param>
|
||||||
<param name="revision">4.15.5</param>
|
<param name="revision">4.15.4</param>
|
||||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||||
<param name="versionrewrite-pattern">(.*)\+0</param>
|
<param name="versionrewrite-pattern">(.*)\+0</param>
|
||||||
<param name="versionrewrite-replacement">\1</param>
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
3
gtk-4.15.4.obscpio
Normal file
3
gtk-4.15.4.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:557828536d3625f71194b22666b6485019c0c10cd3256938a7a987253fdf8ab9
|
||||||
|
size 89276942
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e62fc2b4fd1e45e2905c7041f2184ddbcc9e95d2c7793776988b7db0cc1d4772
|
|
||||||
size 89392654
|
|
@ -1,4 +1,4 @@
|
|||||||
name: gtk
|
name: gtk
|
||||||
version: 4.15.5
|
version: 4.15.4
|
||||||
mtime: 1723405434
|
mtime: 1722358222
|
||||||
commit: 07658347a91866f009379e6d8bcc7d1b7a653f8d
|
commit: 322bbd2376f5279cf9b08925c2c836fa777e283b
|
||||||
|
27
gtk4.changes
27
gtk4.changes
@ -1,32 +1,7 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Aug 12 07:06:16 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
|
||||||
|
|
||||||
- Update to version 4.15.5:
|
|
||||||
+ GtkTextView: ADd GtkTextBufferCommitNotify
|
|
||||||
+ CSS: Propagate color state information to GSK for many
|
|
||||||
features: colors, borders, shadows, text
|
|
||||||
+ Gdk:
|
|
||||||
- Fix an fd leak in the Vulkan code
|
|
||||||
- Fix a leak of EGLSurfaces and DMA buffers
|
|
||||||
- Set the opaque region of surfaces automatically based on
|
|
||||||
their content
|
|
||||||
+ Gsk:
|
|
||||||
- Fix Emoji rendering in Vulkan
|
|
||||||
- Rework color handling to take color states into account
|
|
||||||
- Implement more powerful occlusion culling
|
|
||||||
- Minimize our use of renderpasses
|
|
||||||
+ Debugging: The inspector shows details about color states
|
|
||||||
+ Deprecations:
|
|
||||||
- gdk_draw_context_begin/end_frame
|
|
||||||
- gdk_surface_set_opaque_region
|
|
||||||
+ Build: Require gstreamer 1.24
|
|
||||||
+ Updated translations.
|
|
||||||
- Drop 0002-Revert-no-pointer-viewport.patch: Fixed upstream.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 2 20:17:08 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
Fri Aug 2 20:17:08 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
||||||
|
|
||||||
- Add 0002-Revert-no-pointer-viewport.patch:
|
- Add 0002-Revert-no-pointer-viewport.patch --
|
||||||
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6620
|
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6620
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: gtk4
|
Name: gtk4
|
||||||
Version: 4.15.5
|
Version: 4.15.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The GTK+ toolkit library (version 4)
|
Summary: The GTK+ toolkit library (version 4)
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
@ -46,6 +46,10 @@ Source99: gtk4-rpmlintrc
|
|||||||
# PATCH-FIX-OPENSUSE 0001-Revert-Meson-Simplify-pkgconfig-file-generator.patch -- Revert "Meson: Simplify pkgconfig file generator"
|
# PATCH-FIX-OPENSUSE 0001-Revert-Meson-Simplify-pkgconfig-file-generator.patch -- Revert "Meson: Simplify pkgconfig file generator"
|
||||||
Patch0: 0001-Revert-Meson-Simplify-pkgconfig-file-generator.patch
|
Patch0: 0001-Revert-Meson-Simplify-pkgconfig-file-generator.patch
|
||||||
|
|
||||||
|
# https://gitlab.gnome.org/GNOME/gtk/-/issues/6620
|
||||||
|
# PATCH-FIX-UPSTREAM 0002-Revert-no-pointer-viewport.patch -- Fix the gigantic cursor issue pulled in latest version
|
||||||
|
Patch1: 0002-Revert-no-pointer-viewport.patch
|
||||||
|
|
||||||
BuildRequires: cups-devel >= 2.0
|
BuildRequires: cups-devel >= 2.0
|
||||||
# We do not support building against cups 2.3 betas
|
# We do not support building against cups 2.3 betas
|
||||||
BuildConflicts: (cups-devel > 2.3 with cups-devel < 2.3.0)
|
BuildConflicts: (cups-devel > 2.3 with cups-devel < 2.3.0)
|
||||||
|
Loading…
Reference in New Issue
Block a user