Summary: | ebuild request for dev-java/offo-hyphenation (hyphenation patterns for dev-java/fop) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Tardon <dtardon> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Tardon
2007-05-13 15:04:11 UTC
(In reply to comment #0) > According to http://xmlgraphics.apache.org/fop/0.93/hyphenation.html, > hyphenation patterns are now standalone project, named OFFO > (http://offo.sourceforge.net/hyphenation/index.html). Below is listing of > ebuild I'm using to build fop with hyphenation. Please attach ebuilds in the future instead of inlining them. It includes offo-hyphenation > into SRC_URI for fop and links wanted hyphenation files into hyphen > subdirectory. To create specialized ebuild for offo (installing hyph. files > somewhere in /usr/share) may be better solution. Note that the hyph. files are > needed for build only. > Yeah one ebuild per upstream project so this should be a separate ebuild. Yeah should install it to /usr/share/offo-hyphenation and symlink it during fop build, based on useflag. In case of upgrade, add postinst elog that says to remerge fop to use them (or perhaps revbump fop and tie each fop revision to certain offo version?) Alternatively they don't need to be compiled into fop to be used, according to docs (but we will compile them that's sure): "Put the pattern source file(s) into a directory of your choice and configure FOP to look for custom patterns in this directory, by setting the <hyphenation-base> configuration option." The LICENSE field will be a bit funny, see http://offo.sourceforge.net/hyphenation/licenses.html - and I don't even think about possible filtering by LINGUAS :P Added dev-java/offo-hyphenation that installs the files in /usr/share/offo-hyphenation/hyph/ No filtering by LINGUAS, seems like overkill to me. Revbumped fop to 0.93-r1, adding "hyphenation" USE flag that pulls offo-hyphenation and installs the fop-hyph.jar (not installed without the flag as it's manifest-only). Should be fixed, thanks. |