Commit ddeba610 authored by Sebastien Robin's avatar Sebastien Robin

add english dictionary for aspell and improve aspell installation

Like this testSpellChecking will stop using the aspell coming from
operating system and wich does not always comes with appropriate
dictionaries
parent 1207e6d6
[buildout] [buildout]
parts = parts =
aspell aspell
aspell-en-dictonary
extends = extends =
../ncurses/buildout.cfg ../ncurses/buildout.cfg
[aspell-common-dictionary]
location = ${buildout:parts-directory}/${:_buildout_section_name_}
recipe = plone.recipe.command
command = mkdir -p ${:location}
update-command = ${:command}
stop-on-error = yes
[aspell] [aspell]
recipe = hexagonit.recipe.cmmi recipe = hexagonit.recipe.cmmi
url = http://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz url = http://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz
md5sum = e66a9c9af6a60dc46134fdacf6ce97d7 md5sum = e66a9c9af6a60dc46134fdacf6ce97d7
[aspell-en-dictionary]
recipe = hexagonit.recipe.cmmi
url = ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-7.1-0.tar.bz2
md5sum = beba5e8f3afd3ed1644653bb685b2dfb
configure-command = ./configure --vars ASPELL=${aspell:location}/bin/aspell PREZIP=${aspell:location}/bin/prezip-bin
\ No newline at end of file
...@@ -175,6 +175,7 @@ link-binary = ...@@ -175,6 +175,7 @@ link-binary =
{{ poppler_location }}/bin/pdftotext {{ poppler_location }}/bin/pdftotext
{{ poppler_location }}/bin/pdftohtml {{ poppler_location }}/bin/pdftohtml
{{ dmtx_utils_location }}/bin/dmtxwrite {{ dmtx_utils_location }}/bin/dmtxwrite
{{ aspell_location }}/bin/aspell
[certificate-authority] [certificate-authority]
recipe = slapos.cookbook:certificate_authority recipe = slapos.cookbook:certificate_authority
openssl-binary = {{ openssl_location }}/bin/openssl openssl-binary = {{ openssl_location }}/bin/openssl
......
...@@ -43,6 +43,7 @@ pdftk = {{ pdftk_location }} ...@@ -43,6 +43,7 @@ pdftk = {{ pdftk_location }}
sed = {{ sed_location }} sed = {{ sed_location }}
tesseract = {{ tesseract_location }} tesseract = {{ tesseract_location }}
w3m = {{ w3m_location }} w3m = {{ w3m_location }}
aspell = {{ aspell_location }}
poppler = {{ poppler_location }} poppler = {{ poppler_location }}
dmtx-utils = {{ dmtx_utils_location }} dmtx-utils = {{ dmtx_utils_location }}
buildout-bin-directory = {{ buildout_bin_directory }} buildout-bin-directory = {{ buildout_bin_directory }}
......
...@@ -91,9 +91,10 @@ extra-context = ...@@ -91,9 +91,10 @@ extra-context =
[template-zope] [template-zope]
< = template-jinja2-base < = template-jinja2-base
filename = instance-zope.cfg filename = instance-zope.cfg
md5sum = 9d88c87a926fc4c59494be508ad78581 md5sum = e00efeefd2d1c09374b169c9d218e137
extra-context = extra-context =
key apache_location apache:location key apache_location apache:location
key aspell_location aspell:location
key coreutils_location coreutils:location key coreutils_location coreutils:location
key dcron_location dcron:location key dcron_location dcron:location
key dmtx_utils_location dmtx-utils:location key dmtx_utils_location dmtx-utils:location
...@@ -143,9 +144,10 @@ mode = 640 ...@@ -143,9 +144,10 @@ mode = 640
# XXX: "template.cfg" is hardcoded in instanciation recipe # XXX: "template.cfg" is hardcoded in instanciation recipe
filename = template.cfg filename = template.cfg
template = ${:_profile_base_location_}/instance.cfg.in template = ${:_profile_base_location_}/instance.cfg.in
md5sum = 83914eb5e8be6303e06a7781922cd2a7 md5sum = 9cc3d209a4848a201fd8c29a366de643
extra-context = extra-context =
key apache_location apache:location key apache_location apache:location
key aspell_location aspell:location
key buildout_bin_directory buildout:bin-directory key buildout_bin_directory buildout:bin-directory
key coreutils_location coreutils:location key coreutils_location coreutils:location
key dcron_location dcron:location key dcron_location dcron:location
......
...@@ -88,6 +88,7 @@ parts = ...@@ -88,6 +88,7 @@ parts =
itools-build itools-build
rdiff-backup rdiff-backup
aspell aspell
aspell-en-dictionary
apache apache
apache-antiloris apache-antiloris
file file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment