New version of OmegaT
OmegaT is a computer-assisted translation tool. The debian package is badly outdated, as there are issues with new libraries needed from OmegaT v2 onwards.
This page describes the needed libraries and current status of packaging (targeting 2.2.3 beta 04).
The new version of the long description (for apt package managers) is being draft at OmegatLongDescription.
Repository
Debian packaging is available on javapkg svn, but is being moved to git.
Libraries
JAXB
jaxb libraries are available in debian from netbeans package. Another implementation is available from apache jaxme (libjaxme-java). OmegaT builds and runs with it, but license issues must be cleared and more extensive testing is needed.
- activation.jar
Available in debian from several packages:
- eucalyptus-java-common: /usr/share/eucalyptus/activation.jar
- glassfish-activation: /usr/share/java/glassfish-activation.jar
- jemboss: /usr/share/EMBOSS/jemboss/lib/activation.jar
- libgnujaf-java: /usr/share/java/activation.jar
- libjetty-extra-java: /usr/share/jetty/lib/naming/activation.jar
- netbeans-ide: /usr/lib/netbeans/java1/modules/ext/jaxws21/activation.jar
Are they equivalent? The libgnujaf-java seems to be the better candidate.
- jaxb-api.jar
- netbeans-ide: /usr/lib/netbeans/java1/modules/ext/jaxws21/api/jaxb-api.jar
- jaxb-impl.jar
- netbeans-ide: /usr/lib/netbeans/java1/modules/ext/jaxws21/jaxb-impl.jar
- jsr173_1.0_api.jar
This library is needed by jaxb, and not used directly by OmegaT
- netbeans-ide: /usr/lib/netbeans/soa1/modules/ext/xmlbeans-2.1.0/jsr173_1.0_api.jar
Other libraries
- swing-worker-1.2.jar
Not needed anymore in java 6 and later. Patch already applied in debian repo.
- jmyspell-core-1.0.0-beta-2.jar
Not available on debian. Current workaround is eliminate any references to it. Better yet would be dinamically loading it if available.
- jna.jar
Available from libjna-java
- swing-layout-1.0.jar
Available from libswing-layout-java
- htmlparser.jar
Available from libhtmlparser-java
- vldocking_2.1.4.jar
Available from libvldocking-java
- MRJAdapter.jar
MACOS specific; this is just being removed from upstream sources
License
- File src/schemas/srx20.xsd is © LISA 2006, All rights reserved.
See http://www.lisa.org/fileadmin/standards/srx20.html
As of 2011-06-03, http://www.lisa.org shows the following text:
- "As of 2011 February 28, the Localization Industry Standards Association (LISA) was declared insolvent. The results of the Extraordinary General Assembly meeting and ballot of 2011 April 21 LISA has formallized the dissolution of the association and the transfer of the LISA Standards to the public domain.
The company Société fiduciaire Zemp & Associés, SàrL in Geneva is designated as the liquidator of the association’s assets."
Albeit google thinks server has been compromised, several blogs seem to confirmate:
http://www.l10n411.com/2011/03/of-lisas-insolvency-and-other-events.html
http://pangeanic.wordpress.com/2011/03/01/lisa-closes-operations/
- src/gen
These files can be regenerated with the xjc ant task. Just ensure that openjdk handles it fine. They come from the lisa file above, however.
- Problem: /build.xml:281: taskdef class com.sun.tools.xjc.XJCTask cannot be found
using the classloader ?AntClassLoader[]
Trying to build generate with apache XJCTask:
- build.xml:322: /usr/local/src/tiago/debian-packages/omegat/git-svn/src/schemas/srx20.xsd: Missing group particle for type = null
Other issues
BASE64 deprecation warnings: there is proposed patch at github, but there are license issues (incompatibility between apache license and GPLv2. although it should be possible to license OmegaT in debian under GPLv3).
debian/copyright must be updated.