Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91559 - package request: OmegaT, a GPL Java Computer Assisted Translation tool
Summary: package request: OmegaT, a GPL Java Computer Assisted Translation tool
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: MATSUU Takuto (RETIRED)
URL: http://www.omegat.org/omegat/download...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-05-05 05:11 UTC by Diego Chantrain
Modified: 2012-10-07 15:49 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
omegat-1.4.5.04.ebuild (omegat-1.4.5.04.ebuild,1.79 KB, text/plain)
2005-11-21 13:58 UTC, Magnus Lind
Details
Make OmegaT look for help docs in "/usr/share/doc ... " instead of user's home directory. (1.4.5.04-helppath.patch,869 bytes, patch)
2005-11-21 14:00 UTC, Magnus Lind
Details | Diff
omegat-1.4.5.04.ebuild (omegat-1.4.5.04.ebuild,1.79 KB, text/plain)
2005-11-21 14:31 UTC, Magnus Lind
Details
updated omegat-1.4.5.04.ebuild (omegat-1.4.5.04.ebuild,2.01 KB, text/plain)
2005-11-22 04:46 UTC, Magnus Lind
Details
omegat-1.4.5.04.ebuild (omegat-1.4.5.04.ebuild,2.00 KB, text/plain)
2005-11-22 07:25 UTC, Magnus Lind
Details
omegat-1.4.5.04.ebuild (omegat-1.4.5.04.ebuild,1.59 KB, text/plain)
2005-11-24 06:53 UTC, Magnus Lind
Details
omegat-properties-import-1.1.ebuild (omegat-properties-import-1.1.ebuild,1.15 KB, text/plain)
2005-11-24 06:55 UTC, Magnus Lind
Details
omegat-properties-import-1.1.ebuild, final bid (omegat-properties-import-1.1.ebuild,1.13 KB, text/plain)
2005-11-25 11:11 UTC, Magnus Lind
Details
omegat-1.6.0_rc12.ebuild (omegat-1.6.0_rc12.ebuild,1.67 KB, text/plain)
2006-10-28 01:58 UTC, MATSUI Tetsushi
Details
1.6.0-helppath.patch (1.6.0-helppath.patch,1018 bytes, patch)
2006-10-28 02:01 UTC, MATSUI Tetsushi
Details | Diff
omegat-1.6.0_p01.ebuild (omegat-1.6.0_p01.ebuild,1.71 KB, text/plain)
2006-11-08 02:12 UTC, MATSUI Tetsushi
Details
1.6.0_p01-helppath.patch (1.6.0_p01-helppath.patch,1000 bytes, patch)
2006-11-08 02:14 UTC, MATSUI Tetsushi
Details | Diff
1.6.0_p01-platforms.patch (1.6.0_p01-platforms.patch,1.22 KB, patch)
2006-11-08 02:19 UTC, MATSUI Tetsushi
Details | Diff
omegat-1.6.1.ebuild (omegat-1.6.1.ebuild,1.64 KB, text/plain)
2006-11-20 00:51 UTC, MATSUI Tetsushi
Details
omegat-1.6.1_p02.ebuild (omegat-1.6.1_p02.ebuild,1.68 KB, text/plain)
2006-12-30 08:57 UTC, MATSUI Tetsushi
Details
1.6.1_p02-helppath.patch (1.6.1_p02-helppath.patch,2.43 KB, patch)
2006-12-30 09:05 UTC, MATSUI Tetsushi
Details | Diff
omegat-2.6.1_p01_beta.ebuild (omegat-2.6.1_p01_beta.ebuild,2.02 KB, text/plain)
2012-10-07 11:39 UTC, gtlinuxman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Chantrain 2005-05-05 05:11:26 UTC
OmegaT is a freeware translation memory program that doesn't run on Microsoft Word. It seamlessly imports and exports plaintext, OpenOffice Writer documents and HTML.OmegaT is a no-nonsense tool that increases productivity and consistency without taking creativity out of a translator's hands. 

As far as I can tell, aside from those aimed at translating programs, there are no general-purpose translation applications in portage. OmegaT is a tool aimed at professional translators.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Magnus Lind 2005-11-21 13:58:05 UTC
Created attachment 73327 [details]
omegat-1.4.5.04.ebuild
Comment 2 Magnus Lind 2005-11-21 14:00:04 UTC
Created attachment 73328 [details, diff]
Make OmegaT look for help docs in "/usr/share/doc ... " instead of user's home directory.
Comment 3 Magnus Lind 2005-11-21 14:31:09 UTC
Created attachment 73329 [details]
omegat-1.4.5.04.ebuild

Tidied up the ebuild a bit.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2005-11-21 14:45:37 UTC
Comments:
1. Your DEPENDS are not sufficient. You need for example ant-core and unzip. You
should also check that the OmegaT does not include packed jars.
http://gentooexperimental.org/svn/java/axxo-overlay/README/docs/java-devel.html

