Date: Sat, 28 Aug 2021 09:01:04 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: 5809aa12b5e0 - 2021Q3 - x11-toolkits/gtk-layer-shell: silence gtk3 warning after 2b1cd908bf52 Message-ID: <202108280901.17S914nI088399@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2021Q3 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=5809aa12b5e0eebc2f97c7975dc8abc1b4390195 commit 5809aa12b5e0eebc2f97c7975dc8abc1b4390195 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-08-28 08:28:00 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-08-28 09:00:39 +0000 x11-toolkits/gtk-layer-shell: silence gtk3 warning after 2b1cd908bf52 $ daemon -f swaync $ notify-send foo bar ** (swaync:1234): WARNING **: gtk-layer-shell v0.6.0 may not work on GTK v3.24.29. If you experience crashes, check https://github.com/wmww/gtk-layer-shell/blob/master/compatibility.md (cherry picked from commit 0706634a2903f60f6e1567663993136daf288d1b) --- x11-toolkits/gtk-layer-shell/Makefile | 1 + x11-toolkits/gtk-layer-shell/files/patch-gtk-priv | 222 ++++++++++++++++++++++ 2 files changed, 223 insertions(+) diff --git a/x11-toolkits/gtk-layer-shell/Makefile b/x11-toolkits/gtk-layer-shell/Makefile index 6a6d770f39e0..f16283e32dcc 100644 --- a/x11-toolkits/gtk-layer-shell/Makefile +++ b/x11-toolkits/gtk-layer-shell/Makefile @@ -1,6 +1,7 @@ PORTNAME= gtk-layer-shell DISTVERSIONPREFIX= v DISTVERSION= 0.6.0 +PORTREVISION= 1 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 new file mode 100644 index 000000000000..5b8e284b7f78 --- /dev/null +++ b/x11-toolkits/gtk-layer-shell/files/patch-gtk-priv @@ -0,0 +1,222 @@ +Regenerate according to gtk-priv/README.md + +--- gtk-priv/h/gdk_wayland_pointer_data_priv.h.orig 2021-03-03 00:47:46 UTC ++++ gtk-priv/h/gdk_wayland_pointer_data_priv.h +@@ -29,7 +29,7 @@ + typedef struct _GdkWaylandPointerData GdkWaylandPointerData; + + // Version ID 0 +-// Valid for GTK v3.22.0 - v3.24.27 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.31 (unreleased) + struct _GdkWaylandPointerData_v3_22_0 + { + GdkWindow *focus; +@@ -121,6 +121,10 @@ int gdk_wayland_pointer_data_priv_get_version_id() { + case 24024: + case 24025: + case 24026: ++ case 24027: ++ case 24028: ++ case 24029: ++ case 24030: + break; + + default: +--- gtk-priv/h/gdk_wayland_pointer_frame_data_priv.h.orig 2021-03-03 00:47:46 UTC ++++ gtk-priv/h/gdk_wayland_pointer_frame_data_priv.h +@@ -29,7 +29,7 @@ + typedef struct _GdkWaylandPointerFrameData GdkWaylandPointerFrameData; + + // Version ID 0 +-// Valid for GTK v3.22.0 - v3.24.27 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.31 (unreleased) + struct _GdkWaylandPointerFrameData_v3_22_0 + { + GdkEvent *event; +@@ -111,6 +111,10 @@ int gdk_wayland_pointer_frame_data_priv_get_version_id + case 24024: + case 24025: + case 24026: ++ case 24027: ++ case 24028: ++ case 24029: ++ case 24030: + break; + + default: +--- gtk-priv/h/gdk_wayland_seat_priv.h.orig 2021-03-03 00:47:46 UTC ++++ gtk-priv/h/gdk_wayland_seat_priv.h +@@ -209,7 +209,7 @@ struct _GdkWaylandSeat_v3_22_16 + // - struct gtk_primary_selection_device *primary_data_device; + // + 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) + struct _GdkWaylandSeat_v3_24_24 + { + GdkSeat parent_instance; +@@ -336,6 +336,10 @@ int gdk_wayland_seat_priv_get_version_id() { + case 24024: + case 24025: + case 24026: ++ case 24027: ++ case 24028: ++ case 24029: ++ case 24030: + break; + + default: +--- gtk-priv/h/gdk_wayland_tablet_data_priv.h.orig 2021-03-03 00:47:46 UTC ++++ gtk-priv/h/gdk_wayland_tablet_data_priv.h +@@ -29,7 +29,7 @@ + typedef struct _GdkWaylandTabletData GdkWaylandTabletData; + + // Version ID 0 +-// Valid for GTK v3.22.0 - v3.24.27 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.31 (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() { + case 24024: + case 24025: + case 24026: ++ case 24027: ++ case 24028: ++ case 24029: ++ case 24030: + break; + + default: +--- gtk-priv/h/gdk_wayland_touch_data_priv.h.orig 2021-03-03 00:47:46 UTC ++++ gtk-priv/h/gdk_wayland_touch_data_priv.h +@@ -29,7 +29,7 @@ + typedef struct _GdkWaylandTouchData GdkWaylandTouchData; + + // Version ID 0 +-// Valid for GTK v3.22.0 - v3.24.27 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.31 (unreleased) + struct _GdkWaylandTouchData_v3_22_0 + { + uint32_t id; +@@ -110,6 +110,10 @@ int gdk_wayland_touch_data_priv_get_version_id() { + case 24024: + case 24025: + case 24026: ++ case 24027: ++ case 24028: ++ case 24029: ++ case 24030: + break; + + default: +--- gtk-priv/h/gdk_window_impl_class_priv.h.orig 2021-03-03 00:47:46 UTC ++++ gtk-priv/h/gdk_window_impl_class_priv.h +@@ -29,7 +29,7 @@ + typedef struct _GdkWindowImplClass GdkWindowImplClass; + + // Version ID 0 +-// Valid for GTK v3.22.0 - v3.24.27 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.31 (unreleased) + struct _GdkWindowImplClass_v3_22_0 + { + GObjectClass parent_class; +@@ -196,6 +196,10 @@ int gdk_window_impl_class_priv_get_version_id() { + case 24024: + case 24025: + case 24026: ++ case 24027: ++ case 24028: ++ case 24029: ++ case 24030: + break; + + default: +--- gtk-priv/h/gdk_window_impl_priv.h.orig 2021-03-03 00:47:46 UTC ++++ gtk-priv/h/gdk_window_impl_priv.h +@@ -29,7 +29,7 @@ + typedef struct _GdkWindowImpl GdkWindowImpl; + + // Version ID 0 +-// Valid for GTK v3.22.0 - v3.24.27 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.31 (unreleased) + struct _GdkWindowImpl_v3_22_0 + { + GObject parent; +@@ -105,6 +105,10 @@ int gdk_window_impl_priv_get_version_id() { + case 24024: + case 24025: + case 24026: ++ case 24027: ++ case 24028: ++ case 24029: ++ case 24030: + break; + + default: +--- gtk-priv/h/gdk_window_impl_wayland_class_priv.h.orig 2021-03-03 00:47:46 UTC ++++ gtk-priv/h/gdk_window_impl_wayland_class_priv.h +@@ -29,7 +29,7 @@ + typedef struct _GdkWindowImplWaylandClass GdkWindowImplWaylandClass; + + // Version ID 0 +-// Valid for GTK v3.22.0 - v3.24.27 (unreleased) ++// Valid for GTK v3.22.0 - v3.24.31 (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( + case 24024: + case 24025: + case 24026: ++ case 24027: ++ case 24028: ++ case 24029: ++ case 24030: + break; + + default: +--- gtk-priv/h/gdk_window_impl_wayland_priv.h.orig 2021-03-03 00:47:46 UTC ++++ gtk-priv/h/gdk_window_impl_wayland_priv.h +@@ -985,7 +985,7 @@ struct _GdkWindowImplWayland_v3_24_22 + // Diff from previous version: + // + 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) + 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() { + case 24024: + case 24025: + case 24026: ++ case 24027: ++ case 24028: ++ case 24029: ++ case 24030: + break; + + default: +--- gtk-priv/h/gdk_window_priv.h.orig 2021-03-03 00:47:46 UTC ++++ gtk-priv/h/gdk_window_priv.h +@@ -205,7 +205,7 @@ struct _GdkWindow_v3_22_19 + // Diff from previous version: + // + 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) + struct _GdkWindow_v3_24_11 + { + GObject parent_instance; +@@ -360,6 +360,10 @@ int gdk_window_priv_get_version_id() { + case 24024: + case 24025: + case 24026: ++ case 24027: ++ case 24028: ++ case 24029: ++ case 24030: + break; + + default:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108280901.17S914nI088399>