From f558c99c22d2afa5180135076bba41214f6f410f Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 18 Feb 2026 14:53:16 -0700 Subject: [PATCH] Switched Darwin/macOS dependency resolution to require gtk-mac-integration directly, and removed the legacy gtkosxapplication fallback path in src/fe-gtk/meson.build. Kept existing mac integration wiring behavior intact (HAVE_GTK_MAC still enabled when this dependency is present, now mandatory on Darwin). --- src/fe-gtk/meson.build | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/fe-gtk/meson.build b/src/fe-gtk/meson.build index 0096c484..ca84add2 100644 --- a/src/fe-gtk/meson.build +++ b/src/fe-gtk/meson.build @@ -89,15 +89,9 @@ elif host_machine.system() == 'darwin' zoitechat_gtk_sources += 'notifications/notification-osx.m' add_languages('objc') - gtk_mac_dep = dependency('gtk-mac-integration', required: false) - if not gtk_mac_dep.found() - gtk_mac_dep = dependency('gtkosxapplication', required: false) - endif - - if gtk_mac_dep.found() - zoitechat_gtk_deps += gtk_mac_dep - zoitechat_gtk_cflags += '-DHAVE_GTK_MAC' - endif + gtk_mac_dep = dependency('gtk-mac-integration', required: true) + zoitechat_gtk_deps += gtk_mac_dep + zoitechat_gtk_cflags += '-DHAVE_GTK_MAC' else zoitechat_gtk_sources += 'notifications/notification-freedesktop.c'