Differences between revisions 10 and 11
Revision 10 as of 2011-06-06 01:50:49
Size: 4313
Editor: ?TiagoSaboga
Comment:
Revision 11 as of 2011-06-06 01:52:02
Size: 4302
Editor: ?TiagoSaboga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 111: Line 111:
BASE64 deprecation warnings: there is proposed patch at [[https://github.com/lurdan/omegat-debian-tmp/blob/master/debian/patches/08-replace-BASE64Encoder.patch|github]], but there are license issues (incompatibility between apache license and GPLv2. although it should be possible to license OmegaT in debian under GPLv3). BASE64 deprecation warnings: there is proposed patch at https://github.com/lurdan/omegat-debian-tmp/blob/master/debian/patches/08-replace-BASE64Encoder.patch, but there are license issues (incompatibility between apache license and GPLv2. although it should be possible to license OmegaT in debian under GPLv3).

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 drafted at OmegatLongDescription.

Repository

Debian packaging is available on javapkg svn, but is being moved to git. Available for now at https://github.com/tiagosab/omegat-debian

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:

  1. eucalyptus-java-common: /usr/share/eucalyptus/activation.jar
  2. glassfish-activation: /usr/share/java/glassfish-activation.jar
  3. jemboss: /usr/share/EMBOSS/jemboss/lib/activation.jar
  4. libgnujaf-java: /usr/share/java/activation.jar
  5. libjetty-extra-java: /usr/share/jetty/lib/naming/activation.jar
  6. 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
    1. netbeans-ide: /usr/lib/netbeans/java1/modules/ext/jaxws21/api/jaxb-api.jar
  • jaxb-impl.jar
    1. 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

  1. 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:

  • 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

*Solved* - now generating with xjc; see patch 12.

Other issues

BASE64 deprecation warnings: there is proposed patch at https://github.com/lurdan/omegat-debian-tmp/blob/master/debian/patches/08-replace-BASE64Encoder.patch, 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.