summary refs log tree commit diff stats
path: root/osx
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-05-27 23:50:46 -0400
committerTingPing <tingping@tingping.se>2014-05-27 23:50:46 -0400
commita800765b7031ca383474b3eba045f8ee6f315d21 (patch)
tree5bdd8f45c0eae2e4b49d9c7e548899969d68dbac /osx
parentf92e72a92cc3c90b298489756b69986322b803c6 (diff)
osx: Use applespell enchant backend
And fix enchant loading backends in the bundle
Diffstat (limited to 'osx')
-rw-r--r--osx/hexchat.bundle6
-rwxr-xr-xosx/launcher.sh1
2 files changed, 4 insertions, 3 deletions
diff --git a/osx/hexchat.bundle b/osx/hexchat.bundle
index 9501ab17..9490926f 100644
--- a/osx/hexchat.bundle
+++ b/osx/hexchat.bundle
@@ -23,9 +23,9 @@
   <binary>
     ${prefix}/lib/libenchant.dylib
   </binary>
-  <data>
-    ${prefix}/share/myspell/dicts
-  </data>
+  <binary>
+    ${prefix}/lib/enchant/libenchant_applespell.so
+  </binary>
 
   <binary dest="${bundle}/Contents/MacOS">
     ${prefix}/bin/python
diff --git a/osx/launcher.sh b/osx/launcher.sh
index 61fb0276..806fbb94 100755
--- a/osx/launcher.sh
+++ b/osx/launcher.sh
@@ -22,6 +22,7 @@ bundle_bin="$bundle_res"/bin
 bundle_data="$bundle_res"/share
 bundle_etc="$bundle_res"/etc
 
+export PREFIX="$bundle_res"
 export DYLD_LIBRARY_PATH="$bundle_lib"
 export XDG_CONFIG_DIRS="$bundle_etc"/xdg
 export XDG_DATA_DIRS="$bundle_data"