The package mostly duplicates the contents of the official release, with a few additions and modifications. I tried to modify the existing files as little as possible.

configure.in and Makefile.in were modified to create a dynamic library alongside the static one and to accomodate a new target java.

aux/ directory contains some scripts which "configure" now needs. It look like carrying them around is a drawback of autoconf, and I could find no way to avoid it.

LibHSpellJ.h, LibHSpellJ.c and LibHSpellJ.java contain the new code.

HSpellWrapper.java contains a cleaned up wrapper class, but it is not strictly necessary and may rather serve as an example of calling the low-level LibHSpellJ class.

Please note that if you want to run autoconf, you will need to install autoconf-archive and libtool and run

aclocal -I /usr/share/autoconf-archive/ -I /usr/share/libtool/

before it.

Unfortunately, I'm not quite good at autotooling, so my Makefile.in additions are rather messy.

Building and installing

Unpack:

tar -zxvf hspellj-1.1.tar.gz
cd hspellj-1.1

Build:

./configure --enable-java-wrapper
make java

Install:

sudo make install

License

This software is licensed under the GNU General Public License (GPL). A special right is given to Nadav Har'El and Dan Kenigsberg to perform any action on my changes, including assuming ownership and licensing them under any terms they find appropriate.