[jhbuild/wip/swilmet/enchant-2] core-deps-3.28: add enchant-2



commit 8ff50f30720e13ffc075ec96189ea3c6452dfb8a
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Nov 29 17:09:50 2017 +0100

    core-deps-3.28: add enchant-2
    
    gspell will depend on it, and Enchant 2 is not yet packaged in all
    distros, so it cannot be a sysdep like for Enchant 1. In the future when
    all major distros will ship Enchant 2, then I think enchant-2 can become
    a sysdep in the jhbuild moduleset.
    
    --with-hunspell-dir is required because otherwise Enchant doesn't find
    the hunspell dictionaries.
    
    The hunspell backend is preferred, aspell can be considered deprecated.
    gspell doesn't work well with aspell (some unit tests fail). When both
    hunspell and aspell are installed, Enchant prefers hunspell by default.
    I think all major distros use hunspell by default, see those old
    projects:
    https://fedoraproject.org/wiki/Releases/FeatureDictionary
    https://wiki.ubuntu.com/ConsolidateSpellingLibs

 modulesets/gnome-suites-core-deps-3.28.modules |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/modulesets/gnome-suites-core-deps-3.28.modules b/modulesets/gnome-suites-core-deps-3.28.modules
index 676fe47..32ff877 100644
--- a/modulesets/gnome-suites-core-deps-3.28.modules
+++ b/modulesets/gnome-suites-core-deps-3.28.modules
@@ -295,6 +295,19 @@ the module and we will just change it to use a tarball anyway.
     </dependencies>
   </autotools>
 
+  <autotools id="enchant-2"
+             autogen-sh="configure"
+             autogenargs="--with-hunspell --with-hunspell-dir=/usr/share/myspell">
+    <branch repo="github-tar"
+            version="2.1.3"
+            module="AbiWord/enchant/releases/download/v${version}/enchant-${version}.tar.gz"
+            hash="sha256:086f37cdecd42eacd0e1dc291f5410d9ca2c5ed2cd9cd9367729e3d2d18a8550">
+    </branch>
+    <dependencies>
+      <dep package="glib"/>
+    </dependencies>
+  </autotools>
+
   <cmake id="evolution-data-server"
          cmakeargs="-DENABLE_INTROSPECTION=ON -DENABLE_VALA_BINDINGS=ON -DENABLE_UOA=OFF 
-DENABLE_GOOGLE_AUTH=OFF">
     <if condition-set="freebsd">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]