git: ba478786152c - 2022Q1 - x11-toolkits/gtk-layer-shell: silence gtk3 warning after 4e21a388ba0b
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jan 2022 22:16:19 UTC
The branch 2022Q1 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba478786152c46e7a31f00240b10d5daa4f99851 commit ba478786152c46e7a31f00240b10d5daa4f99851 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-01-04 17:56:40 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-01-04 22:16:06 +0000 x11-toolkits/gtk-layer-shell: silence gtk3 warning after 4e21a388ba0b $ nwg-dock [...] ** (<unknown>:4483): WARNING **: gtk-layer-shell v0.6.0 may not work on GTK v3.24.31. If you experience crashes, check https://github.com/wmww/gtk-layer-shell/blob/master/compatibility.md PR: 260639 (cherry picked from commit 31195e7a14b54c4adaf12696875e9a022549bf60) --- x11-toolkits/gtk-layer-shell/Makefile | 2 +- x11-toolkits/gtk-layer-shell/files/patch-gtk-priv | 50 ++++++++++++++--------- 2 files changed, 31 insertions(+), 21 deletions(-) diff --git a/x11-toolkits/gtk-layer-shell/Makefile b/x11-toolkits/gtk-layer-shell/Makefile index 7a627f318686..f59ba746c347 100644 --- a/x11-toolkits/gtk-layer-shell/Makefile +++ b/x11-toolkits/gtk-layer-shell/Makefile @@ -1,7 +1,7 @@ PORTNAME= gtk-layer-shell DISTVERSIONPREFIX= v DISTVERSION= 0.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits MAINTAINER= jbeich@FreeBSD.org diff --git a/x11-toolkits/gtk-layer-shell/files/patch-gtk-priv b/x11-toolkits/gtk-layer-shell/files/patch-gtk-priv index 5b8e284b7f78..62ad9b290668 100644 --- a/x11-toolkits/gtk-layer-shell/files/patch-gtk-priv +++ b/x11-toolkits/gtk-layer-shell/files/patch-gtk-priv @@ -7,11 +7,11 @@ Regenerate according to gtk-priv/README.md // Version ID 0 -// Valid for GTK v3.22.0 - v3.24.27 (unreleased) -+// Valid for GTK v3.22.0 - v3.24.31 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.32 (unreleased) struct _GdkWaylandPointerData_v3_22_0 { GdkWindow *focus; -@@ -121,6 +121,10 @@ int gdk_wayland_pointer_data_priv_get_version_id() { +@@ -121,6 +121,11 @@ int gdk_wayland_pointer_data_priv_get_version_id() { case 24024: case 24025: case 24026: @@ -19,6 +19,7 @@ Regenerate according to gtk-priv/README.md + case 24028: + case 24029: + case 24030: ++ case 24031: break; default: @@ -29,11 +30,11 @@ Regenerate according to gtk-priv/README.md // Version ID 0 -// Valid for GTK v3.22.0 - v3.24.27 (unreleased) -+// Valid for GTK v3.22.0 - v3.24.31 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.32 (unreleased) struct _GdkWaylandPointerFrameData_v3_22_0 { GdkEvent *event; -@@ -111,6 +111,10 @@ int gdk_wayland_pointer_frame_data_priv_get_version_id +@@ -111,6 +111,11 @@ int gdk_wayland_pointer_frame_data_priv_get_version_id case 24024: case 24025: case 24026: @@ -41,6 +42,7 @@ Regenerate according to gtk-priv/README.md + case 24028: + case 24029: + case 24030: ++ case 24031: break; default: @@ -51,11 +53,11 @@ Regenerate according to gtk-priv/README.md // + struct gtk_primary_selection_device *gtk_primary_data_device; // + struct zwp_primary_selection_device_v1 *zwp_primary_data_device_v1; -// Valid for GTK v3.24.24 - v3.24.27 (unreleased) -+// Valid for GTK v3.24.24 - v3.24.31 (unreleased) ++// Valid for GTK v3.24.24 - v3.24.32 (unreleased) struct _GdkWaylandSeat_v3_24_24 { GdkSeat parent_instance; -@@ -336,6 +336,10 @@ int gdk_wayland_seat_priv_get_version_id() { +@@ -336,6 +336,11 @@ int gdk_wayland_seat_priv_get_version_id() { case 24024: case 24025: case 24026: @@ -63,6 +65,7 @@ Regenerate according to gtk-priv/README.md + case 24028: + case 24029: + case 24030: ++ case 24031: break; default: @@ -73,11 +76,11 @@ Regenerate according to gtk-priv/README.md // Version ID 0 -// Valid for GTK v3.22.0 - v3.24.27 (unreleased) -+// Valid for GTK v3.22.0 - v3.24.31 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.32 (unreleased) struct _GdkWaylandTabletData_v3_22_0 { struct zwp_tablet_v2 *wp_tablet; -@@ -119,6 +119,10 @@ int gdk_wayland_tablet_data_priv_get_version_id() { +@@ -119,6 +119,11 @@ int gdk_wayland_tablet_data_priv_get_version_id() { case 24024: case 24025: case 24026: @@ -85,6 +88,7 @@ Regenerate according to gtk-priv/README.md + case 24028: + case 24029: + case 24030: ++ case 24031: break; default: @@ -95,11 +99,11 @@ Regenerate according to gtk-priv/README.md // Version ID 0 -// Valid for GTK v3.22.0 - v3.24.27 (unreleased) -+// Valid for GTK v3.22.0 - v3.24.31 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.32 (unreleased) struct _GdkWaylandTouchData_v3_22_0 { uint32_t id; -@@ -110,6 +110,10 @@ int gdk_wayland_touch_data_priv_get_version_id() { +@@ -110,6 +110,11 @@ int gdk_wayland_touch_data_priv_get_version_id() { case 24024: case 24025: case 24026: @@ -107,6 +111,7 @@ Regenerate according to gtk-priv/README.md + case 24028: + case 24029: + case 24030: ++ case 24031: break; default: @@ -117,11 +122,11 @@ Regenerate according to gtk-priv/README.md // Version ID 0 -// Valid for GTK v3.22.0 - v3.24.27 (unreleased) -+// Valid for GTK v3.22.0 - v3.24.31 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.32 (unreleased) struct _GdkWindowImplClass_v3_22_0 { GObjectClass parent_class; -@@ -196,6 +196,10 @@ int gdk_window_impl_class_priv_get_version_id() { +@@ -196,6 +196,11 @@ int gdk_window_impl_class_priv_get_version_id() { case 24024: case 24025: case 24026: @@ -129,6 +134,7 @@ Regenerate according to gtk-priv/README.md + case 24028: + case 24029: + case 24030: ++ case 24031: break; default: @@ -139,11 +145,11 @@ Regenerate according to gtk-priv/README.md // Version ID 0 -// Valid for GTK v3.22.0 - v3.24.27 (unreleased) -+// Valid for GTK v3.22.0 - v3.24.31 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.32 (unreleased) struct _GdkWindowImpl_v3_22_0 { GObject parent; -@@ -105,6 +105,10 @@ int gdk_window_impl_priv_get_version_id() { +@@ -105,6 +105,11 @@ int gdk_window_impl_priv_get_version_id() { case 24024: case 24025: case 24026: @@ -151,6 +157,7 @@ Regenerate according to gtk-priv/README.md + case 24028: + case 24029: + case 24030: ++ case 24031: break; default: @@ -161,11 +168,11 @@ Regenerate according to gtk-priv/README.md // Version ID 0 -// Valid for GTK v3.22.0 - v3.24.27 (unreleased) -+// Valid for GTK v3.22.0 - v3.24.31 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.32 (unreleased) struct _GdkWindowImplWaylandClass_v3_22_0 { struct _GdkWindowImplClass_v3_22_0 parent_class; -@@ -105,6 +105,10 @@ int gdk_window_impl_wayland_class_priv_get_version_id( +@@ -105,6 +105,11 @@ int gdk_window_impl_wayland_class_priv_get_version_id( case 24024: case 24025: case 24026: @@ -173,6 +180,7 @@ Regenerate according to gtk-priv/README.md + case 24028: + case 24029: + case 24030: ++ case 24031: break; default: @@ -183,11 +191,11 @@ Regenerate according to gtk-priv/README.md // + struct wl_callback *surface_callback; // + GHashTable *frame_callback_surfaces; -// Valid for GTK v3.24.25 - v3.24.27 (unreleased) -+// Valid for GTK v3.24.25 - v3.24.31 (unreleased) ++// Valid for GTK v3.24.25 - v3.24.32 (unreleased) struct _GdkWindowImplWayland_v3_24_25 { struct _GdkWindowImpl_v3_22_0 parent_instance; -@@ -1156,6 +1156,10 @@ int gdk_window_impl_wayland_priv_get_version_id() { +@@ -1156,6 +1156,11 @@ int gdk_window_impl_wayland_priv_get_version_id() { case 24024: case 24025: case 24026: @@ -195,6 +203,7 @@ Regenerate according to gtk-priv/README.md + case 24028: + case 24029: + case 24030: ++ case 24031: break; default: @@ -205,11 +214,11 @@ Regenerate according to gtk-priv/README.md // + guint synthesized_crossing_event_id; // - guint synthesize_crossing_event_queued : 1; -// Valid for GTK v3.24.11 - v3.24.27 (unreleased) -+// Valid for GTK v3.24.11 - v3.24.31 (unreleased) ++// Valid for GTK v3.24.11 - v3.24.32 (unreleased) struct _GdkWindow_v3_24_11 { GObject parent_instance; -@@ -360,6 +360,10 @@ int gdk_window_priv_get_version_id() { +@@ -360,6 +360,11 @@ int gdk_window_priv_get_version_id() { case 24024: case 24025: case 24026: @@ -217,6 +226,7 @@ Regenerate according to gtk-priv/README.md + case 24028: + case 24029: + case 24030: ++ case 24031: break; default: