Hi, I hope I am, as the developer of hyphenation, not biased on this topic. :-)
On Sat, Mar 02, 2013 at 07:57:26PM +0100, Sebastian Geerken wrote:
As for the way to inform the user, see attached patch, which will let "make install" (and friends) print a message. Comments?
Nice, but most users will get precompiled packages from their distributions.
How is the other work on the release going on? What is still missing?
I started a couple of times to add some lines to the man page that explain how to get and install the pattern files, but never came up with anything good. Should we copy the lines from your patch below?
How many people compiling dillo from the tarball are actually reading README and the man page?
At least the man page get's installed with most binary packages. I tried to include some info about the pattern files and how they can be downloaded - please give it a review.
"man dillo" shows In order to use the hyphenation feature, pattern files from CTAN need to be installed to ${prefix}/lib/dillo/hyphenation/. This can be done with the script install-hyphenation. Call it with ISO-639-1 language codes as arguments, or without arguments to get more help. "${prefix}" should be replaced here.
Also we would need to install the install-hyphenation script, so that it becomes part of binary packages.
There would also some changes neccessary, since the script searches "Makefile". This is an aspect I have not yet thought about: whether the script is part of the installation process (as now) or the installation itself (as you suggest).
If we do that it would have to be renamed to dillo-install-hyphenation or something like that. Does this sound ok?
I'd leave the question, how binary packages are handled, to the maintainers of the binary packages, since they know best how to handle this. (E. g., Debian provides packages texlive-lang-... for each language.) Perhaps package maintainers may comment on this. OTOH, if someone installs dillo from the tarball, and does not notice that she should download pattern files. Since hyphenation is inactive, when there is no pattern file installed, this feature will be invisible. That's why I thought to put it into the Makefile, so he sees the notice when he calls "make install". That's what I meant with my question. Sebastian