Updated the macOS bundle definition to match Enchant 2’s actual install layout by:

narrowing the core library glob to libenchant-2*.dylib,

bundling provider modules from lib/enchant-2 as a <binary>,

bundling Enchant config files from share/enchant as <data>.

Removed the stale Enchant provider globs that targeted older/nonexistent paths (lib/enchant/libenchant_*.dylib), which caused the CI bundling failure you reported.
This commit is contained in:
2026-02-18 15:33:04 -07:00
parent ca45939144
commit f6942c7f3c

View File

@@ -24,15 +24,19 @@
${prefix}/lib/zoitechat/plugins/*.so
</binary>
<!-- Enchant 2 runtime layout (Homebrew/MacPorts):
- core dylib in lib/
- provider modules in lib/enchant-2/ loaded via dlopen()
- config files in share/enchant/ -->
<binary>
${prefix:enchant}/lib/libenchant*.dylib
${prefix:enchant}/lib/libenchant-2*.dylib
</binary>
<binary>
${prefix:enchant}/lib/enchant/libenchant_*.dylib
</binary>
<binary>
${prefix:enchant}/lib/enchant-2/libenchant_*.dylib
${prefix:enchant}/lib/enchant-2
</binary>
<data>
${prefix:enchant}/share/enchant
</data>
<!-- GTK3 runtime modules: ${prefix}/lib/${gtkdir} -->
<binary>