git: 1b1f37c6f433 - main - x11/xfce4-terminal: Fix build with WAYLAND option OFF
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Mar 2026 12:51:54 UTC
The branch main has been updated by madpilot:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1b1f37c6f4331b2497cfc18d1a3e14b767460342
commit 1b1f37c6f4331b2497cfc18d1a3e14b767460342
Author: Thomas Mueller <thmu7@freenet.de>
AuthorDate: 2026-03-11 12:48:54 +0000
Commit: Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2026-03-11 12:48:54 +0000
x11/xfce4-terminal: Fix build with WAYLAND option OFF
Import patch (already included in upstream repository [1]) to
properly fence gtk-layer-shell dependent code.
[1] https://gitlab.xfce.org/apps/xfce4-terminal/-/commit/b07d9546a08a3cd70b7e9aaad7a86256fbe32b8b
PR: 293731
---
.../files/patch-terminal_terminal-window-dropdown.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/x11/xfce4-terminal/files/patch-terminal_terminal-window-dropdown.c b/x11/xfce4-terminal/files/patch-terminal_terminal-window-dropdown.c
new file mode 100644
index 000000000000..6c67073dd3be
--- /dev/null
+++ b/x11/xfce4-terminal/files/patch-terminal_terminal-window-dropdown.c
@@ -0,0 +1,16 @@
+--- terminal/terminal-window-dropdown.c.orig 2026-03-08 11:12:45 UTC
++++ terminal/terminal-window-dropdown.c
+@@ -567,11 +567,13 @@ terminal_window_dropdown_finalize (GObject *object)
+ if (dropdown->animation_timeout_id != 0)
+ g_source_remove (dropdown->animation_timeout_id);
+
++#ifdef HAVE_GTK_LAYER_SHELL
+ if (dropdown->set_monitor_idle_id != 0)
+ g_source_remove (dropdown->set_monitor_idle_id);
+
+ if (dropdown->monitor_removed_idle_id != 0)
+ g_source_remove (dropdown->monitor_removed_idle_id);
++#endif
+
+ if (dropdown->status_icon != NULL)
+ g_object_unref (G_OBJECT (dropdown->status_icon));