Hi, Bringing to devel some things recently shown in aspell-user to give them the correct audience,
This thread started as http://lists.gnu.org/archive/html/aspell-user/2014-08/msg00000.html More info available from https://bugs.debian.org/612051 A brief summary follows, starting from http://lists.gnu.org/archive/html/aspell-user/2014-09/msg00000.html When aspell is compiled with diferent values for 'data-dir' and 'lib-dir', filters are not found and errors happen like WARNING: Unable to enter Nroff mode: Unknown mode: "nroff". Seems that aspell installs ".amf" files under 'lib-dir' and "*-filter.info" under 'data-dir', making aspell fail when looks for tex-filter.info under 'dict-dir' if both are different ('lib-dir=/usr/lib/aspell' and 'data-dir=/usr/share/aspell' here). I have been playing with this when trying to make Debian use different values for both and finally used attached patch, which, once propagated to the autotools buildchain, tries to install all filter related things under 'lib-dir'. This seems to make aspell work again in such cases. There are surely other ways to handle this, but here goes info about mine. Regards, -- Agustin
Author: Agustin Martin Domingo <agmar...@debian.org> Description: Make sure all filters stuff is installed together, allowing separate datadir and libdir. Bug-Debian: http://bugs.debian.org/612051 Applied-Upstream: Reported Index: aspell/Makefile.am =================================================================== --- aspell.orig/Makefile.am 2014-10-06 12:22:21.233616292 +0200 +++ aspell/Makefile.am 2014-10-06 12:22:21.225616369 +0200 @@ -258,8 +258,8 @@ endif # COMPILE_IN_FILTERS noinst_DATA += $(static_optfiles) gen/filter.pot -opt_DATA = $(dynamic_optfiles) -filter_DATA = $(fltfiles) +# opt_DATA = $(dynamic_optfiles) +filter_DATA = $(fltfiles) $(dynamic_optfiles) # settings.h added as a dependency so it will get recreated if # the COMPILE_IN_FILTERS option changes
_______________________________________________ Aspell-devel mailing list Aspell-devel@gnu.org https://lists.gnu.org/mailman/listinfo/aspell-devel