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

Re: FOP Hyphenation patterns in Debian?

Hash: SHA256

On 2010-11-29 14:38, Joachim Breitner wrote:
> Hi FOP maintainers,


Moving this to debian-java@l.d.o for more exposure. I have CC'ed you
because I was not sure if you were reading this list.

To the d-j people; the original message is:
<1291037922.2331.17.camel@kirk> (quoted entirely with my reply inline)

> FOP does not ship hyphenation patterns due to perceived license problems
> by upstream¹. On the other hand, Debian ships at least some hyphenation
> patterns in the texlive-base package, so it seems that we do not see a
> problem here.

Hmm; I am not sure what to think here. texlive-base is mostly like under
a different license, so it is not unthinking able that there will be a
problem with combing Apache Software with these files. Particularly I do
not like the wording:

Many of the hyphenation files distributed with TeX and its offspring are
licenced under the LaTeX Project Public License (LPPL), which prevents
them from being distributed with Apache software.

That being said I have not actually compared the two licensed to each
other (and I admit I would prefer not having to :P ).

Though the actual reasons given by FOP upstream suggests that part of
this are for political reasons (e.g. the file name restrictions), which
suggests we may be able to ship hyphenation pattern files that do not
violate DFSG...

> If that is the case we should ship a fop package with hyphenation
> patterns included. The question is how to generate and ship them. Here
> is the workflow: The sources seem to be included in the texlive source,
> in the CTAN hyph-utf8 package. Their SVN includes a conversion script to
> turn them into XML files². These XML files have to be compiled by FOP³.
> Now the texlive-base-2009 package does not include the necessary files
> (e.g. patterns/txt/hyph-af.lic.txt) to generate the XML files, so they
> can not easily built within the texlive package. You could either create
> a tarball from the SVN repository of the hyph-utf8 package or fetch the
> generated XML files in the tarball
> http://sourceforge.net/projects/offo/files/offo-hyphenation/2.0/offo-hyphenation_v2.0.zip/download
> but that would go a bit against Debians policy of building anything from
> the most primitive source available (although texlive-base-2009’s source
> also seems to contain generated patterns).

Personally I would probably prefer B-Ding on the texlive-source and
generate them during build from the install texlive-source if possible.
Though I have not looked at the texlive-source package, nor how to do
this in FOP.

> If you want to build them together with FOP, the new multi-tarball
> feature of dpkg might be handy.
> Thanks,
> Joachim
> ¹ http://xmlgraphics.apache.org/fop/1.0/hyphenation.html#license-issues
> Many of the hyphenation files distributed with TeX and its offspring are
> licenced under the LaTeX Project Public License (LPPL), which prevents
> them from being distributed with Apache software. The LPPL puts
> restrictions on file names in redistributed derived works which we feel
> can't guarantee. Some hyphenation pattern files have other or additional
> restrictions, for example against use for commercial purposes. 
> ² http://tug.org/svn/texhyphen/trunk/collaboration/source/offo/
> ³ http://offo.sourceforge.net/hyphenation/installation.html#Installation+of+FOP+XML+Hyphenation+Patterns
> __
> This is the maintainer address of Debian's Java team
> <http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please use
> debian-java@lists.debian.org for discussions and questions.

Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


Reply to: