From e72c0b77ec56d5000719ddb362dfa0484ea5f795 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Mon, 17 Aug 2026 10:21:58 -0400 Subject: build: Fix Python applet bindings under Meson Meson introspection step stripped the MatePanelApplet prefix, so Python applets failed to load with a missing factory_main attribute. This only affected mate-panel built with meson, autotools worked fine. This fix matches the symbol/identifier prefixes with autotools so the introspection data is generated correctly. --- libmate-panel-applet/meson.build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libmate-panel-applet/meson.build b/libmate-panel-applet/meson.build index 4eb4fe27..d32712e4 100644 --- a/libmate-panel-applet/meson.build +++ b/libmate-panel-applet/meson.build @@ -131,14 +131,13 @@ if enable_introspection.allowed() sources: introspection_sources + built_introspection_sources, nsversion: mate_panel_gir_version, namespace: mate_panel_gir_ns, - symbol_prefix: 'mate_panel_applet', - identifier_prefix: 'MatePanelApplet', + symbol_prefix: 'mate_panel', + identifier_prefix: 'MatePanel', export_packages: 'libmatepanelapplet-@0@'.format(mate_panel_api_version), includes: ['GObject-2.0', 'Gtk-3.0', 'Gio-2.0'], install: true, extra_args: [ '--warn-all', - '--strip-prefix=MatePanel', '--add-include-path=@0@'.format(meson.current_source_dir()), ], ) -- cgit v1.2.1