2. src_compile() {
	cd ${WORKDIR}
S="${WORKDIR}" and you don't need to cd.

3. 	mv dist/OmegaT.jar dist/omegat.jar
	insinto ${MY_INSTALL_DIR}
	doins -r dist/*
jars should be installed using java-pkg_dojar

4. 	# Icons and stuff
	insinto ${MY_INSTALL_DIR}/share
	doins images/*
There are functions in eutils.eclass for installing icons (doicon) and making
.desktop entries (make_desktop_entry)

Thanks for the work so far. #gentoo-java@freenode is available for you if you
want to talk to java maintainers/have questions.
Comment 5 Magnus Lind 2005-11-22 04:46:16 UTC
Created attachment 73366 [details]
updated omegat-1.4.5.04.ebuild

Thanks for the pointers. Fixed the ebuild as per the recommendations, and some
other stuff as well.
Comment 6 Magnus Lind 2005-11-22 07:25:02 UTC
Created attachment 73375 [details]
omegat-1.4.5.04.ebuild

Removed sed as a dependency - it shouldn't be there because it's part of
"system", right?
Comment 7 Magnus Lind 2005-11-24 06:53:43 UTC
Created attachment 73497 [details]
omegat-1.4.5.04.ebuild

After some, perhaps, excessive posting - this is as near "done" I can get on my
own. I've refined and simplified the ebuild as much as possible.

The addon "properties-import" has been moved to an ebuild of its own as it's
intended to be used standalone, see separate attachment.
Comment 8 Magnus Lind 2005-11-24 06:55:27 UTC
Created attachment 73498 [details]
omegat-properties-import-1.1.ebuild
Comment 9 Magnus Lind 2005-11-25 11:11:28 UTC
Created attachment 73601 [details]
omegat-properties-import-1.1.ebuild, final bid

Removed unneded dependency. 

Won't touch any of these files any more until I hear from a developer.
Comment 10 MATSUI Tetsushi 2006-10-28 01:58:47 UTC
Created attachment 100642 [details]
omegat-1.6.0_rc12.ebuild

It doesn't seem that developers recommend to use the 1.4.5 series.
This is a modification of Magnus Lind's 1.4.5.04 ebuild for
the latest 1.6 release candidate.
Comment 11 MATSUI Tetsushi 2006-10-28 02:01:29 UTC
Created attachment 100643 [details, diff]
1.6.0-helppath.patch

A patch needed for 1.6.0_rc12, similar to the one for 1.4.5.04.
Comment 12 MATSUI Tetsushi 2006-11-08 02:10:03 UTC
Finally, OmegaT 1.6.0 has been released.
Please consider to put it in the portage tree.

Here are my ebuild file and patches.
Comment 13 MATSUI Tetsushi 2006-11-08 02:12:34 UTC
Created attachment 101450 [details]
omegat-1.6.0_p01.ebuild

It's almost same as the previous ebuild but one more patching is needed.
Comment 14 MATSUI Tetsushi 2006-11-08 02:14:20 UTC
Created attachment 101451 [details, diff]
1.6.0_p01-helppath.patch

It's just like 1.6.0-helppath.patch, but line ending might have been changed.
Comment 15 MATSUI Tetsushi 2006-11-08 02:19:51 UTC
Created attachment 101453 [details, diff]
1.6.0_p01-platforms.patch

This patch is necessary for platforms.* properties, which seem to have proper definitions.  They are referred by two nbproject/build-impl.xml files, so I guess they are defined on netbeans environment.

I just set them to /usr/bin/java, etc.  It is just a hack, but I don't know other ways.
Comment 16 MATSUI Tetsushi 2006-11-20 00:51:16 UTC
Created attachment 102379 [details]
omegat-1.6.1.ebuild

The version 1.6.1 has been released a few days ago.

The ebuild is almost same as the previous ones.
1.6.0_p01-helppath.patch is required but this time no platforms patch.
Comment 17 MATSUI Tetsushi 2006-12-30 08:57:54 UTC
Created attachment 104994 [details]
omegat-1.6.1_p02.ebuild

This ebuild is for OmegaT 1.6.1 update 2.
Comment 18 MATSUI Tetsushi 2006-12-30 09:05:51 UTC
Created attachment 104995 [details, diff]
1.6.1_p02-helppath.patch

A patch needed for 1.6.1_p02 ebuild.

As the part of code the previous patches were applied is changed,
the patch is updated.
Comment 19 Gunnlaugur Thor Briem 2007-01-20 21:29:04 UTC
Is there still some reason not to accept this into portage?
Comment 20 Petteri Räty (RETIRED) gentoo-dev 2007-01-20 21:37:57 UTC
(In reply to comment #19)
> Is there still some reason not to accept this into portage?
> 

We have near 500 java packages in the tree and only a few of use developers. Every new package makes the situation even more hopeless.
Comment 21 MATSUI Tetsushi 2007-01-21 02:28:24 UTC
This is a tool for translation just using java as its implementation language,
and it won't be in a dev-java category, maybe should be in app-misc.
So I don't think it should necessarily be maintained by java team,
but don't know who else appropriate, either.
If java team is too busy, please recommend some other developers who the team thinks appropriate.
Comment 22 Petteri Räty (RETIRED) gentoo-dev 2007-01-21 10:33:49 UTC
(In reply to comment #21)
> This is a tool for translation just using java as its implementation language,
> and it won't be in a dev-java category, maybe should be in app-misc.
> So I don't think it should necessarily be maintained by java team,
>

The thing is there aren't people many people outside the java team with enough knowledge to write java ebuilds. The category does not have a direct relation to the people who maintain the package.
Comment 23 MATSUU Takuto (RETIRED) gentoo-dev 2007-04-29 05:18:36 UTC
in cvs.
Comment 24 gtlinuxman 2012-10-07 11:39:51 UTC
Created attachment 325896 [details]
omegat-2.6.1_p01_beta.ebuild