osx: Use applespell enchant backend

And fix enchant loading backends in the bundle
This commit is contained in:
TingPing 2014-05-27 23:50:46 -04:00
parent f92e72a92c
commit a800765b70
2 changed files with 4 additions and 3 deletions

View File

@ -23,9 +23,9 @@
<binary> <binary>
${prefix}/lib/libenchant.dylib ${prefix}/lib/libenchant.dylib
</binary> </binary>
<data> <binary>
${prefix}/share/myspell/dicts ${prefix}/lib/enchant/libenchant_applespell.so
</data> </binary>
<binary dest="${bundle}/Contents/MacOS"> <binary dest="${bundle}/Contents/MacOS">
${prefix}/bin/python ${prefix}/bin/python

View File

@ -22,6 +22,7 @@ bundle_bin="$bundle_res"/bin
bundle_data="$bundle_res"/share bundle_data="$bundle_res"/share
bundle_etc="$bundle_res"/etc bundle_etc="$bundle_res"/etc
export PREFIX="$bundle_res"
export DYLD_LIBRARY_PATH="$bundle_lib" export DYLD_LIBRARY_PATH="$bundle_lib"
export XDG_CONFIG_DIRS="$bundle_etc"/xdg export XDG_CONFIG_DIRS="$bundle_etc"/xdg
export XDG_DATA_DIRS="$bundle_data" export XDG_DATA_DIRS="$bundle_data"