[geany/geany-osx] 6562e6: Fix libenchant usage inside bundle

Jiří Techet git-noreply at xxxxx
Wed Apr 26 19:10:29 UTC 2017


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Wed, 26 Apr 2017 19:10:29 UTC
Commit:      6562e6eae20afe556af1674da2c5c048ff80b936
             https://github.com/geany/geany-osx/commit/6562e6eae20afe556af1674da2c5c048ff80b936

Log Message:
-----------
Fix libenchant usage inside bundle

First, we need to add all the enchant modules to the bundle.

Second, we need to define ENCHANT_MODULE_PATH environment
vairable (OS X version of enchant is already patched for this) so the
modules are correctly found.


Modified Paths:
--------------
    geany.bundle
    launcher-gtk3.sh
    launcher.sh

Modified: geany.bundle
5 lines changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -97,6 +97,11 @@
     ${prefix}/libexec/gnome-pty-helper
   </binary>
 
+  <!-- libenchant modules needed by the spellchecker plugin -->
+  <binary>
+    ${prefix}/lib/enchant/*.so
+  </binary>
+
   <!-- Geany's plugins -->
   <binary>
     ${prefix}/lib/geany/*.so


Modified: launcher-gtk3.sh
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -196,5 +196,6 @@ if /bin/expr "x$1" : '^x-psn_' > /dev/null; then
 fi
 
 export GEANY_PLUGINS_SHARE_PATH="$bundle_res/share/geany-plugins"
+export ENCHANT_MODULE_PATH="$bundle_lib/enchant"
 
 $EXEC "$bundle_contents/MacOS/$name-bin" "$@" $EXTRA_ARGS


Modified: launcher.sh
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -196,5 +196,6 @@ if /bin/expr "x$1" : '^x-psn_' > /dev/null; then
 fi
 
 export GEANY_PLUGINS_SHARE_PATH="$bundle_res/share/geany-plugins"
+export ENCHANT_MODULE_PATH="$bundle_lib/enchant"
 
 $EXEC "$bundle_contents/MacOS/$name-bin" "$@" $EXTRA_ARGS



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list